6 #include <vlutil/vlString.h>
7 #include <vlpi/entityIdentifier.h>
8 #include <vlutil/vlHashlist.h>
9 #include <vlutil/vlHashKeys.h>
17 class DtGlobalIdMapper;
47 typedef DtEntityIdentifier
DisId;
55 enum { NoSystemId = -1};
56 enum { NoBeamId = -1};
61 EmitterSystemType = 1,
62 RadioTransmitterType = 2,
63 RadioReceiverType = 3,
65 EnvironmentProcess = 5,
77 virtual bool add(
const PortalId &portal_name,
78 const DisId &dis_name,
79 ObjectType oType = EntityType,
80 int systemId = NoSystemId,
81 int beamId = NoBeamId);
86 virtual void remove(
const PortalId &portal_name);
91 virtual void remove(
const DisId &dis_name,
92 ObjectType otype = EntityType,
93 int systemId = NoSystemId,
94 int beamId = NoBeamId);
99 virtual void remove(
const PortalId &portal_name,
100 const DisId &dis_name,
101 ObjectType otype = EntityType,
102 int systemId = NoSystemId,
103 int beamId = NoBeamId);
108 virtual const PortalId &convertDisGidToPortalGid(
109 const DisId &dis_name,
110 ObjectType = EntityType,
111 int systemId = NoSystemId,
112 int beamId = NoBeamId);
116 virtual const DisId &convertPortalGidToDisGid(
118 ObjectType* otype = 0,
123 virtual bool unique(
const PortalId &portal_name)
const;
126 virtual bool unique(
const DisId &dis_name,
127 ObjectType oType = EntityType,
128 int systemId = NoSystemId,
129 int beamId = NoBeamId)
const;
134 virtual void setDebug(
bool debugOn);
137 virtual bool debug ()
const;
142 virtual void setParseUnknownIds(
bool parseOn);
145 virtual bool parseUnknownIds()
const;
149 const PortalId& parseAndCreatePortalId(
150 const DisId& disName,
const DtStringHashKey& disKey,
151 ObjectType oType = EntityType,
int systemId = NoSystemId,
int beamId = NoBeamId);
154 const DisId& parseAndCreateDisId(
155 const PortalId& portalName,
const DtStringHashKey& portalKey,
156 ObjectType* oType = 0,
int* systemId = 0,
int* beamId = 0);
158 virtual bool addUnknownIds(
const PortalId &portal_name,
159 const DisId &dis_name,
160 ObjectType oType = EntityType,
161 int systemId = NoSystemId,
162 int beamId = NoBeamId);
164 DtStringHashKey createDisKey(
const DisId& dis_name,
165 ObjectType oType,
int systemId,
int beamId)
const;
197 int systemId()
const;