VR-Forces 5.0.2 Developer's Guide
 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
makVrv::DtElementAttributesMonitor Class Reference

The DtElementAttributesMonitor connects to signals from the the DtDe's elementData to track the attributes of elements as they are added and removed.

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

Public Member Functions

 DtElementAttributesMonitor (DtDe &de)
 
virtual ~DtElementAttributesMonitor ()
 
virtual void processElementInitialized (makVrv::DtElementID entity)
 
virtual void processElementRemoved (makVrv::DtElementID entity)
 
virtual void dumpElements ()
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static std::string elementTypeToString (DtElementEntry::ElementType elementType)
 
static std::string elementSubTypeToString (DtElementAttributes::ElementSubtypes subType)
 

Protected Member Functions

virtual void slot_elementsInitialized (const DtElementData::ElementIdList &elements)
 
virtual void slot_elementsRemoved (const DtElementData::ElementIdList &elements)
 

Protected Attributes

DtDemyDe
 
DtSignalConnectionManager mySignalConnections
 

Constructor & Destructor Documentation

makVrv::DtElementAttributesMonitor::DtElementAttributesMonitor ( DtDe de)

CTOR.

virtual makVrv::DtElementAttributesMonitor::~DtElementAttributesMonitor ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::DtElementAttributesMonitor::processElementInitialized ( makVrv::DtElementID  entity)
virtual

Print the attribute information for an initialized element entry. This method is called by.

See Also
slot_elementsInitialized for each element in the list of elements that signal_elementsInitialized provides.
virtual void makVrv::DtElementAttributesMonitor::processElementRemoved ( makVrv::DtElementID  entity)
virtual

Print the element id and name (if it exists) for an element. This method is called by.

See Also
slot_elementsRemoved for each element in the list of elements that signal_elementsToBeRemoved provides.
virtual void makVrv::DtElementAttributesMonitor::dumpElements ( )
virtual

Dump all the named Elements to the console. This method dumps all of the entries in the element ID to Display Name map held by the attribute manager. It shows how to use the iterator methods provided by that manager. Note that use of this method (and the underlying DtElementAttributeManager::startNamedElementIteration() / DtElementAttributeManager::getNextElementIdAndDisplayName that it uses) depends on unique display name to element id pairs. If a simulation has duplicate display names for elements (or an app like the VRF GUI) these maps are not necessarily valid.

static std::string makVrv::DtElementAttributesMonitor::elementTypeToString ( DtElementEntry::ElementType  elementType)
static

Get a readable form of an elementType enumeration value.

static std::string makVrv::DtElementAttributesMonitor::elementSubTypeToString ( DtElementAttributes::ElementSubtypes  subType)
static

GEt a readable form of an ElementSubtypes enumeration value.

virtual void makVrv::DtElementAttributesMonitor::slot_elementsInitialized ( const DtElementData::ElementIdList elements)
protectedvirtual

Slot connected to DtElementData's signal_signal_elementsInitialized signal.

virtual void makVrv::DtElementAttributesMonitor::slot_elementsRemoved ( const DtElementData::ElementIdList elements)
protectedvirtual

Slot connected to DtElementData's signal_elementsToBeRemoved signal.

Member Data Documentation

DtDe& makVrv::DtElementAttributesMonitor::myDe
protected
DtSignalConnectionManager makVrv::DtElementAttributesMonitor::mySignalConnections
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)