VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtPropCreatePaletteLogic Class Reference

Logic associated with the DtPropCreatePalette class. More...

List of all members.

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 DTOR

Constructor (protected - use ::create() )


Member Function Documentation

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 
) [protected, virtual]
virtual void makVrf::DtPropCreatePaletteLogic::slot_postInitialize ( makVrv::DtDe de) [protected, virtual]
virtual void makVrf::DtPropCreatePaletteLogic::slot_terrainPatchAdded ( ) [protected, virtual]
virtual void makVrf::DtPropCreatePaletteLogic::populateGuiWithPropData ( ) [protected, virtual]
virtual std::string makVrf::DtPropCreatePaletteLogic::findCategory ( const std::string &  itemName,
const DtVrfTerrainPropListRecord categoryList,
std::string &  category 
) const [protected, virtual]

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 [protected, virtual]

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


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)