Collaboration diagram for MAKLogger::DtLgrDataOperations:Public Member Functions | |
| DtLgrDataOperations (DtLgrSystemDriver *myOptionalDriver, const DtString &myOperationName, int myPacketOperations) | |
| Construct the data operations object. | |
| bool | copyData (DtMessageState *state=0) |
| Copy The packets from input to the output from the start time to the end time and offset each packet's time. | |
| bool | mergeData (DtMessageState &state) |
| Merge Data from input and secondary input into output, using the settings, secondary settings. | |
| bool | createStateTransition (const DtAbsoluteTime &initialStateTime) |
| Create a state transition from the initialStateTime to the settings time. | |
| bool | skipToTime () |
| Skip the input to the given time. | |
| bool | createEmptyState () |
| Create an empty state in the output. | |
| bool | createStateAtTime () |
| Adds checkpoint to output based on input. | |
| DtMessageState * | createState () |
| Attempt to create a state, this requires the optional driver. | |
| bool | updateOperation (int percent) |
| Update the current operation. | |
Public Attributes | |
| DtLgrFileInput * | myInput |
| DtLgrFileInput * | mySecondaryInput |
| DtMessageOutput * | myOutput |
| DtCopyDataSettings | mySettings |
| DtCopyDataSettings | mySecondarySettings |
| DtString | myOperationName |
| int | myPacketOperationCount |
| DtLgrSystemDriver * | myOptionalDriver |
| bool MAKLogger::DtLgrDataOperations::copyData | ( | DtMessageState * | state = 0 | ) |
Copy The packets from input to the output from the start time to the end time and offset each packet's time.
This copy simply copies each and every packet from the input (using the start and end times) to the output.
| DtMessageState* MAKLogger::DtLgrDataOperations::createState | ( | ) |
Attempt to create a state, this requires the optional driver.
If this is unavailable the function throws DtCorruptedState exception.
| DtCorruptedState | when no optional driver is provided. |
| bool MAKLogger::DtLgrDataOperations::createStateAtTime | ( | ) |
Adds checkpoint to output based on input.
If normal copying will create a checkpoint at the start time no checkpoint is created. If a checkpoint is created it's time is offset based on the settings.
| bool MAKLogger::DtLgrDataOperations::createStateTransition | ( | const DtAbsoluteTime & | initialStateTime | ) |
Create a state transition from the initialStateTime to the settings time.
This creates the necessary removals and updates to go from one time to another (as well as the necessary checkpoint).
| bool MAKLogger::DtLgrDataOperations::mergeData | ( | DtMessageState & | state | ) |
Merge Data from input and secondary input into output, using the settings, secondary settings.