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 Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
DtDynamicTerrainPublisher Class Reference

Instances of DtDynamicTerrainPublisher publish DynamicTerrain objects to the network. More...

Inheritance diagram for DtDynamicTerrainPublisher:
Inheritance graph
[legend]

Public Types

typedef
DtDynamicTerrainStateRepository *(* 
DtStateRepCreator )()
 Function prototype for a function that creates a DtDynamicTerrainStateRepository. More...
 
typedef
DtDynamicTerrainStateRepository *(* 
DtStateRepCreator )()
 Function prototype for a function that creates a DtDynamicTerrainStateRepository. More...
 

Public Member Functions

 DtDynamicTerrainPublisher (DtDynamicTerrainStateRepository *stateRepToUse, DtExerciseConn *conn, const DtObjectId &id=DtObjectId::nullId())
 Constructor. More...
 
 DtDynamicTerrainPublisher (DtExerciseConn *conn, const DtObjectId &id=DtObjectId::nullId())
 Constructor. More...
 
virtual ~DtDynamicTerrainPublisher ()
 Destructor. More...
 
virtual
DtDynamicTerrainStateRepository
dynamicTerrainStateRep ()
 Returns a pointer to the DtDynamicTerrainStateRepository - through which you can set or inspect current state information. More...
 
virtual
DtDynamicTerrainStateRepository
dsr ()
 Synonym for dynamicTerrainStateRep(). More...
 
virtual void tick ()
 tick the publisher More...
 
virtual void forceUpdate ()
 for the next tick call to send out a PDU even if it is not needed. More...
 
virtual const DtObjectId & id () const
 Get the entity's identifier. More...
 
