18 # define MUST_UNDEF_DTDIS
22 #include <vl/globalObjectDesignator.h>
24 #ifdef MUST_UNDEF_DTDIS
29 #include <vlutil/vlHashlist.h>
30 #include <vlutil/vlHashKeys.h>
31 #include <vlutil/vlString.h>
38 class DtGlobalIdMapper;
59 typedef DtEntityIdentifier
DdsId;
64 enum { NoSystemId = -1};
65 enum { NoBeamId = -1};
70 EmitterSystemType = 1,
71 RadioTransmitterType = 2,
72 RadioReceiverType = 3,
74 EnvironmentProcess = 5,
88 virtual bool add(
const PortalId &portal_name,
89 const DdsId &dds_name,
90 ObjectType oType = EntityType,
91 int systemId = NoSystemId,
92 int beamId = NoBeamId);
96 virtual void remove(
const PortalId &portal_name);
97 virtual void remove(
const DdsId &dds_name,
98 ObjectType otype = EntityType,
99 int systemId = NoSystemId,
100 int beamId = NoBeamId);
105 virtual void remove(
const PortalId &portal_name,
106 const DdsId &dds_name,
107 ObjectType otype = EntityType,
108 int systemId = NoSystemId,
109 int beamId = NoBeamId);
114 virtual const PortalId &convertDdsGidToPortalGid(
115 const DdsId &dds_name,
116 ObjectType = EntityType,
117 int systemId = NoSystemId,
118 int beamId = NoBeamId);
122 virtual const DdsId &convertPortalGidToDdsGid(
124 ObjectType* otype = 0,
128 virtual bool unique(
const PortalId &portal_name)
const;
129 virtual bool unique(
const DdsId &dds_name,
130 ObjectType oType = EntityType,
131 int systemId = NoSystemId,
132 int beamId = NoBeamId)
const;
134 virtual void setDebug(
bool debugOn);
135 virtual bool debug ()
const;
137 virtual void setParseUnknownIds(
bool parseOn);
138 virtual bool parseUnknownIds()
const;
143 const PortalId& parseAndCreatePortalId(
144 const DdsId& ddsName,
const DtStringHashKey& ddsKey,
145 ObjectType oType = EntityType,
int systemId = NoSystemId,
int beamId = NoBeamId);
148 const DdsId& parseAndCreateDdsId(
149 const PortalId& portalName,
const DtStringHashKey& portalKey,
150 ObjectType* oType = 0,
int* systemId = 0,
int* beamId = 0);
152 virtual bool addUnknownIds(
const PortalId &portal_name,
153 const DdsId &dds_name,
154 ObjectType oType = EntityType,
155 int systemId = NoSystemId,
156 int beamId = NoBeamId);
158 DtStringHashKey createDdsKey(
const DdsId& dds_name,
159 ObjectType oType,
int systemId,
int beamId)
const;