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
makVrf::DtPropCreatePaletteLogic Class Reference

Logic associated with the DtPropCreatePalette class. More...

Public Member Functions

virtual ~DtPropCreatePaletteLogic ()
 virtual DTOR

Static Public Member Functions

static DtPropCreatePaletteLogiccreate (makVrv::DtDe &de, DtPropCreatePaletteInterface *iFace)
 Create and initialize the logic.

Protected Member Functions

void enablePalette (int terrainPatchOffset=0)
 DtPropCreatePaletteLogic (makVrv::DtDe &de, DtPropCreatePaletteInterface *iFace)
 Constructor (protected - use ::create() )
virtual void slot_itemSelected (const std::string &type, const std::string &modelDef)
virtual void slot_postInitialize (makVrv::DtDe &de)
virtual void slot_terrainPatchAdded ()
virtual void slot_terrainPatchToBeDeleted ()
virtual void populateGuiWithPropData ()
virtual std::string findCategory (const std::string &itemName, const DtVrfTerrainPropListRecord &categoryList, std::string &category) const
 Uses the passed in categoryList to find a matching category for itemName.
virtual std::string makeReadableName (const std::string &modelDefName) const
 Converts an inter caps and/or underscore separated model definition name to a user friendly string.

Protected Attributes

makVrv::DtDemyDe
DtPropCreatePaletteInterfacemyInterface
DtPointObjectDefinitionDialogmyObjectPropertiesDlg

Detailed Description

Logic associated with the DtPropCreatePalette class.

Constructor & Destructor Documentation

virtual makVrf::DtPropCreatePaletteLogic::~DtPropCreatePaletteLogic ( )
virtual

virtual DTOR

makVrf::DtPropCreatePaletteLogic::DtPropCreatePaletteLogic ( makVrv::DtDe de,
DtPropCreatePaletteInterface iFace 
)
protected

Constructor (protected - use ::create() )

Member Function Documentation

static DtPropCreatePaletteLogic* makVrf::DtPropCreatePaletteLogic::create ( makVrv::DtDe de,
DtPropCreatePaletteInterface iFace 
)
static

Create and initialize the logic.

void makVrf::DtPropCreatePaletteLogic::enablePalette ( int  terrainPatchOffset = 0)
protected
virtual void makVrf::DtPropCreatePaletteLogic::slot_itemSelected ( const std::string &  type,
const std::string &  modelDef 
)
protectedvirtual
virtual void makVrf::DtPropCreatePaletteLogic::slot_postInitialize ( makVrv::DtDe de)
protectedvirtual
virtual void makVrf::DtPropCreatePaletteLogic::slot_terrainPatchAdded ( )
protectedvirtual
virtual void makVrf::DtPropCreatePaletteLogic::slot_terrainPatchToBeDeleted ( )
protectedvirtual
virtual void makVrf::DtPropCreatePaletteLogic::populateGuiWithPropData ( )
protectedvirtual
virtual std::string makVrf::DtPropCreatePaletteLogic::findCategory ( const std::string &  itemName,
const DtVrfTerrainPropListRecord categoryList,
std::string &  category 
) const
protectedvirtual

Uses the passed in categoryList to find a matching category for itemName.

If found, the category name is returned in category, and the function returns itemName without the category prefix. If not found, the full itemName is returned, and category is null.

virtual std::string makVrf::DtPropCreatePaletteLogic::makeReadableName ( const std::string &  modelDefName) const
protectedvirtual

Converts an inter caps and/or underscore separated model definition name to a user friendly string.

Member Data Documentation

makVrv::DtDe& makVrf::DtPropCreatePaletteLogic::myDe
protected
DtPropCreatePaletteInterface* makVrf::DtPropCreatePaletteLogic::myInterface
protected
DtPointObjectDefinitionDialog* makVrf::DtPropCreatePaletteLogic::myObjectPropertiesDlg
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)