MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
MAKLogger::DtLgrDataOperations Class Reference
+ Collaboration diagram for MAKLogger::DtLgrDataOperations:

Public Member Functions

 DtLgrDataOperations (DtLgrSystemDriver *myOptionalDriver, const DtString &myOperationName, int myPacketOperations)
 Construct the data operations object. More...
 
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. More...
 
bool mergeData (DtMessageState &state)
 Merge Data from input and secondary input into output, using the settings, secondary settings. More...
 
bool createStateTransition (const DtAbsoluteTime &initialStateTime)
 Create a state transition from the initialStateTime to the settings time. More...
 
bool skipToTime ()
 Skip the input to the given time. More...
 
bool createEmptyState ()
 Create an empty state in the output. More...
 
bool createStateAtTime ()
 Adds checkpoint to output based on input. More...
 
DtMessageStatecreateState ()
 Attempt to create a state, this requires the optional driver. More...
 
bool updateOperation (int percent)
 Update the current operation. More...
 

Public Attributes

DtLgrFileInputmyInput
 
DtLgrFileInputmySecondaryInput
 
DtMessageOutputmyOutput
 
DtCopyDataSettings mySettings
 
DtCopyDataSettings mySecondarySettings
 
DtString myOperationName
 
int myPacketOperationCount
 
DtLgrSystemDrivermyOptionalDriver
 

Constructor & Destructor Documentation

MAKLogger::DtLgrDataOperations::DtLgrDataOperations ( DtLgrSystemDriver myOptionalDriver,
const DtString myOperationName,
int  myPacketOperations 
)

Construct the data operations object.

Member Function Documentation

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.

bool MAKLogger::DtLgrDataOperations::createEmptyState ( )

Create an empty state in 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.

Exceptions
DtCorruptedStatewhen 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.

Returns
True if operation finished, false if operation is canceled.
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.

bool MAKLogger::DtLgrDataOperations::skipToTime ( )

Skip the input to the given time.

bool MAKLogger::DtLgrDataOperations::updateOperation ( int  percent)

Update the current operation.

Member Data Documentation

DtLgrFileInput* MAKLogger::DtLgrDataOperations::myInput
DtString MAKLogger::DtLgrDataOperations::myOperationName
DtLgrSystemDriver* MAKLogger::DtLgrDataOperations::myOptionalDriver
DtMessageOutput* MAKLogger::DtLgrDataOperations::myOutput
int MAKLogger::DtLgrDataOperations::myPacketOperationCount
DtLgrFileInput* MAKLogger::DtLgrDataOperations::mySecondaryInput
DtCopyDataSettings MAKLogger::DtLgrDataOperations::mySecondarySettings
DtCopyDataSettings MAKLogger::DtLgrDataOperations::mySettings

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)