Responsible for defining the interface that Object publishers must have. More...
Inheritance diagram for MAKLogger::DtLgrPublisherInterface:
Collaboration diagram for MAKLogger::DtLgrPublisherInterface:Public Member Functions | |
| 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 void | setSilentFlag (bool silent) |
| Set status of silent updating. | |
| virtual bool | silentFlag () |
| Return bool: are updates not sent? | |
| 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. | |
Protected Attributes | |
| unsigned char | myExerciseId |
| bool | mySilentFlag |
| bool | myStaticRegionFlag |
Responsible for defining the interface that Object publishers must have.
| virtual void MAKLogger::DtLgrPublisherInterface::setSilentFlag | ( | bool | silent | ) | [virtual] |
Set status of silent updating.
When enabled, the publisher is silent (i.e., updates are not sent). Update may be called, but nothing is sent.
| virtual void MAKLogger::DtLgrPublisherInterface::setStaticRegionFlag | ( | bool | enabled | ) | [virtual] |
Set status of static region.
When regions are static, region updates are not performed
| virtual bool MAKLogger::DtLgrPublisherInterface::updateRegion | ( | const DtStateMsg & | msg | ) | [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.