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

Instances of DtActiveSonarBeamPublisher are used for local or source simulation (these objects are not dependent on data being produced elsewhere on the network for their existence). More...

+ Inheritance diagram for DtActiveSonarBeamPublisher:
+ Collaboration diagram for DtActiveSonarBeamPublisher:

List of all members.

Public Types

typedef
DtActiveSonarBeamRepository *(* 
DtStateRepCreator )()
 Function prototype for functions that create DtActiveSonarBeamRepositories.

Public Member Functions

 DtActiveSonarBeamPublisher (DtExerciseConn *exConn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 Constructor.
 DtActiveSonarBeamPublisher (DtActiveSonarBeamRepository *stateRepToUse, DtExerciseConn *exConn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 Constructor that takes a state rep to use.
 DtActiveSonarBeamPublisher (RTI::ObjectClassHandle h, DtExerciseConn *exConn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0)
 Constructor that takes an object class handle for ActiveSonarBeam.
 DtActiveSonarBeamPublisher (DtHlaObjectWithStateRep *obj, DtExerciseConn *conn)
 Constructor that creates a publisher for an existing DtHlaObject.
virtual ~DtActiveSonarBeamPublisher ()
 Destructor.
virtual
DtActiveSonarBeamRepository
activeSonarBeamStateRep ()
 Returns publisher's state repository.
virtual
DtActiveSonarBeamRepository
asr ()
 Shorter version of the above method.
virtual const char * classToUse () const
 Returns the name of the FOM object class to use.

Static Public Member Functions

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

Protected Member Functions

 DtActiveSonarBeamPublisher (const DtActiveSonarBeamPublisher &orig)
 Copy constructor not implemented - not copyable.
DtActiveSonarBeamPublisheroperator= (const DtActiveSonarBeamPublisher &orig)
 Assignment operator not implemented.

Static Protected Attributes

static DtStateRepCreator theStateRepCreator

Detailed Description

Instances of DtActiveSonarBeamPublisher are used for local or source simulation (these objects are not dependent on data being produced elsewhere on the network for their existence).

These active sonar beams send data to the network.


Member Typedef Documentation

Function prototype for functions that create DtActiveSonarBeamRepositories.


Constructor & Destructor Documentation

DtActiveSonarBeamPublisher::DtActiveSonarBeamPublisher ( DtExerciseConn exConn,
const char *  name = 0,
const DtDDMRegionSet regionSetToUse = 0 
)

Constructor.

DtActiveSonarBeamPublisher::DtActiveSonarBeamPublisher ( DtActiveSonarBeamRepository stateRepToUse,
DtExerciseConn exConn,
const char *  name = 0,
const DtDDMRegionSet regionSetToUse = 0 
)

Constructor that takes a state rep to use.

DtActiveSonarBeamPublisher does not take ownership of the state rep (i.e. it will not delete on destruction). User is responsible for state rep cleanup.

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

Constructor that takes an object class handle for ActiveSonarBeam.

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.

Destructor.

Copy constructor not implemented - not copyable.


Member Function Documentation

Returns publisher's state repository.

References DtObjectPublisher::myStateRep.

Shorter version of the above method.

References DtObjectPublisher::myStateRep.

virtual const char* DtActiveSonarBeamPublisher::classToUse ( ) const [virtual]

Returns the name of the FOM object class to use.

Default implementation is to ask the FOM Mapper.

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

Assignment operator not implemented.

Provide 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)