VR-Link API Documentation for HLA 1.3
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
DtIffPublisher Class Reference

class DtIffPublisher: More...

+ Inheritance diagram for DtIffPublisher:
+ Collaboration diagram for DtIffPublisher:

List of all members.

Public Types

typedef DtIffStateRepository *(* DtStateRepCreator )()
 Function prototype for functions that create DtEntityStateRepositories.

Public Member Functions

 DtIffPublisher (DtIffStateRepository *stateRepToUse, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 Constructor -- State Rep Must have the NavaidsSysType set.
 DtIffPublisher (RTI::ObjectClassHandle h, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 Constructor.
 DtIffPublisher (DtIffAtcNavaidsSysType type, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 Constructor.
 DtIffPublisher (DtHlaObjectWithStateRep *obj, DtExerciseConn *conn)
 Constructor that creates a publisher for an existing DtHlaObject.
virtual ~DtIffPublisher ()
 destructor
virtual DtIffStateRepositoryiffStateRep ()
 Returns a pointer to the IffStateRepository - through which you can set current state information.
virtual DtIffStateRepositoryisr ()
 Synonym for iffStateRep()

Static Public Member Functions

static DtStateRepCreator setStateRepCreator (DtStateRepCreator creator)
 Give us a function to be used for creating SRs.

Protected Member Functions

 DtIffPublisher (const DtIffPublisher &orig)
 copy constructor -- not implemented
DtIffPublisheroperator= (const DtIffPublisher &orig)
 assignment operator -- not implemented
const char * objectClassNameFromType (DtIffAtcNavaidsSysType type)
 Non-virtual since called from constructor.

Static Protected Attributes

static DtStateRepCreator theStateRepCreator

Detailed Description

class DtIffPublisher:

Instances of IffPublisher are used for local or source simulations of "Iff" objects. The publisher sends data to the network when necessary. This class is derived from DtObjectPublisher, which does most of the work. The derived class mostly exists to provide type safety, and to configure the base object.


Member Typedef Documentation

Function prototype for functions that create DtEntityStateRepositories.


Constructor & Destructor Documentation

DtIffPublisher::DtIffPublisher ( DtIffStateRepository stateRepToUse,
DtExerciseConn conn,
const char *  name = 0,
const DtDDMRegionSet regionSetToUse = 0 
)

Constructor -- State Rep Must have the NavaidsSysType set.

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

Constructor.

DtIffPublisher::DtIffPublisher ( DtIffAtcNavaidsSysType  type,
DtExerciseConn conn,
const char *  name = 0,
const DtDDMRegionSet regionSetToUse = 0 
)

Constructor.

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 DtIffPublisher::~DtIffPublisher ( ) [virtual]

destructor

DtIffPublisher::DtIffPublisher ( const DtIffPublisher orig) [protected]

copy constructor -- not implemented


Member Function Documentation

Returns a pointer to the IffStateRepository - through which you can set current state information.

References DtObjectPublisher::myStateRep.

DtIffStateRepository * DtIffPublisher::isr ( ) [inline, virtual]

Non-virtual since called from constructor.

If you don't like the default mapping between entity type and object class, just pass the object class handle you want to the constructor.

DtIffPublisher& DtIffPublisher::operator= ( const DtIffPublisher orig) [protected]

assignment operator -- not implemented

Give us a function to be used for creating SRs.


Member Data Documentation


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)