![]() |
MAK Data Logger API Documentation for DIS
|
Checkpoint policy which checkpoints are set by count. More...
Inheritance diagram for MAKLogger::DtCheckpointByCount:
Collaboration diagram for MAKLogger::DtCheckpointByCount:Public Member Functions | |
| virtual | ~DtCheckpointByCount () |
| DTOR. More... | |
| virtual bool | timeForCheckpoint () const |
| Function called to check to see if it is time to create a checkpoint. More... | |
| virtual void | reset () |
| Function called if the checkpoint mechanism should be reset. More... | |
| virtual void | checkpointWritten () |
| Function called after a checkpoint has been written. More... | |
| virtual void | packetWritten (const DtPacket &) |
| Function called after a packet is written. More... | |
Public Member Functions inherited from MAKLogger::DtCheckpointPolicy | |
| virtual | ~DtCheckpointPolicy () |
| DTOR. More... | |
| virtual void | connectFileOutput (DtMessageState *, DtLgrFileOutput *) |
| Set the file output object. Called if the FileOuput changes. More... | |
| virtual bool | interactionsCheckpointed () const |
| Indicates if interactions should be checkpointed. More... | |
| virtual void | setInteractionsCheckpointed (bool enable) |
| Indicate if interactions should be checkpointed. More... | |
Protected Attributes | |
| int | myCheckpointCount |
| checkpoints between More... | |
| int | myCurrentPacketsCount |
| The number of packets written since last checkpoint. More... | |
Protected Attributes inherited from MAKLogger::DtCheckpointPolicy | |
| PacketObserverFunctor | myPacketWrittenObserver |
| DtMessageState * | myMessageState |
| DtLgrFileOutput * | myLgrFileOutput |
| bool | myCheckpointInteractions |
Additional Inherited Members | |
Public Types inherited from MAKLogger::DtCheckpointPolicy | |
| enum | Policy { ByCount, BySize, ByTime } |
Protected Types inherited from MAKLogger::DtCheckpointPolicy | |
| typedef DtObserverFunctor < DtCheckpointPolicy, DtPacket > | PacketObserverFunctor |
| Type of the functor connecting the checkpoint policy to the output. More... | |
Protected Member Functions inherited from MAKLogger::DtCheckpointPolicy | |
| void | onPacketWritten (const DtPacket &) |
Checkpoint policy which checkpoints are set by count.
|
virtual |
DTOR.
|
virtual |
Function called after a checkpoint has been written.
Implements MAKLogger::DtCheckpointPolicy.
|
virtual |
Function called after a packet is written.
Implements MAKLogger::DtCheckpointPolicy.
|
virtual |
Function called if the checkpoint mechanism should be reset.
Implements MAKLogger::DtCheckpointPolicy.
|
virtual |
Function called to check to see if it is time to create a checkpoint.
In this case it will check to see if the # of packets written exceeds packetsBetweenCheckpoints().
| true | Time for checkpoint. |
| false | Not time for checkpoint. |
Implements MAKLogger::DtCheckpointPolicy.
|
protected |
checkpoints between
|
protected |
The number of packets written since last checkpoint.