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
DtVrfExtAggregatePublisher Class Reference

This class extends DtVrfAggregatePublisher to support the publishing of VR-Forces state properties as extended attributes of the aggregate. More...

Inheritance diagram for DtVrfExtAggregatePublisher:
Inheritance graph
[legend]

Public Member Functions

 DtVrfExtAggregatePublisher (const DtEntityType &type, DtExerciseConn *conn, DtVrfParameterDb *paramDb, const DtGlobalObjectDesignator &glId=DtVrfObjectIdGenerator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId(), DtRwProperties *stateProps=0, DtRwProperties *paramProps=0)
 Constructor. More...
 
virtual ~DtVrfExtAggregatePublisher ()
 Destructor. More...
 
- Public Member Functions inherited from DtVrfAggregatePublisher
 DtVrfAggregatePublisher (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 aggregate publisher which will, in turn, create the VR-Link aggregate publisher, given a object id (DIS) or name (HLA). More...
 
 DtVrfAggregatePublisher (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 aggregate publisher which will, in turn, create the VR-Link aggregate publisher, given a object id (DIS) or name (HLA). More...
 
virtual ~DtVrfAggregatePublisher ()
 Destructor. Also destroys publisher. More...
 
virtual void addEntity (const DtBaseEntityStateRepository *)
 Convenience routines to add/remove subordinates. More...
 
virtual void removeEntity (const DtBaseEntityStateRepository *)
 
virtual void addAggregate (const DtBaseEntityStateRepository *)
 
virtual void removeAggregate (const DtBaseEntityStateRepository *)
 
virtual void tick ()
 Class method taken from publisher class for aggregates at VR-Link level. More...
 
virtual DtAggPublisherDecoderdecoder ()
 Returns a pointer to the Decoder being used to decode PDUs/updates that we send back into the asSeenByRemote state rep. More...
 
virtual DtAggPublisherEncoderencoder ()
 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 aggregate's identifier. More...
 
virtual const DtObjectId & localId () const
 Get the aggregate'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 DtAggregatePublisher * aggregatePublisher ()
 Returns a pointer to myPublisher (the VR-Link DtAggregatePublisher) 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
DtExtAggregateStateRepository
aggregateProcessStateRep ()
 
virtual
DtExtAggregateStateRepository
aggregateStateRep ()
 
virtual
DtExtAggregateStateRepository
agsr ()
 

Protected Attributes

DtVrfParameterDbmyParameterDb
 
- Protected Attributes inherited from DtVrfAggregatePublisher
DtAggregatePublisher * myPublisher
 
makVrfVrlinkExtToolkit::DtExtendedAttributesObjectPublishermyExtAttrPublisher
 

Private Member Functions

 DtVrfExtAggregatePublisher (const DtVrfExtAggregatePublisher &)
 Unimplemented. More...
 
DtVrfExtAggregatePublisheroperator= (const DtVrfExtAggregatePublisher &)
 Unimplemented. More...
 

Additional Inherited Members

- Public Types inherited from DtVrfAggregatePublisher
typedef
DtAggregateStateRepository *(* 
MyStateRepCreator )()
 
- Static Public Member Functions inherited from DtVrfAggregatePublisher
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 DtVrfAggregatePublisher
 DtVrfAggregatePublisher ()
 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...
 
virtual void sendFinalPdu ()
 When this object is destroyed (in DIS) sends out a "final" pdu that sets the appearance to have the DtFinalPduBitVal bit set. More...
 
- Static Protected Attributes inherited from DtVrfAggregatePublisher
static DtObjectClassChooserPtr theObjectClassChooser
 
static
DtExtendedAttributesInitializerPtr 
theInitializer
 

Detailed Description

This class extends DtVrfAggregatePublisher to support the publishing of VR-Forces state properties as extended attributes of the aggregate.

Constructor & Destructor Documentation

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

Constructor.

virtual DtVrfExtAggregatePublisher::~DtVrfExtAggregatePublisher ( )
virtual

Destructor.

DtVrfExtAggregatePublisher::DtVrfExtAggregatePublisher ( const DtVrfExtAggregatePublisher )
private

Unimplemented.

Member Function Documentation

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

Unimplemented.

Member Data Documentation

DtVrfParameterDb* DtVrfExtAggregatePublisher::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)