VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtTacticalGraphicCreatePaletteLogic Class Reference
Inheritance diagram for makVrf::DtTacticalGraphicCreatePaletteLogic:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtTacticalGraphicCreatePaletteLogic ()
 virtual DTOR More...
 
virtual void setAllowCreateLocal (bool)
 
bool allowCreateLocal () const
 
- Public Member Functions inherited from makVrf::DtEntityCreatePaletteLogic
virtual ~DtEntityCreatePaletteLogic ()
 virtual DTOR More...
 
virtual void createAndAddItem (const std::string &name, const DtEntityMapperKey &key, const std::set< std::string > &categories, const std::vector< int > &forces, const std::string &description="", int itemsToCreate=0)
 
virtual void removeItem (const DtEntityMapperKey &key, bool matchesPattern=false)
 Removes an item from the internal list for any key that matches (or matches pattern of) the supplied key. More...
 
virtual void disconnectCreationSignal (bool disconnect)
 
virtual void setFavorite (const DtEntityMapperKey &, bool)
 Sets item to be a favorite or not. More...
 
virtual void setCombinePalettes (bool combine)
 Allows combining modelSetEntries from different palettes onto on. More...
 
virtual bool combinePalettes () const
 
virtual void addLocalPaletteFilter (const DtPaletteFilter &)
 This will only apply to this instance of the palette when filtering. More...
 
virtual void removeLocalPaletteFilter (const DtPaletteFilter &)
 
bool showNonCreatableUnits () const
 Whether or not non creatable units should be shown in this palette, if they are set to be displayable on this palette type. More...
 
virtual void setShowNonCreatableUnits (bool)
 
virtual void addIgnore (const DtEntityType &)
 Adds a key to ignore when filtering items. Will cause a re-filter. More...
 
virtual void clearIgnore ()
 Clears all the keys to ignore. Will cause a re-filter. More...
 
virtual const std::vector
< DtEntityType > & 
ignoring () const
 The entity types being ignored. More...
 
virtual void setIgnore (const std::vector< DtEntityType > &)
 Set the entity types to ignore. More...
 
virtual void slot_defaultIconListChanged ()
 

Static Public Member Functions

static
DtTacticalGraphicCreatePaletteLogic
create (makVrv::DtDe &de, DtEntityCreatePaletteInterface *iFace)
 Create and initialize the logic. More...
 
- Static Public Member Functions inherited from makVrf::DtEntityCreatePaletteLogic
static DtEntityCreatePaletteLogiccreate (makVrv::DtDe &de, DtEntityCreatePaletteInterface *iFace)
 Create and initialize the logic. More...
 
static void addGlobalPaletteFilter (const DtPaletteFilter &)
 Adds a filter to use to filter out items that should be added to palette. More...
 
static void removeGlobalPaletteFilter (const DtPaletteFilter &)
 

Protected Member Functions

 DtTacticalGraphicCreatePaletteLogic (makVrv::DtDe &de, DtEntityCreatePaletteInterface *iFace)
 Constructor (protected - use ::create() ) More...
 
virtual void enablePalette (int terrainPatchOffset=0)
 
virtual bool includeModelOnPage (DtModelSetEntry *model) const
 
- Protected Member Functions inherited from makVrf::DtEntityCreatePaletteLogic
 DtEntityCreatePaletteLogic (makVrv::DtDe &de, DtEntityCreatePaletteInterface *iFace)
 Constructor (protected - use ::create() ) More...
 
virtual void slot_postInitialize (makVrv::DtDe &de)
 
virtual void slot_modelSetChanged ()
 
virtual void slot_categoriesChanged (std::vector< std::string > newCategories)
 
virtual void slot_deployedCountryChanged (std::string newCategory)
 
virtual void slot_executeFilter ()
 
virtual void slot_selectedBackEndChanged (const DtSimulationAddress &old, const DtSimulationAddress &newaddr)
 
virtual void slot_backendUpdated (const DtVrfBackendState &, int)
 
virtual void slot_createObject (const DtEntityMapperKey &)
 
virtual bool modelIsCreatable (DtModelSetEntry *) const
 Returns true if this model is creatable. More...
 
virtual bool ignoreType (const DtEntityType &) const
 Whether or not to ignore this type. More...
 
virtual bool forceCanBeCreatedByUser (int) const
 
virtual bool shouldAddCreationItem (const DtEntityPaletteItem &, const std::set< std::string > &categories, const std::string &deployedCountry, int force) const
 
virtual void slot_terrainPatchToBeDeleted ()
 
virtual void slot_terrainPatchAdded ()
 
virtual void slot_sessionStatusChanged ()
 
virtual void slot_forceChanged ()
 If the force has changed and we are in creation mode change the force of the thing being created (as well as execute the filter) More...
 

Protected Attributes

bool myAllowCreateLocal
 
- Protected Attributes inherited from makVrf::DtEntityCreatePaletteLogic
makVrv::DtDemyDe
 
DtEntityCreatePaletteInterfacemyInterface
 
CategoriesMap myCategoriesMap
 
std::vector
< DtEntityPaletteItemHandle
myItems
 
makVrv::DtMenuPath myOrderedPath
 
bool myAllowOverlays
 
std::vector< DtPaletteFilter * > myLocalPaletteFilters
 
std::map< int, std::string > myPotentialForces
 
makVrv::DtSignalConnectionManager myConnectionManager
 
std::vector< DtEntityType > myRemoveItems
 
bool myShowNonCreatableUnits
 
bool myAllowCombineMode
 
std::vector< DtEntityType > myToIgnore
 

Additional Inherited Members

- Protected Types inherited from makVrf::DtEntityCreatePaletteLogic
typedef std::map< std::string,
std::set
< DtEntityPaletteItemHandle > > 
CategoriesMap
 
- Static Protected Attributes inherited from makVrf::DtEntityCreatePaletteLogic
static std::vector
< DtPaletteFilter * > 
theGlobalPaletteFilters
 

Constructor & Destructor Documentation

virtual makVrf::DtTacticalGraphicCreatePaletteLogic::~DtTacticalGraphicCreatePaletteLogic ( )
virtual

virtual DTOR

makVrf::DtTacticalGraphicCreatePaletteLogic::DtTacticalGraphicCreatePaletteLogic ( makVrv::DtDe de,
DtEntityCreatePaletteInterface iFace 
)
protected

Constructor (protected - use ::create() )

Member Function Documentation

static DtTacticalGraphicCreatePaletteLogic* makVrf::DtTacticalGraphicCreatePaletteLogic::create ( makVrv::DtDe de,
DtEntityCreatePaletteInterface iFace 
)
static

Create and initialize the logic.

virtual void makVrf::DtTacticalGraphicCreatePaletteLogic::setAllowCreateLocal ( bool  )
virtual
bool makVrf::DtTacticalGraphicCreatePaletteLogic::allowCreateLocal ( ) const
inline
virtual void makVrf::DtTacticalGraphicCreatePaletteLogic::enablePalette ( int  terrainPatchOffset = 0)
protectedvirtual
virtual bool makVrf::DtTacticalGraphicCreatePaletteLogic::includeModelOnPage ( DtModelSetEntry model) const
protectedvirtual

Member Data Documentation

bool makVrf::DtTacticalGraphicCreatePaletteLogic::myAllowCreateLocal
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)