VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtCigiConnSettingsHandler Class Reference

This class holds the CIGI settings used by the DtCigiConnection object. More...

List of all members.

Public Member Functions

 DtCigiConnSettingsHandler (DtSharedSettingsManager &settingsManager, const std::string &settingsName)
 Constructor.
virtual ~DtCigiConnSettingsHandler ()
 Destructor.
const
makArchives::DtCigiSettingsRecord
settings () const
 Returns the CIGI settings.

Protected Member Functions

void on_entityTypeMappingAdded (const std::string &settingsName, int entType, const std::string &modelDef, const std::string &schemaName)
 Slot called when an entity type mapping is added.
void on_entityTypeMappingRemoved (const std::string &settingsName, int entType)
 Slot called when an entity type mapping is removed.
void on_entityTypeRemapped (const std::string &settingsName, int oldType, int newType)
 Slot called when the CIGI entity type is changed for a particular model definition.
void on_cigiSettingsLoaded (const std::string &settingsName, const makArchives::DtCigiSettingsRecord &record)
 Slot called when CIGI settings are imported.
void on_artPartMappingSet (const std::string &settingsName, int entType, int cigiId, int disId)
 Slot called when an articulated part mapping is set.
void on_artPartMappingRemoved (const std::string &settingsName, int entType, int cigiId)
 Slot called when an articulated part mapping is removed.
void on_modelStateMappingAdded (const std::string &settingsName, int cigiId, int stateId)
 Slot called when a model state mapping is added.
void on_modelStateMappingRemoved (const std::string &settingsName, int cigiId)
 Slot called when a model state mapping is removed.
void on_animationMappingAdded (const std::string &settingsName, int animationId, const std::string &animationName)
 Slot called when an animation mapping is added.
void on_animationMappingRemoved (const std::string &settingsName, int animationId)
 Slot called when an animation mapping is removed.
void on_componentMappingAdded (const std::string &settingsName, makArchives::DtCigiComponentClass compClass, int compId, const std::string &compName)
 Slot called when an component mapping is added.
void on_componentMappingRemoved (const std::string &settingsName, makArchives::DtCigiComponentClass compClass, int cigiId)
 Slot called when an component mapping is removed.
void on_databaseMappingAdded (const std::string &settingsName, int databaseNumber, const std::string &filename)
 Slot called when an database mapping is added.
void on_databaseMappingRemoved (const std::string &settingsName, int databaseNumber)
 Slot called when an database mapping is removed.

Protected Attributes

DtSharedSettingsManagermySettingsManager
std::string mySettingsName
makArchives::DtCigiSettingsRecord mySettings
DtSignalConnectionManager mySignals

Detailed Description

This class holds the CIGI settings used by the DtCigiConnection object.

A named settings object is held by this class, and if those settings are modified in the GUI, signals will be sent to this class with the settings name and other parameters to describe the change. If the settings name in the GUI matches the settings held by the connection, they will be modified. This is all done so that settings can be changed while the CIGI driver is connected.


Constructor & Destructor Documentation

makVrv::DtCigiConnSettingsHandler::DtCigiConnSettingsHandler ( DtSharedSettingsManager settingsManager,
const std::string &  settingsName 
)

Constructor.

Destructor.


Member Function Documentation

Returns the CIGI settings.

void makVrv::DtCigiConnSettingsHandler::on_entityTypeMappingAdded ( const std::string &  settingsName,
int  entType,
const std::string &  modelDef,
const std::string &  schemaName 
) [protected]

Slot called when an entity type mapping is added.

void makVrv::DtCigiConnSettingsHandler::on_entityTypeMappingRemoved ( const std::string &  settingsName,
int  entType 
) [protected]

Slot called when an entity type mapping is removed.

void makVrv::DtCigiConnSettingsHandler::on_entityTypeRemapped ( const std::string &  settingsName,
int  oldType,
int  newType 
) [protected]

Slot called when the CIGI entity type is changed for a particular model definition.

void makVrv::DtCigiConnSettingsHandler::on_cigiSettingsLoaded ( const std::string &  settingsName,
const makArchives::DtCigiSettingsRecord record 
) [protected]

Slot called when CIGI settings are imported.

void makVrv::DtCigiConnSettingsHandler::on_artPartMappingSet ( const std::string &  settingsName,
int  entType,
int  cigiId,
int  disId 
) [protected]

Slot called when an articulated part mapping is set.

void makVrv::DtCigiConnSettingsHandler::on_artPartMappingRemoved ( const std::string &  settingsName,
int  entType,
int  cigiId 
) [protected]

Slot called when an articulated part mapping is removed.

void makVrv::DtCigiConnSettingsHandler::on_modelStateMappingAdded ( const std::string &  settingsName,
int  cigiId,
int  stateId 
) [protected]

Slot called when a model state mapping is added.

void makVrv::DtCigiConnSettingsHandler::on_modelStateMappingRemoved ( const std::string &  settingsName,
int  cigiId 
) [protected]

Slot called when a model state mapping is removed.

void makVrv::DtCigiConnSettingsHandler::on_animationMappingAdded ( const std::string &  settingsName,
int  animationId,
const std::string &  animationName 
) [protected]

Slot called when an animation mapping is added.

void makVrv::DtCigiConnSettingsHandler::on_animationMappingRemoved ( const std::string &  settingsName,
int  animationId 
) [protected]

Slot called when an animation mapping is removed.

void makVrv::DtCigiConnSettingsHandler::on_componentMappingAdded ( const std::string &  settingsName,
makArchives::DtCigiComponentClass  compClass,
int  compId,
const std::string &  compName 
) [protected]

Slot called when an component mapping is added.

void makVrv::DtCigiConnSettingsHandler::on_componentMappingRemoved ( const std::string &  settingsName,
makArchives::DtCigiComponentClass  compClass,
int  cigiId 
) [protected]

Slot called when an component mapping is removed.

void makVrv::DtCigiConnSettingsHandler::on_databaseMappingAdded ( const std::string &  settingsName,
int  databaseNumber,
const std::string &  filename 
) [protected]

Slot called when an database mapping is added.

void makVrv::DtCigiConnSettingsHandler::on_databaseMappingRemoved ( const std::string &  settingsName,
int  databaseNumber 
) [protected]

Slot called when an database mapping is removed.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)