17 #include <boost/unordered_map.hpp>
24 class DtBaseConnection;
48 UnusedHighGroup = 1000000,
88 addOverlayGroupSet(
"hoverGroupSet" );
89 addOverlayGroupSet(
"selectedGroupSet" );
90 addOverlayGroupSet(
"aboveIconsGroupSet" );
91 addOverlayGroupSet(
"iconsGroupSet" );
92 addOverlayGroupSet(
"rangeInfoGroupSet" );
93 addOverlayGroupSet(
"entityInfoPinnedGroupSet" );
94 addOverlayGroupSet(
"symbolDecorationGroupSet" );
99 virtual void addOverlayGroupSet(
const std::string& name );
104 virtual void addOverlayGroupSetUnder(
const std::string& name,
105 const std::string& beforeName );
110 virtual void addOverlayGroupSetAbove(
const std::string& name,
111 const std::string& afterName );
115 virtual const GroupRangeList& overlayGroupSets()
const;
120 virtual GroupRangeList& overlayGroupSets();
127 virtual unsigned int nextGroupId(
const std::string& groupSetName );
131 template <
typename ManagerClass>
134 template <
typename ManagerClass>
149 virtual void initializeGroupIdGenerators();
166 unsigned int minId,
unsigned int maxId );
173 unsigned int nextGroupId();
189 typedef boost::unordered_map<std::string,DtOverlayGroupIdGenerator*>
std::string myGroupName
Definition: DtOverlayGroupManager.h:177
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
unsigned int myMaxId
Definition: DtOverlayGroupManager.h:182
boost::unordered_map< std::string, DtOverlayGroupIdGenerator * > GroupIdGeneratorList
Map type for mapping overlay group sets to their ID generators.
Definition: DtOverlayGroupManager.h:190
std::list< std::string > GroupRangeList
List type for the names and order of configured overlay group sets.
Definition: DtOverlayGroupManager.h:52
unsigned int myNextGroupId
Definition: DtOverlayGroupManager.h:198
Manages the allocation of overlay groups. Overlay groups are used to determine the draw order of spri...
Definition: DtOverlayGroupManager.h:37
Generates group ids for within the given range. The group id generator keeps track of the next availa...
Definition: DtOverlayGroupManager.h:157
void initializeDefaultGroupSets()
Initialization of the default group sets used by VR-Vantage. This method creates the default overlay ...
Definition: DtOverlayGroupManager.h:86
OverlayGroupId
Enumerates the various special valued overlay group ids.
Definition: DtOverlayGroupManager.h:42
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:35
Contains makVrv::DtVirtualBaseClass class.
bool myModificationsLockedFlag
Definition: DtOverlayGroupManager.h:200
GroupRangeList myOverlayGroupRanges
Definition: DtOverlayGroupManager.h:194
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
void defaultManagerRegisterInstanceFunction(DtDe &de, ManagerClass *mgr)
Default implementation of how to register a manager, especially necessary when overriding the manager...
Definition: DtDe.h:887
DtDe * myOptionalDe
Definition: DtOverlayGroupManager.h:196
Base class to provide boost signal/slot management.
ManagerClass & defaultManagerInstanceFunction(DtDe &de, bool allowedInSlave)
default Manager instance function. Manager requirements: 1) Static instance function 2) Protected DtS...
Definition: DtDe.h:849
unsigned int myMinId
Definition: DtOverlayGroupManager.h:181
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
unsigned int myNextId
Definition: DtOverlayGroupManager.h:179
GroupIdGeneratorList myGroupIdGenerators
Definition: DtOverlayGroupManager.h:192
Contains DLL export macros.