VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtElementAttributesMonitor.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2024 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 #include <vrvCore/DtDataBank.h>
16 
19 
20 #include <string>
21 
22 namespace makVrv
23 {
28  {
29  public:
30 
33 
35  virtual ~DtElementAttributesMonitor();
36 
40  virtual void processElementInitialized(makVrv::DtElementID entity);
41 
45  virtual void processElementRemoved(makVrv::DtElementID entity);
46 
55  virtual void dumpElements();
56 
58  static std::string elementTypeToString(DtElementEntry::ElementType elementType);
59 
61  static std::string elementSubTypeToString(DtElementAttributes::ElementSubtypes subType);
62 
63  protected:
64 
66  virtual void slot_elementsInitialized(const DtElementData::ElementIdList& elements);
67 
69  virtual void slot_elementsRemoved(const DtElementData::ElementIdList& elements);
70 
72  virtual void slot_attributesChanged(const DtElementAttributeManager::EntryAttributesList& entryAttributeList);
73 
74  protected:
77  };
78 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
std::vector< DtElementID > ElementIdList
Type definition for a vector of DtElementIDs. DtElementIDs ARE DtUniqueIDs, but not all DtUniqueIDs a...
Definition: DtElementData.h:54
Contains declarations for plugin initialization functions.
#define DT_DLL_EXAMPLEELEMENTATTRIBUTESPLUGIN
Definition: exampleElementAttributesPlugin.h:19
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
ElementSubtypes
Definition: DtElementAttributes.h:57
Contains makVrv::DtVirtualBaseClass class.
std::vector< EntryAttributes > EntryAttributesList
Define the type used to signal changes to one or more attributes for one or more elements.
Definition: DtElementAttributeManager.h:44
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
ElementType
Definition: DtElementEntry.h:26
DtSignalConnectionManager mySignalConnections
Definition: DtElementAttributesMonitor.h:76
Base class to provide boost signal/slot management.
Contains the DtElementAttributeManager class declaration.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
The DtElementAttributesMonitor connects to signals from the the DtDe&#39;s elementData to track the attri...
Definition: DtElementAttributesMonitor.h:27
DtDe & myDe
Definition: DtElementAttributesMonitor.h:75
Contains makVrv::DtDataBank class.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)