VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions
DtVrfExtControlObjectPublisher Class Reference

This class extends DtVrfControlObjectPublisher to support the publishing of VR-Forces state properties as extended attributes of the control object. More...

Inheritance diagram for DtVrfExtControlObjectPublisher:
Inheritance graph
[legend]

Public Member Functions

 DtVrfExtControlObjectPublisher (const DtObjectType &type, DtExerciseConn *conn, DtVrfParameterDb *paramDb, const DtGlobalObjectDesignator &glId=DtVrfObjectIdGenerator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId(), DtRwProperties *stateProps=0, DtRwProperties *paramProps=0)
 Constructor. More...
 
virtual ~DtVrfExtControlObjectPublisher ()
 Destructor. More...
 
- Public Member Functions inherited from DtVrfControlObjectPublisher
 DtVrfControlObjectPublisher (const DtEntityType &type, DtExerciseConn *conn, const DtGlobalObjectDesignator &glId=DtVrfObjectIdGenerator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId(), DtRwProperties *stateProps=0, DtRwProperties *paramProps=0)
 Create a new instance of the VRF Control Object Publisher which will, in turn, create the DtControlObjectPublisher, given a object id (DIS) or name (HLA). More...
 
 DtVrfControlObjectPublisher (const DtEntityType &type, DtExerciseConn *conn, const DtGlobalObjectDesignator &glId=DtVrfObjectIdGenerator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId(), const DtRwProperties &stateProps=DtRwProperties::emptyProperties(), const DtRwProperties &paramProps=DtRwProperties::emptyProperties())
 Create a new instance of the VRF Control Object Publisher which will, in turn, create the DtControlObjectPublisher, given a object id (DIS) or name (HLA). More...
 
virtual ~DtVrfControlObjectPublisher ()
 Destructor. Also destroys publisher. More...
 
virtual void tick ()
 Class method taken from publisher class for control objects at VR-Link level. More...
 
virtual DtCtrlPublisherDecoderdecoder ()
 Returns a pointer to the Decoder being used to decode PDUs/updates that we send back into the asSeenByRemote state rep. More...
 
virtual DtCtrlPublisherEncoderencoder ()
 Returns a pointer to the Encoder being used to encode current state into a PDU/update. More...
 
DtStateRepositorysr ()
 Returns the state repository. More...
 
const DtStringname () const
 Returns the name of the object. More...
 
virtual const DtObjectId & id () const
 Get the control object's identifier. More...
 
virtual const DtObjectId & localId () const
 Get the control object's localId - same as id for DIS. More...
 
virtual const
DtGlobalObjectDesignator
globalId () const
 Get the global object designator - same as id for DIS. More...
 
virtual void forceUpdate ()
 Force a state update to be sent during the next call to tick, even if nothing would normally cause a send. More...
 
virtual DtControlObjectPublishercontrolObjectPublisher ()
 Returns a pointer to myPublisher (the DtControlObjectPublisher) More...
 
virtual void setSendVrfObjectDataRecord (bool shouldSend)
 Sets whether a separate VrfObjectData record should be sent to convey additional VRF object information. More...
 
virtual void setExtendedData (const DtString &key, const DtString &value)
 
virtual void clearExtendedData ()
 
virtual void removeExtendedData (const DtString &key)
 
virtual DtString extendedData (const DtString &key) const
 
virtual DtControlObjectRepositorycontrolObjectProcessStateRep ()
 
virtual DtControlObjectRepositorycontrolObjectStateRep ()
 
virtual DtControlObjectRepositorycosr ()
 

Protected Attributes

DtVrfParameterDbmyParameterDb
 
- Protected Attributes inherited from DtVrfControlObjectPublisher
DtControlObjectPublishermyPublisher
 
makVrfVrlinkExtToolkit::DtExtendedAttributesObjectPublishermyExtAttrPublisher
 

Private Member Functions

 DtVrfExtControlObjectPublisher (const DtVrfExtControlObjectPublisher &)
 Unimplemented. More...
 
DtVrfExtControlObjectPublisheroperator= (const DtVrfExtControlObjectPublisher &)
 Unimplemented. More...
 

Additional Inherited Members

- Public Types inherited from DtVrfControlObjectPublisher
typedef
DtControlObjectRepository *(* 
MyStateRepCreator )()
 
- Static Public Member Functions inherited from DtVrfControlObjectPublisher
static void setInitializer (DtExtendedAttributesInitializerPtr init)
 Sets the extended attributes initializer used by all publishers of this type. More...
 
static
DtExtendedAttributesInitializerPtr 
initializer ()
 Returns the extended attributes initializer used by all publishers of this type. More...
 
static void setObjectClassChooser (DtObjectClassChooserPtr chooser)
 Sets the object class chooser used by all publishers of this type. More...
 
static DtObjectClassChooserPtr objectClassChooser ()
 Returns the object class chooser used by all publishers of this type. More...
 
- Protected Member Functions inherited from DtVrfControlObjectPublisher
 DtVrfControlObjectPublisher ()
 Alternate constructor that performs no initialization. More...
 
void initialize (const DtEntityType &type, DtExerciseConn *conn, const DtGlobalObjectDesignator &glId, const DtEntityIdentifier &entId)
 Called by the constructor to initialize the publisher. More...
 
- Static Protected Attributes inherited from DtVrfControlObjectPublisher
static DtObjectClassChooserPtr theObjectClassChooser
 
static
DtExtendedAttributesInitializerPtr 
theInitializer
 

Detailed Description

This class extends DtVrfControlObjectPublisher to support the publishing of VR-Forces state properties as extended attributes of the control object.

Constructor & Destructor Documentation

DtVrfExtControlObjectPublisher::DtVrfExtControlObjectPublisher ( const DtObjectType type,
DtExerciseConn *  conn,
DtVrfParameterDb paramDb,
const DtGlobalObjectDesignator glId = DtVrfObjectIdGenerator::nullId(),
const DtEntityIdentifier &  entId = DtEntityIdentifier::nullId(),
DtRwProperties stateProps = 0,
DtRwProperties paramProps = 0 
)

Constructor.

virtual DtVrfExtControlObjectPublisher::~DtVrfExtControlObjectPublisher ( )
virtual

Destructor.

DtVrfExtControlObjectPublisher::DtVrfExtControlObjectPublisher ( const DtVrfExtControlObjectPublisher )
private

Unimplemented.

Member Function Documentation

DtVrfExtControlObjectPublisher& DtVrfExtControlObjectPublisher::operator= ( const DtVrfExtControlObjectPublisher )
private

Unimplemented.

Member Data Documentation

DtVrfParameterDb* DtVrfExtControlObjectPublisher::myParameterDb
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)