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

Logic class for the observers list panel. More...

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

Public Member Functions

virtual ~DtObserversListLogic ()
 DTOR. More...
 
- Public Member Functions inherited from makVrv::DtItemsListLogic
virtual ~DtItemsListLogic ()
 DTOR. More...
 
 DtItemsListLogic (DtDe &de, DtItemsListInterface *iFace)
 Constructor. More...
 
virtual void setEventObjectType (const std::string &objectType)
 Set the object type of the event, used to filter it out from tactical graphics. More...
 
std::string eventObjectType () const
 Get the object type of the event, used to filter it out from tactical graphics. More...
 

Protected Member Functions

 DtObserversListLogic (DtDe &de, DtItemsListInterface *iFace)
 Protected Constructor. More...
 
virtual bool passElementTypeTest (const DtElementEntry &data)
 Check if an element pass the test to be added into the tree widget. Must be overrided by subclass. More...
 
- Protected Member Functions inherited from makVrv::DtItemsListLogic
void connectSignals ()
 Connect the signals, called in the CTOR. More...
 
int findIndexForSubTypeTopLevelItem (const DtElementAttributes::ElementSubtypes &subType)
 Find the correct index for the subType(Friendly, Opposing, Munitions, etc) top level item. More...
 
int findIndexForTypeTopLevelItem (const DtElementEntry::ElementType &type)
 Find the correct index for the type(Observers, Tactical Graphics, etc) top level item. More...
 
virtual void addElement (const DtElementEntry &element)
 Add an element into the display tree widget. More...
 
std::string elementTypeToString (const DtElementEntry::ElementType &type) const
 Get the display name for the element type(Observers, Tactical Graphics, etc). More...
 
std::string elementSubTypeToString (const DtElementAttributes::ElementSubtypes &subType) const
 Get the display name for the element subType(Friendly, Opposing, Munitions, etc). More...
 
std::string iconForElementType (const DtElementEntry::ElementType &type) const
 Get the icon path for the element type top level item(Observers, Tactical Graphics, etc). More...
 
std::string iconForElementSubType (const DtElementAttributes::ElementSubtypes &subType) const
 Get the icon path for the element subType top level item(Friendly, Opposing, Munitions, etc). More...
 
virtual void slot_elementsInitialized (const DtElementData::ElementIdList &elements)
 Slot when elements are initialized and be ready to be displayed. More...
 
virtual void slot_elementsRemoved (const DtElementData::ElementIdList &elements)
 Slot when elements are removed. More...
 
virtual void slot_attributesChanged (const DtElementAttributeManager::EntryAttributesList &list)
 Slot when the attributes of the elements are changed. More...
 
virtual void slot_itemAttachRequested (DtElementID id)
 Slot when user double click on the tree widget item. More...
 
virtual void slot__itemSelectionChanged (const std::vector< DtElementID > &idList)
 Slot when the current selection of the tree widget changed. More...
 
virtual void slot_selectManagerSelectionChanged (const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &deselected)
 Slot when the current selection of the tree widget changed. More...
 
virtual void getColorForSubtypeForce (const DtElementAttributes::ElementSubtypes &subType, double &r, double &g, double &a) const
 Get the color of the subType force. More...
 
virtual void onDisplayNameChanged (DtElementEntry *entry, const std::string &newName)
 Called when the display name of the element changed. More...
 
virtual void onSubtypeChanged (DtElementEntry *entry, int subType)
 Called when the sub type of the element changed. More...
 
virtual void onDamageStateChanged (DtElementEntry *entry, int damageState)
 Called when the damage state of the element changed. More...
 

Private Member Functions

 DtObserversListLogic ()
 Unimplemented Default CTOR. More...
 
 DtObserversListLogic (const DtObserversListLogic &orig)
 Not implemented. More...
 
DtObserversListLogicoperator= (const DtObserversListLogic &orig)
 Not implemented. More...
 

Friends

class DtObserversListLogicCreator
 

Additional Inherited Members

- Protected Attributes inherited from makVrv::DtItemsListLogic
DtDemyDe
 
DtItemsListInterfacemyInterface
 
DtSignalConnectionManager mySignals
 
std::string myEventObjectType
 

Detailed Description

Logic class for the observers list panel.

"Observers" will include Observers.

See Also
makVrv::DtItemsListLogic

Constructor & Destructor Documentation

virtual makVrv::DtObserversListLogic::~DtObserversListLogic ( )
virtual

DTOR.

makVrv::DtObserversListLogic::DtObserversListLogic ( DtDe de,
DtItemsListInterface iFace 
)
protected

Protected Constructor.

Use DtOsgEarthProfileLogicCreator to create instances of this class

makVrv::DtObserversListLogic::DtObserversListLogic ( )
private

Unimplemented Default CTOR.

makVrv::DtObserversListLogic::DtObserversListLogic ( const DtObserversListLogic orig)
private

Not implemented.

Member Function Documentation

virtual bool makVrv::DtObserversListLogic::passElementTypeTest ( const DtElementEntry data)
protectedvirtual

Check if an element pass the test to be added into the tree widget. Must be overrided by subclass.

Implements makVrv::DtItemsListLogic.

DtObserversListLogic& makVrv::DtObserversListLogic::operator= ( const DtObserversListLogic orig)
private

Not implemented.

Friends And Related Function Documentation

friend class DtObserversListLogicCreator
friend

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)