virtual const DtObjectId & localId () const
 Get the entity'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 sendFinalPdu ()
 Sends the final PDU for this object, indicating the object should be removed. More...
 
 DtDynamicTerrainPublisher (DtDynamicTerrainStateRepository *stateRepToUse, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 Constructor. More...
 
 DtDynamicTerrainPublisher (RTI::ObjectClassHandle h, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 Constructor. More...
 
 DtDynamicTerrainPublisher (DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 Constructor. More...
 
 DtDynamicTerrainPublisher (DtHlaObjectWithStateRep *obj, DtExerciseConn *conn)
 Constructor that creates a publisher for an existing DtHlaObject. More...
 
virtual ~DtDynamicTerrainPublisher ()
 Destructor. More...
 
virtual
DtDynamicTerrainStateRepository
dynamicTerrainStateRep ()
 Returns a pointer to the DtDynamicTerrainStateRepository - through which you can set or inspect current state information. More...
 
virtual
DtDynamicTerrainStateRepository
dsr ()
 Synonym for dynamicTerrainStateRep(). More...
 

Static Public Member Functions

static DtStateRepCreator setStateRepCreator (DtStateRepCreator creator)
 Give us a function to be used for creating SRs. More...
 
static const charobjectClassName ()
 The Object class name (DynamicTerrain) More...
 
static DtStateRepCreator setStateRepCreator (DtStateRepCreator creator)
 Give us a function to be used for creating SRs. More...
 

Protected Attributes

DtObjectId myId
 
DtDynamicTerrainDecodermyDecoder
 
DtDynamicTerrainEncodermyEncoder
 

Static Protected Attributes

static DtStateRepCreator theStateRepCreator
 

Private Member Functions

 DtDynamicTerrainPublisher (const DtDynamicTerrainPublisher &orig)
 Copy Constructor – not implemented. More...
 
DtDynamicTerrainPublisheroperator= (const DtDynamicTerrainPublisher &orig)
 Assignment operator – not implemented. More...
 
 DtDynamicTerrainPublisher (const DtDynamicTerrainPublisher &orig)
 Copy Constructor – not implemented. More...
 
DtDynamicTerrainPublisheroperator= (const DtDynamicTerrainPublisher &orig)
 Assignment operator – not implemented. More...
 

Detailed Description

Instances of DtDynamicTerrainPublisher publish DynamicTerrain objects to the network.

Member Typedef Documentation

typedef DtDynamicTerrainStateRepository*(* DtDynamicTerrainPublisher::DtStateRepCreator)()

Function prototype for a function that creates a DtDynamicTerrainStateRepository.

typedef DtDynamicTerrainStateRepository*(* DtDynamicTerrainPublisher::DtStateRepCreator)()

Function prototype for a function that creates a DtDynamicTerrainStateRepository.

Constructor & Destructor Documentation

DtDynamicTerrainPublisher::DtDynamicTerrainPublisher ( DtDynamicTerrainStateRepository stateRepToUse,
DtExerciseConn *  conn,
const DtObjectId &  id = DtObjectId::nullId() 
)

Constructor.

DtDynamicTerrainPublisher::DtDynamicTerrainPublisher ( DtExerciseConn *  conn,
const DtObjectId &  id = DtObjectId::nullId() 
)

Constructor.

virtual DtDynamicTerrainPublisher::~DtDynamicTerrainPublisher ( )
virtual

Destructor.

DtDynamicTerrainPublisher::DtDynamicTerrainPublisher ( const DtDynamicTerrainPublisher orig)
private

Copy Constructor – not implemented.

DtDynamicTerrainPublisher::DtDynamicTerrainPublisher ( DtDynamicTerrainStateRepository stateRepToUse,
DtExerciseConn *  conn,
const char name = 0,
const DtDDMRegionSet *  regionSetToUse = 0 
)

Constructor.

DtDynamicTerrainPublisher::DtDynamicTerrainPublisher ( RTI::ObjectClassHandle  h,
DtExerciseConn *  conn,
const char name = 0,
const DtDDMRegionSet *  regionSetToUse = 0 
)

Constructor.

DtDynamicTerrainPublisher::DtDynamicTerrainPublisher ( DtExerciseConn *  conn,
const char name = 0,
const DtDDMRegionSet *  regionSetToUse = 0 
)

Constructor.

DtDynamicTerrainPublisher::DtDynamicTerrainPublisher ( DtHlaObjectWithStateRep *  obj,
DtExerciseConn *  conn 
)

Constructor that creates a publisher for an existing DtHlaObject.

(DtHlaObjectWithStateRep is derived from DtHlaObject.) Typically used in conjunction with ownership management, when you want to take ownership and begin updating some attributes of an object that you have already discovered.

virtual DtDynamicTerrainPublisher::~DtDynamicTerrainPublisher ( )
virtual

Destructor.

DtDynamicTerrainPublisher::DtDynamicTerrainPublisher ( const DtDynamicTerrainPublisher orig)
private

Copy Constructor – not implemented.

Member Function Documentation

DtDynamicTerrainPublisher& DtDynamicTerrainPublisher::operator= ( const DtDynamicTerrainPublisher orig)
private

Assignment operator – not implemented.

DtDynamicTerrainStateRepository * DtDynamicTerrainPublisher::dynamicTerrainStateRep ( )
inlinevirtual

Returns a pointer to the DtDynamicTerrainStateRepository - through which you can set or inspect current state information.

DtDynamicTerrainStateRepository * DtDynamicTerrainPublisher::dsr ( )
inlinevirtual
virtual void DtDynamicTerrainPublisher::tick ( )
virtual

tick the publisher

virtual void DtDynamicTerrainPublisher::forceUpdate ( )
virtual

for the next tick call to send out a PDU even if it is not needed.

virtual const DtObjectId& DtDynamicTerrainPublisher::id ( ) const
virtual

Get the entity's identifier.

virtual const DtObjectId& DtDynamicTerrainPublisher::localId ( ) const
virtual

Get the entity's localId - same as id for DIS.

virtual const DtGlobalObjectDesignator& DtDynamicTerrainPublisher::globalId ( ) const
virtual

Get the global object designator - same as id for DIS.

virtual void DtDynamicTerrainPublisher::sendFinalPdu ( )
virtual

Sends the final PDU for this object, indicating the object should be removed.

static DtStateRepCreator DtDynamicTerrainPublisher::setStateRepCreator ( DtStateRepCreator  creator)
static

Give us a function to be used for creating SRs.

static const char* DtDynamicTerrainPublisher::objectClassName ( )
static

The Object class name (DynamicTerrain)

DtDynamicTerrainPublisher& DtDynamicTerrainPublisher::operator= ( const DtDynamicTerrainPublisher orig)
private

Assignment operator – not implemented.

virtual DtDynamicTerrainStateRepository* DtDynamicTerrainPublisher::dynamicTerrainStateRep ( )
virtual

Returns a pointer to the DtDynamicTerrainStateRepository - through which you can set or inspect current state information.

virtual DtDynamicTerrainStateRepository* DtDynamicTerrainPublisher::dsr ( )
virtual
static DtStateRepCreator DtDynamicTerrainPublisher::setStateRepCreator ( DtStateRepCreator  creator)
static

Give us a function to be used for creating SRs.

Member Data Documentation

static DtStateRepCreator DtDynamicTerrainPublisher::theStateRepCreator
staticprotected
DtObjectId DtDynamicTerrainPublisher::myId
protected
DtDynamicTerrainDecoder* DtDynamicTerrainPublisher::myDecoder
protected
DtDynamicTerrainEncoder* DtDynamicTerrainPublisher::myEncoder
protected

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

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)