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

makVrv::DtModelDefinitionManagerDefinitionRenamed will handle the renaming of a model definition as it applied to changing a cockpit definition More...

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

Public Member Functions

 DtCockpitModelDefinitionRenamedChanged (DtDe &de)
virtual ~DtCockpitModelDefinitionRenamedChanged ()
virtual void modelDefinitionRenamed (const std::string &oldName, const std::string &newName)
 Method called when the model definition has indicated a name has changed.
const std::string & oldName () const
const std::string & newName () const
- Public Member Functions inherited from makVrv::DtSettingsChangeObject
 DtSettingsChangeObject (SettingsChangeType type)
virtual ~DtSettingsChangeObject ()
SettingsChangeType type () const

Protected Attributes

DtDemyDe
std::string myOldName
std::string myNewName
- Protected Attributes inherited from makVrv::DtSettingsChangeObject
SettingsChangeType myType

Additional Inherited Members

- Public Types inherited from makVrv::DtSettingsChangeObject
enum  SettingsChangeType {
  SchemaRenamed = 1, SchemaParameterRenamed, ModelDefinitionRenamed, ElementDefinitionRenamed,
  SettingsChangedUserDefinedStart = 100000
}
enum  UseType { ElementDefinition = 0, ModelDefinition, SchemaDefinition, UserDefined = 100000 }
- Public Attributes inherited from makVrv::DtSettingsChangeObject
boost::signal< void(DtSettingsChangeObject *)> signal_changeInvoked
 Emit this signal when the setting change object has been invoked.

Detailed Description

makVrv::DtModelDefinitionManagerDefinitionRenamed will handle the renaming of a model definition as it applied to changing a cockpit definition

Constructor & Destructor Documentation

makVrv::DtCockpitModelDefinitionRenamedChanged::DtCockpitModelDefinitionRenamedChanged ( DtDe de)
virtual makVrv::DtCockpitModelDefinitionRenamedChanged::~DtCockpitModelDefinitionRenamedChanged ( )
virtual

Member Function Documentation

virtual void makVrv::DtCockpitModelDefinitionRenamedChanged::modelDefinitionRenamed ( const std::string &  oldName,
const std::string &  newName 
)
virtual

Method called when the model definition has indicated a name has changed.

Will look at cockpit definitions to see if a name there needs to be changed. If so will register that the cockpit definition in question needs to be restored if the model definition is restored

const std::string& makVrv::DtCockpitModelDefinitionRenamedChanged::oldName ( ) const
inline
const std::string& makVrv::DtCockpitModelDefinitionRenamedChanged::newName ( ) const
inline

Member Data Documentation

DtDe& makVrv::DtCockpitModelDefinitionRenamedChanged::myDe
protected
std::string makVrv::DtCockpitModelDefinitionRenamedChanged::myOldName
protected
std::string makVrv::DtCockpitModelDefinitionRenamedChanged::myNewName
protected

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)