VR-Forces Developer's Guide
 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. 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.

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())
 
 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 ()
 
virtual DtWeatherObjectRepositorywesr ()
 
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())
 
 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 ()
 
virtual bool tick () override
 
virtual DtControlObjectRepositorycosr ()
 
virtual void setSendVrfObjectDataRecord (bool shouldSend)
 
virtual DtCtrlPublisherDecoderdecoder ()
 
virtual DtCtrlPublisherEncoderencoder ()
 
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 &)
 
DtWeatherObjectPublisheroperator= (const DtWeatherObjectPublisher &)
 

Additional Inherited Members

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

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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)