13 #include <vlpi/entityIdentifier.h>
14 #include <vlutil/vlHashlist.h>
15 #include <vlutil/vlHashKeys.h>
16 #include <vlutil/vlString.h>
24 class DtGlobalIdMapper;
54 typedef DtEntityIdentifier
DisId;
62 enum { NoSystemId = -1};
63 enum { NoBeamId = -1};
68 EmitterSystemType = 1,
69 RadioTransmitterType = 2,
70 RadioReceiverType = 3,
72 EnvironmentProcess = 5,
75 AdditionalPassiveActivitesType = 8,
76 PropulsionNoiseType = 9,
89 virtual bool add(
const PortalId& portal_name,
const DisId& dis_name,
90 ObjectType oType = EntityType,
int systemId = NoSystemId,
91 int beamId = NoBeamId );
96 virtual void remove(
const PortalId& portal_name );
101 virtual void remove(
const DisId& dis_name, ObjectType otype = EntityType,
102 int systemId = NoSystemId,
int beamId = NoBeamId );
106 virtual void remove(
const PortalId& portal_name,
const DisId& dis_name,
107 ObjectType otype = EntityType,
int systemId = NoSystemId,
108 int beamId = NoBeamId );
113 virtual const PortalId& convertDisGidToPortalGid(
const DisId& dis_name,
114 ObjectType = EntityType,
int systemId = NoSystemId,
int beamId = NoBeamId );
118 virtual const DisId& convertPortalGidToDisGid(
const PortalId& portal_name,
119 ObjectType* otype = 0,
int* systemId = 0,
int* beamId = 0 );
122 virtual bool unique(
const PortalId& portal_name )
const;
125 virtual bool unique(
const DisId& dis_name, ObjectType oType = EntityType,
126 int systemId = NoSystemId,
int beamId = NoBeamId )
const;
131 virtual void setDebug(
bool debugOn );
134 virtual bool debug ()
const;
139 virtual void setParseUnknownIds(
bool parseOn);
142 virtual bool parseUnknownIds()
const;
147 const PortalId& parseAndCreatePortalId(
148 const DisId& disName,
const DtStringHashKey& disKey,
149 ObjectType oType = EntityType,
int systemId = NoSystemId,
int beamId = NoBeamId);
152 const DisId& parseAndCreateDisId(
153 const PortalId& portalName,
const DtStringHashKey& portalKey,
154 ObjectType* oType = 0,
int* systemId = 0,
int* beamId = 0);
156 virtual bool addUnknownIds(
const PortalId &portal_name,
157 const DisId &dis_name,
158 ObjectType oType = EntityType,
159 int systemId = NoSystemId,
160 int beamId = NoBeamId);
162 DtStringHashKey createDisKey(
const DisId& dis_name,
163 ObjectType oType,
int systemId,
int beamId)
const;
197 int systemId()
const;