VR-Link JAVA API Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
List of all members | Public Member Functions | Private Attributes
com.mak.vrlj.object.EmbeddedIdentifier Class Reference

A tuple which uniquely identifies a embedded object. More...

+ Inheritance diagram for com.mak.vrlj.object.EmbeddedIdentifier:
+ Collaboration diagram for com.mak.vrlj.object.EmbeddedIdentifier:

Public Member Functions

 EmbeddedIdentifier (GlobalObjectDesignator hostGod, short embeddedId, String idType)
 Create an EmbeddedIdentifier. More...
 
 EmbeddedIdentifier (String id)
 Create an EmbeddedIdentifier from a managed interface string. More...
 
short getEmbeddedId ()
 Gets the embedded identifier value. More...
 
GlobalObjectDesignator getHost ()
 Gets the host global object designator. More...
 
EntityIdentifier getHostEntityIdentifier ()
 Return the host ID as an EntityIdentifier if possible; otherwise, invalid ID. More...
 
String getIdentifierType ()
 Gets the embedded identifier type string. More...
 
boolean isValid ()
 Validate this identifier. More...
 
- Public Member Functions inherited from com.mak.vrlj.object.GlobalObjectDesignator
 GlobalObjectDesignator (String id)
 Create a GlobalObjectDesignator. More...
 
EntityIdentifier getEntityIdentifier ()
 Convert this designator to an EntityIdentifier. More...
 
void decode (ByteBuffer myMessageBuffer)
 Decodes this identifier from a message buffer. More...
 
void encode (ByteBuffer myMessageBuffer)
 Encodes this identifier into a message buffer. More...
 
boolean equals (Object obj)
 
int hashCode ()
 
boolean isValid ()
 Validate this identifier. More...
 
String toString ()
 

Private Attributes

final GlobalObjectDesignator myHostGlobalObjDesignator
 
final String myIdType
 
final short myEmbeddedId
 

Additional Inherited Members

- Protected Attributes inherited from com.mak.vrlj.object.GlobalObjectDesignator
String myGlobalDesignator
 

Detailed Description

A tuple which uniquely identifies a embedded object.

Constructor & Destructor Documentation

com.mak.vrlj.object.EmbeddedIdentifier.EmbeddedIdentifier ( GlobalObjectDesignator  hostGod,
short  embeddedId,
String  idType 
)
inline

Create an EmbeddedIdentifier.

Parameters
hostGoda unique name for a simulation object instance.
embeddedIda unique number identifying this specific object.
idTypespecifies the type of the object

References com.mak.vrlj.object.EmbeddedIdentifier.myEmbeddedId, com.mak.vrlj.object.EmbeddedIdentifier.myHostGlobalObjDesignator, and com.mak.vrlj.object.EmbeddedIdentifier.myIdType.

com.mak.vrlj.object.EmbeddedIdentifier.EmbeddedIdentifier ( String  id)
inline

Member Function Documentation

short com.mak.vrlj.object.EmbeddedIdentifier.getEmbeddedId ( )
inline

Gets the embedded identifier value.

Returns
which embedded system is identified.

References com.mak.vrlj.object.EmbeddedIdentifier.myEmbeddedId.

GlobalObjectDesignator com.mak.vrlj.object.EmbeddedIdentifier.getHost ( )
inline

Gets the host global object designator.

Returns
host global object designator.

References com.mak.vrlj.object.EmbeddedIdentifier.myHostGlobalObjDesignator.

Referenced by com.mak.vrlj.object.EmbeddedIdentifier.getHostEntityIdentifier().

EntityIdentifier com.mak.vrlj.object.EmbeddedIdentifier.getHostEntityIdentifier ( )
inline

Return the host ID as an EntityIdentifier if possible; otherwise, invalid ID.

Returns
host entity identifier when available; otherwise an invalid identifier.

References com.mak.vrlj.object.EmbeddedIdentifier.getHost(), and com.mak.vrlj.object.GlobalObjectDesignator.toString().

String com.mak.vrlj.object.EmbeddedIdentifier.getIdentifierType ( )
inline

Gets the embedded identifier type string.

Returns
identifier type string.

References com.mak.vrlj.object.EmbeddedIdentifier.myIdType.

boolean com.mak.vrlj.object.EmbeddedIdentifier.isValid ( )
inlinevirtual

Validate this identifier.

Returns
true if this identifier is valid.

Implements com.mak.vrlj.object.ObjectIdentifier.

Member Data Documentation

final short com.mak.vrlj.object.EmbeddedIdentifier.myEmbeddedId
private
final GlobalObjectDesignator com.mak.vrlj.object.EmbeddedIdentifier.myHostGlobalObjDesignator
private
final String com.mak.vrlj.object.EmbeddedIdentifier.myIdType
private

The documentation for this class was generated from the following file:

Document ID: Generated on Mon Sep 28 00:09:32 EDT 2026 from SVN revision 295353
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)