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 Member Functions | Private Member Functions
DtWeatherObjectPublisher Class Reference

This class will wrap a VR-Link DtEnvironmentalProcessPublisher to allow for easier creation of a publisher that is compatible with VR-Forces. More...

Inheritance diagram for DtWeatherObjectPublisher:
Inheritance graph
[legend]

Public Member Functions

 DtWeatherObjectPublisher (DtExerciseConn *conn, const DtObjectType &type, const DtGlobalObjectDesignator &id=DtGlobalObjectDesignator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId())
 Create a new instance of the control object publisher which will, in turn, create the environmental process publisher, given a object id (DIS) or name (HLA). More...
 
 DtWeatherObjectPublisher (DtExerciseConn *conn, const DtObjectType &type, const DtDDMRegionSet *regionSetToUse, const DtGlobalObjectDesignator &id=DtGlobalObjectDesignator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId())
 
 DtWeatherObjectPublisher (DtEnvironmentProcessRepository *stateRepToUse, DtExerciseConn *conn, const DtObjectType &type, const DtGlobalObjectDesignator &id=DtGlobalObjectDesignator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId(), const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 
virtual ~DtWeatherObjectPublisher ()
 Also destroys publisher. More...
 
virtual DtWeatherObjectRepositorywesr ()
 Access the underlying network state repository. More...
 
virtual const
DtWeatherObjectRepository
wesr () const
 
- Public Member Functions inherited from DtControlObjectPublisher
 DtControlObjectPublisher (DtExerciseConn *conn, const DtObjectType &type, const DtGlobalObjectDesignator &id=DtGlobalObjectDesignator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId())
 Create a new instance of the control object publisher which will, in turn, create the environmental process publisher, given a object id (DIS) or name (HLA). More...
 
 DtControlObjectPublisher (DtEnvironmentProcessRepository *sr, DtExerciseConn *conn, const DtObjectType &type, const DtGlobalObjectDesignator &id=DtGlobalObjectDesignator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId())
 
 DtControlObjectPublisher (DtExerciseConn *conn, const DtObjectType &type, const DtDDMRegionSet *regionSetToUse, const DtGlobalObjectDesignator &id=DtVrfObjectIdGenerator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId())
 
 DtControlObjectPublisher (DtEnvironmentProcessRepository *sr, DtExerciseConn *conn, const DtObjectType &type, const DtDDMRegionSet *regionSetToUse, const DtGlobalObjectDesignator &id=DtVrfObjectIdGenerator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId())
 
virtual ~DtControlObjectPublisher ()
 Also destroys publisher. More...
 
virtual void tick ()
 Class method taken from publisher class for environmentals at VR-Link level. More...
 
virtual DtControlObjectRepositorycosr ()
 Synonym for environmentProcessStateRep(). More...
 
virtual void setSendVrfObjectDataRecord (bool shouldSend)
 Sets whether a separate VrfObjectData record should be sent to convey additional VRF object information. More...
 
virtual DtCtrlPublisherDecoderdecoder ()
 Returns a pointer to the Decoder being used to decode PDUs that we send back into the asSeenByRemote ESR. More...
 
virtual DtCtrlPublisherEncoderencoder ()
 Returns a pointer to the Encoder being used to encode current state into an entity state PDU. 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
 

Protected Member Functions

void init ()
 

Private Member Functions

 DtWeatherObjectPublisher (const DtWeatherObjectPublisher &)
 Unimplemented. More...
 
DtWeatherObjectPublisheroperator= (const DtWeatherObjectPublisher &)
 

Additional Inherited Members

- Static Public Member Functions inherited from DtControlObjectPublisher
static DtGlobalObjectDesignator nextId (DtExerciseConn *)
 

Detailed Description

This class will wrap a VR-Link DtEnvironmentalProcessPublisher to allow for easier creation of a publisher that is compatible with VR-Forces.

If you want to create and publish environmental objects that can be used by VR-Forces, you can use a publisher of this class to facilitate in that creation

Constructor & Destructor Documentation

DtWeatherObjectPublisher::DtWeatherObjectPublisher ( DtExerciseConn *  conn,
const DtObjectType type,
const DtGlobalObjectDesignator id = DtGlobalObjectDesignator::nullId(),
const DtEntityIdentifier &  entId = DtEntityIdentifier::nullId() 
)

Create a new instance of the control object publisher which will, in turn, create the environmental process publisher, given a object id (DIS) or name (HLA).

This class will use the default factory as supplied in the DtVrfObjectIdGenerator class

The state repository will initially be set to the DtWeatherObjectRepository class. You can change it in the global DtWeatherObjectPublisher class before calling this creator

DtWeatherObjectPublisher::DtWeatherObjectPublisher ( DtExerciseConn *  conn,
const DtObjectType type,
const DtDDMRegionSet *  regionSetToUse,
const DtGlobalObjectDesignator id = DtGlobalObjectDesignator::nullId(),
const DtEntityIdentifier &  entId = DtEntityIdentifier::nullId() 
)
DtWeatherObjectPublisher::DtWeatherObjectPublisher ( DtEnvironmentProcessRepository stateRepToUse,
DtExerciseConn *  conn,
const DtObjectType type,
const DtGlobalObjectDesignator id = DtGlobalObjectDesignator::nullId(),
const DtEntityIdentifier &  entId = DtEntityIdentifier::nullId(),
const char name = 0,
const DtDDMRegionSet *  regionSetToUse = 0 
)
virtual DtWeatherObjectPublisher::~DtWeatherObjectPublisher ( )
virtual

Also destroys publisher.

DtWeatherObjectPublisher::DtWeatherObjectPublisher ( const DtWeatherObjectPublisher )
private

Unimplemented.

Member Function Documentation

virtual DtWeatherObjectRepository* DtWeatherObjectPublisher::wesr ( )
virtual

Access the underlying network state repository.

virtual const DtWeatherObjectRepository* DtWeatherObjectPublisher::wesr ( ) const
virtual
void DtWeatherObjectPublisher::init ( )
protected
DtWeatherObjectPublisher& DtWeatherObjectPublisher::operator= ( const DtWeatherObjectPublisher )
private

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)