VR-Vantage 2.8 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
DtNavAidPublisher Class Reference

class DtNavAidPublisher: More...

Inheritance diagram for DtNavAidPublisher:
Inheritance graph
[legend]

Public Types

typedef DtNavAidStateRepository *(* DtStateRepCreator )()
 Function prototype for functions that create DtNavAidStateRepositorys.
typedef DtNavAidDecoder *(* DtDecoderCreator )(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 Function prototype for functions that create DtNavAidDecoders.
typedef DtNavAidEncoder *(* DtEncoderCreator )(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 Function prototype for functions that create DtNavAidEncoders.

Public Member Functions

 DtNavAidPublisher (DtNavAidStateRepository *stateRepToUse, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 Constructor.
 DtNavAidPublisher (RTI::ObjectClassHandle h, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 Constructor.
 DtNavAidPublisher (DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 Constructor.
 DtNavAidPublisher (DtHlaObjectWithStateRep *obj, DtExerciseConn *conn)
 Constructor that creates a publisher for an existing DtHlaObject.
virtual ~DtNavAidPublisher ()
 destructor
virtual DtNavAidStateRepositorynavAidStateRep ()
 Returns a pointer to the DtNavAidStateRepository - through which you can set or inspect current state information.
virtual DtNavAidStateRepositorynasr ()
 Synonym for navAidStateRep().
virtual const char * classToUse () const
 Returns the name of the FOM object class to use.

Static Public Member Functions

static DtStateRepCreator setStateRepCreator (DtStateRepCreator creator)
 Give us a function to be used for creating SRs.
static DtEncoderCreator setEncoderCreator (DtEncoderCreator creator)
 Give us a function to be used for creating encoders.
static DtDecoderCreator setDecoderCreator (DtDecoderCreator creator)
 Give us a function to be used for creating decoders.

Protected Member Functions

 DtNavAidPublisher (const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 Constructor which does not include the DtExerciseConn and does not register the HLA object.
 DtNavAidPublisher (const DtNavAidPublisher &orig)
 copy constructor – not implemented
DtNavAidPublisheroperator= (const DtNavAidPublisher &orig)
 copy constructor – not implemented

Static Protected Attributes

static DtStateRepCreator theStateRepCreator
static DtEncoderCreator theEncoderCreator
static DtDecoderCreator theDecoderCreator

Detailed Description

class DtNavAidPublisher:

Instances of DtNavAidPublisher are used for local or source simulations of radio transmitters, (i.e. these entities are not dependent on data being produced elsewhere on the network for their existence). These radio transmitters send data to the network.

Member Typedef Documentation

typedef DtNavAidStateRepository*(* DtNavAidPublisher::DtStateRepCreator)()

Function prototype for functions that create DtNavAidStateRepositorys.

typedef DtNavAidDecoder*(* DtNavAidPublisher::DtDecoderCreator)(DtExerciseConn *exConn, DtObjClassDesc *classDesc)

Function prototype for functions that create DtNavAidDecoders.

typedef DtNavAidEncoder*(* DtNavAidPublisher::DtEncoderCreator)(DtExerciseConn *exConn, DtObjClassDesc *classDesc)

Function prototype for functions that create DtNavAidEncoders.

Constructor & Destructor Documentation

DtNavAidPublisher::DtNavAidPublisher ( DtNavAidStateRepository stateRepToUse,
DtExerciseConn *  conn,
const char *  name = 0,
const DtDDMRegionSet *  regionSetToUse = 0 
)

Constructor.

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

Constructor.

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

Constructor.

DtNavAidPublisher::DtNavAidPublisher ( 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 DtNavAidPublisher::~DtNavAidPublisher ( )
virtual

destructor

DtNavAidPublisher::DtNavAidPublisher ( const char *  name = 0,
const DtDDMRegionSet *  regionSetToUse = 0 
)
protected

Constructor which does not include the DtExerciseConn and does not register the HLA object.

This is typically not desired, but may be useful in certain cases when a derived publisher wants to better control how the object is published.

DtNavAidPublisher::DtNavAidPublisher ( const DtNavAidPublisher orig)
protected

copy constructor – not implemented

Member Function Documentation

DtNavAidStateRepository * DtNavAidPublisher::navAidStateRep ( )
inlinevirtual

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

DtNavAidStateRepository * DtNavAidPublisher::nasr ( )
inlinevirtual

Synonym for navAidStateRep().

virtual const char* DtNavAidPublisher::classToUse ( ) const
virtual

Returns the name of the FOM object class to use.

Default implementation is to ask the FOM Mapper.

static DtStateRepCreator DtNavAidPublisher::setStateRepCreator ( DtStateRepCreator  creator)
static

Give us a function to be used for creating SRs.

static DtEncoderCreator DtNavAidPublisher::setEncoderCreator ( DtEncoderCreator  creator)
static

Give us a function to be used for creating encoders.

static DtDecoderCreator DtNavAidPublisher::setDecoderCreator ( DtDecoderCreator  creator)
static

Give us a function to be used for creating decoders.

DtNavAidPublisher& DtNavAidPublisher::operator= ( const DtNavAidPublisher orig)
protected

copy constructor – not implemented

Member Data Documentation

DtStateRepCreator DtNavAidPublisher::theStateRepCreator
staticprotected
DtEncoderCreator DtNavAidPublisher::theEncoderCreator
staticprotected
DtDecoderCreator DtNavAidPublisher::theDecoderCreator
staticprotected

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


Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)