17 #include <matrix/vlVector.h>
22 #include <unordered_map>
27 class DtAgentManagerInterface;
28 class DtBuoyOrBeaconFacade;
29 class DtBuoyBeaconModelStringParser;
30 class DtTextureAtlasIndexParser;
48 AttachableDaymarks = 1,
49 AttachableTopmarks = 2
53 static const int NumAttachableTypes = 3;
58 typedef bool HasAttachable[NumAttachableTypes];
75 const DtVector& initialPosition, HasAttachable attachables );
79 virtual bool destroyBuoyOrBeacon(
DtUniqueID elementId );
108 void set2dIconsEnabled(
bool enabled);
115 void slot_sceneCreated();
118 void slot_postInitialize();
122 virtual void initializeFeatureCreators();
125 typedef std::unordered_multimap<std::string, std::string>
StylesMap;
130 bool readStyleListFile(
const std::string& path,
131 const std::string& layerListFileName,
StylesMap& map );
153 typedef std::unordered_map<DtUniqueID, DtVector>
DtSignalConnectionManager myConnections
Definition: DtBuoyBeaconLayer.h:144
BuoyBeaconMap myBuoysAndBeacons
Definition: DtBuoyBeaconLayer.h:143
std::unordered_map< DtUniqueID, DtVector > PendingItemAttachmentMap
List of buoy and beacons ids and locations that should be attached to an attachable item...
Definition: DtBuoyBeaconLayer.h:154
DtAgentManagerInterface & mySceneInterface
Definition: DtBuoyBeaconLayer.h:142
static const char * S57IconMap
Definition: DtBuoyBeaconLayer.h:138
static const char * S57Defaults
Definition: DtBuoyBeaconLayer.h:137
StylesMap myStylesMap
Definition: DtBuoyBeaconLayer.h:149
DtDe & myDe
Definition: DtBuoyBeaconLayer.h:141
DtTextureAtlasIndexParser * myTextureAtlasIndexParser
Definition: DtBuoyBeaconLayer.h:146
Definition: DtTextureAtlasIndexParser.h:33
DtBuoyBeaconModelStringParser * myBuoyMarkerStringParser
Definition: DtBuoyBeaconLayer.h:145
std::unordered_multimap< std::string, std::string > StylesMap
Type for sets of style names (layers) we listen to.
Definition: DtBuoyBeaconLayer.h:125
The DtBuoyBeaconLayer is the base implementation of a layer of data which contains buoys and beacons ...
Definition: DtBuoyBeaconLayer.h:35
AttachableTypes
These are used to tell managers of attachable items what type of item they manage; they are also used...
Definition: DtBuoyBeaconLayer.h:45
std::map< DtUniqueID, DtBuoyOrBeaconFacade * > BuoyBeaconMap
List of Buoys and Beacons.
Definition: DtBuoyBeaconLayer.h:39
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
static const char * S57LayerList
Definition: DtBuoyBeaconLayer.h:136
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
static const char * S57ModelDefByNameMap
Definition: DtBuoyBeaconLayer.h:135
The DtBuoyBeaconModelStringParser parses the buoy attributes found in the strings used by streamed bu...
Definition: DtBuoyBeaconModelStringParser.h:66
boost::signalslib::connection myPostInitializeConnection
Definition: DtBuoyBeaconLayer.h:164
static const char * S57AttrMapFilename
Definition: DtBuoyBeaconLayer.h:134
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
std::string myName
Definition: DtBuoyBeaconLayer.h:147
Base class to provide boost signal/slot management.
Contains makVrv::DtUniqueID type.
The abstract interface necessary for agents.
Definition: DtAgentManagerInterface.h:33
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:72
The DtEntityFacade is a facade around agents that make up an entity. This entity facade represents a ...
Definition: DtBuoyOrBeaconFacade.h:24
Contains DLL export macros.