SRGraphDynamicData Class Overview

Based upon SRGraphData this dynamic storage class uses a large memory array of values which may be filled at high speed by successive calls to the SetValue routine or read sequentially by calls to the GetValue member function. As data is placed into or taken from the data storage an index is incremented automatically to the next memory array location. The buffer itself may be cyclic, that is to say that when the end of the buffer is reached in reading or writing the index will automatically return to zero or it may also be made to grow automatically. The best speed for this class is attained when in cyclic mode or when memory is not allowed to grow automatically. The reason for this is the reallocation system which must allocate a completely new block of memory, copy the old data into the new block and delete the old block. For small blocks this wont present much of a problem but as memory sizes get larger the overhead increases exponentially.