VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions
DtGlobalEnvironmentObjectPublisher 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 DtGlobalEnvironmentObjectPublisher:
Inheritance graph
[legend]

Public Member Functions

 DtGlobalEnvironmentObjectPublisher (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).
 DtGlobalEnvironmentObjectPublisher (DtExerciseConn *conn, const DtObjectType &type, const DtDDMRegionSet *regionSetToUse, const DtGlobalObjectDesignator &id=DtVrfObjectIdGenerator::nullId(), const DtEntityIdentifier &entId=DtEntityIdentifier::nullId())
virtual ~DtGlobalEnvironmentObjectPublisher ()
 Also destroys publisher.
virtual
DtGlobalEnvironmentObjectRepository
gesr ()
 Access the underlying network state repository.
virtual const
DtGlobalEnvironmentObjectRepository
gesr () const
virtual void sendUpdateWhenTimeChangesBy (double)
 When the time of day changes by this amount send an update. Default is 1 second.
virtual double updateWhenTimeChangesBy () const
- Public Member Functions inherited from 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).
 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.
virtual DtWeatherObjectRepositorywesr ()
 Access the underlying network state repository.
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).
 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.
virtual void tick ()
 Class method taken from publisher class for environmentals at VR-Link level.
virtual DtControlObjectRepositorycosr ()
 Synonym for environmentProcessStateRep().
virtual void setSendVrfObjectDataRecord (bool shouldSend)
 Sets whether a separate VrfObjectData record should be sent to convey additional VRF object information.
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

Private Member Functions

 DtGlobalEnvironmentObjectPublisher (const DtGlobalEnvironmentObjectPublisher &)
 Unimplemented.
DtGlobalEnvironmentObjectPublisheroperator= (const DtGlobalEnvironmentObjectPublisher &)

Additional Inherited Members

- Static Public Member Functions inherited from DtControlObjectPublisher
static DtGlobalObjectDesignator nextId (DtExerciseConn *)
- Protected Member Functions inherited from DtWeatherObjectPublisher
void init ()

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

DtGlobalEnvironmentObjectPublisher::DtGlobalEnvironmentObjectPublisher ( 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 DtControlObjectRepository class. You can change it in the global DtGlobalEnvironmentObjectPublisher class before calling this creator

DtGlobalEnvironmentObjectPublisher::DtGlobalEnvironmentObjectPublisher ( DtExerciseConn *  conn,
const DtObjectType type,
const DtDDMRegionSet *  regionSetToUse,
const DtGlobalObjectDesignator id = DtVrfObjectIdGenerator::nullId(),
const DtEntityIdentifier &  entId = DtEntityIdentifier::nullId() 
)
virtual DtGlobalEnvironmentObjectPublisher::~DtGlobalEnvironmentObjectPublisher ( )
virtual

Also destroys publisher.

DtGlobalEnvironmentObjectPublisher::DtGlobalEnvironmentObjectPublisher ( const DtGlobalEnvironmentObjectPublisher )
private

Unimplemented.

Member Function Documentation

virtual DtGlobalEnvironmentObjectRepository* DtGlobalEnvironmentObjectPublisher::gesr ( )
virtual

Access the underlying network state repository.

virtual const DtGlobalEnvironmentObjectRepository* DtGlobalEnvironmentObjectPublisher::gesr ( ) const
virtual
virtual void DtGlobalEnvironmentObjectPublisher::sendUpdateWhenTimeChangesBy ( double  )
virtual

When the time of day changes by this amount send an update. Default is 1 second.

virtual double DtGlobalEnvironmentObjectPublisher::updateWhenTimeChangesBy ( ) const
virtual
DtGlobalEnvironmentObjectPublisher& DtGlobalEnvironmentObjectPublisher::operator= ( const DtGlobalEnvironmentObjectPublisher )
private

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)