![]() |
MAK Data Logger API Documentation for HLA
|
Responsible for defining the interface that Object publishers must have. More...
Inheritance diagram for MAKLogger::DtLgrPublisherInterface:
Collaboration diagram for MAKLogger::DtLgrPublisherInterface:Public Member Functions | |
| DtLgrPublisherInterface () | |
| virtual | ~DtLgrPublisherInterface () |
| DTOR. | |
| virtual void | update (const DtStateMsg &msg, double scaling, bool isStatic)=0 |
| virtual void | setExerciseId (unsigned char exerciseId) |
| Set the exercise id. | |
| virtual unsigned char | exerciseId () const |
| Get the associated exercise id. | |
| virtual void | sendUpdateAtScaleChangePoint (double oldScale, double newScale, bool wasStatic, bool isStatic)=0 |
| Sends an update when scaling changes. | |
| virtual void | tick (double scaling, bool isStatic)=0 |
| Tick the publisher with a scaling value. | |
| virtual bool | updateRegion (const DtStateMsg &msg) |
| The given message has been decoded into the state repository of the publisher. | |
| virtual void | setRegion (const DtDDMRegionSet ®ion)=0 |
| Set the DtDDMRegionSet to play back to. | |
| virtual const DtDDMRegionSet & | publishingRegions () const =0 |
| Get the publishing regions. | |
| virtual void | setStaticRegionFlag (bool enabled) |
| Set status of static region. | |
| virtual bool | staticRegionFlag () const |
| Return bool: are regions static? | |
| virtual bool | publishingToRegion (DtDDMRegionSP region)=0 |
| Determine if the publisher is already playing back to the region provided. | |
| virtual void | setWaitingForRegionData (bool waitForData) |
| In some cases, regions are set based on values from attribute updates. | |
| virtual bool | waitingForRegionData () |
| Return bool: waiting for data required to set regions. | |
Protected Attributes | |
| unsigned char | myExerciseId |
| bool | myWaitingForRegionData |
| bool | myStaticRegionFlag |
Responsible for defining the interface that Object publishers must have.
| MAKLogger::DtLgrPublisherInterface::DtLgrPublisherInterface | ( | ) |
|
virtual |
DTOR.
|
virtual |
Get the associated exercise id.
|
pure virtual |
Get the publishing regions.
Implemented in MAKLogger::DtHLAGenericPublisher, MAKLogger::DtLgrHlaAggregatePublisher, and MAKLogger::DtLgrHlaEntityPublisher.
|
pure virtual |
Determine if the publisher is already playing back to the region provided.
Implemented in MAKLogger::DtHLAGenericPublisher, MAKLogger::DtLgrHlaAggregatePublisher, and MAKLogger::DtLgrHlaEntityPublisher.
|
pure virtual |
Sends an update when scaling changes.
Implemented in MAKLogger::DtHLAGenericPublisher, MAKLogger::DtLgrHlaAggregatePublisher, and MAKLogger::DtLgrHlaEntityPublisher.
|
virtual |
Set the exercise id.
|
pure virtual |
Set the DtDDMRegionSet to play back to.
Implemented in MAKLogger::DtHLAGenericPublisher, MAKLogger::DtLgrHlaAggregatePublisher, and MAKLogger::DtLgrHlaEntityPublisher.
|
virtual |
Set status of static region.
When regions are static, region updates are not performed
|
virtual |
In some cases, regions are set based on values from attribute updates.
Set the status to indicate if the required attributes have been updated. When waiting for region data, updates may not be sent even when update is called.
|
virtual |
Return bool: are regions static?
|
pure virtual |
Tick the publisher with a scaling value.
Implemented in MAKLogger::DtHLAGenericPublisher, MAKLogger::DtLgrHlaAggregatePublisher, and MAKLogger::DtLgrHlaEntityPublisher.
|
pure virtual |
|
virtual |
The given message has been decoded into the state repository of the publisher.
Called immediately after decoding the message so that no other state should have changed other than the state repository. Update the region if appropriate. Return boolean: region has changed?
Reimplemented in MAKLogger::DtLgrHlaDdmEntityPublisher.
|
virtual |
Return bool: waiting for data required to set regions.
When waiting for region data, updates may not be sent even when update is called.
|
protected |
|
protected |
|
protected |