Public Member Functions | Protected Attributes
MAKLogger::DtLgrPublisherInterface Class Reference

Responsible for defining the interface that Object publishers must have. More...

+ Inheritance diagram for MAKLogger::DtLgrPublisherInterface:
+ Collaboration diagram for MAKLogger::DtLgrPublisherInterface:

List of all members.

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 &region)=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

Detailed Description

Responsible for defining the interface that Object publishers must have.


Member Function Documentation

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.


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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)