VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtDisDriver Class Reference

The DtDriver for DIS. More...

Inheritance diagram for makVrv::DtDisDriver:
Inheritance graph
[legend]

Public Member Functions

 DtDisDriver (DtAgentManager &agentManager, const std::string &uniqueName, const std::string &className="DtDisDriver")
 CTOR.
virtual ~DtDisDriver ()
 DTOR.
virtual void realizeConfiguration (const DtConfiguration &config)
 Realize the driver via a generic configuration.
virtual DtConfiguration createConfiguration () const
 Create a configuration for the driver.
const DtExerciseConnInitializer & exerciseSettings () const
 Get the exercise settings.
void setExerciseSettings (const DtExerciseConnInitializer &settings)
 Set the exercise settings.
virtual bool timeoutProcessing () const
 Get timeout processing status for this driver.
virtual void setTimeoutProcessing (bool enabled)
 Turn on or off timeout processing.
virtual double timeoutInterval () const
 Get timeout interval for this driver (in seconds)
virtual void setTimeoutInterval (double interval)
 Set the timeout interval for this driver (in seconds)
- Public Member Functions inherited from makVrv::DtDriver
 DtDriver (DtAgentManager &agentManager, const std::string &instanceName)
 CTOR.
virtual ~DtDriver ()
 DTOR.
DtAgentManageragentManager ()
 Get the master scene for this host.
virtual DtAgentManagerInterfacesceneInterface ()
 Get the scene manager interface for creating agents.
bool started () const
 Get this driver's active state.
virtual const std::string & instanceName () const
 Get this driver's instance name.
virtual bool autoStart () const
 Get whether this driver is set to automatically start if it is persistent.
virtual void setAutoStart (bool autoStart)
 Set whether this driver automatically starts if it is persistent.
virtual bool isWindowDependent () const
 Get whether this driver is set to automatically start when the first window is created and stop when the last window is destroyed.
virtual void setIsWindowDependent (bool dep)
 Set whether this driver is set to automatically start when the first window is created and stop when the last window is destroyed.
virtual void setIsUserControllable (bool)
 Set whether this driver can be started and stopped by the user.
virtual bool isUserControllable () const
 Get whether this driver can be started and stopped by the user.
virtual void setIsPersistent (bool per)
 Set if the driver is persistent and should be saved between runs.
virtual bool isPersistent () const
 Get if the driver is persistent and should be saved between runs.
virtual bool isOnDriverSelectionList () const
 Returns whether or not this driver is to be automatically started/stopped from the driver selection list.
virtual void setOnDriverSelectionList (bool)
 Sets whether or not this item is on the driver selection list.
bool objectFromAgentManager (const DtUniqueID &id) const
 check to see if the object was created using this driver's agent manager.

Static Public Member Functions

static void getDeviceAddressList (std::vector< std::string > &deviceAddrs)
 Utility to get a list of deviceAddresses.

Protected Member Functions

virtual DtConnectioncreateConnection ()
 Abstract create simulation function called onStart.
- Protected Member Functions inherited from makVrv::DtDriver
void applyChangesAndDelete (DtElementChanges *changes)
 Function for apply changes from a changes object and deleting it.
void reportElementCreated (DtElementID id, DtElementID parentId, DtElementEntry::ElementType type)
 Report an element created.
void reportElementAttribute (DtElementID id, DtElementAttribute *attribute)
 Report an element attribute changed.
void reportElementDestroyed (DtElementID id)
 Report an element destroyed.
void start ()
 Start the driver.
void stop ()
 Stop the driver.
bool tick ()
 Tick the host driver.
virtual void setInstanceName (const std::string &name)
 set the Instance name.
virtual void installAccessories ()
 Installs accessories on this driver.
virtual void uninstallAccessories ()
 Removes accessories from this driver.

Protected Attributes

DtExerciseConnInitializer * myLocalExConnInitializer
bool myTimeoutProcessing
double myTimeoutInterval
- Protected Attributes inherited from makVrv::DtDriver
DtAgentManagermyAgentManager
bool myStartedFlag
std::string myName
DtConfiguration myConfiguration
bool myPersistentFlag
bool myUserControllableFlag
bool myRequestStateDiffPendingFlag
DtElementChanges myChanges

Additional Inherited Members

Detailed Description

The DtDriver for DIS.

Constructor & Destructor Documentation

makVrv::DtDisDriver::DtDisDriver ( DtAgentManager agentManager,
const std::string &  uniqueName,
const std::string &  className = "DtDisDriver" 
)

CTOR.

virtual makVrv::DtDisDriver::~DtDisDriver ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtDisDriver::realizeConfiguration ( const DtConfiguration config)
virtual

Realize the driver via a generic configuration.

Reimplemented from makVrv::DtDriver.

virtual DtConfiguration makVrv::DtDisDriver::createConfiguration ( ) const
virtual

Create a configuration for the driver.

Reimplemented from makVrv::DtDriver.

const DtExerciseConnInitializer& makVrv::DtDisDriver::exerciseSettings ( ) const
inline

Get the exercise settings.

void makVrv::DtDisDriver::setExerciseSettings ( const DtExerciseConnInitializer &  settings)

Set the exercise settings.

virtual bool makVrv::DtDisDriver::timeoutProcessing ( ) const
virtual

Get timeout processing status for this driver.

virtual void makVrv::DtDisDriver::setTimeoutProcessing ( bool  enabled)
virtual

Turn on or off timeout processing.

virtual double makVrv::DtDisDriver::timeoutInterval ( ) const
virtual

Get timeout interval for this driver (in seconds)

virtual void makVrv::DtDisDriver::setTimeoutInterval ( double  interval)
virtual

Set the timeout interval for this driver (in seconds)

static void makVrv::DtDisDriver::getDeviceAddressList ( std::vector< std::string > &  deviceAddrs)
static

Utility to get a list of deviceAddresses.

virtual DtConnection* makVrv::DtDisDriver::createConnection ( )
protectedvirtual

Abstract create simulation function called onStart.

Implements makVrv::DtVrlinkDriver.

Member Data Documentation

DtExerciseConnInitializer* makVrv::DtDisDriver::myLocalExConnInitializer
protected
bool makVrv::DtDisDriver::myTimeoutProcessing
protected
double makVrv::DtDisDriver::myTimeoutInterval
protected

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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)