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

A simulation Receiver object. More...

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

Public Member Functions

 RadioReceiver (EmbeddedIdentifier id)
 Create a simulation object.
 RadioReceiver (EmbeddedIdentifier id, RadioReceiver Receiver)
 Create a new Receiver by copying an existing Receiver.
boolean equals (Object obj)
String getClassName ()
 Get the name of the simulation object class for Entity objects.
GlobalObjectDesignator getEntityIdentifier ()
 Get the GlobalObjectDesignator which links to the parent entity of this Receiver.
EmbeddedIdentifier getGlobalObjectDesignator ()
String getHostObjectIdentifier ()
float getPower ()
 Get the Power of the radio.
short getRadioId ()
 Get the identifier for this Receiver.
ReceiverState getReceiverState ()
 Get the ReceiverState of the radio.
GlobalObjectDesignator getTransmitterEntityId ()
 Get the GlobalObjectDesignator of the transmitter connected to this receiver.
short getTransmitterRadioId ()
 Get the Transmitter identifier sending to this Receiver.
int hashCode ()
void setHostObjectIdentifier (String hostObject)
 Set the Hosting Object if using HLA.
void setPower (float power)
 Set the Power of the radio.
void setReceiverState (ReceiverState state)
 Set the ReceiverState of the radio.
void setTransmitterEntityId (GlobalObjectDesignator identifier)
void setTransmitterRadioId (short identifier)
String toString ()

Static Public Member Functions

static void addListener (ExerciseConnection exConn, ObjectListener< ObjectIdentifier, RadioReceiver > listener)
static void removeListener (ExerciseConnection exConn, ObjectListener< ObjectIdentifier, RadioReceiver > listener)

Static Public Attributes

static final String CLASS_NAME = ":RadioReceiver"
 Simulation object class name.

Private Attributes

final EmbeddedIdentifier myIdentifier
final GlobalObjectDesignator myEntityId
String myHostObjectIdentifier
final short myRadioId
ReceiverState myReceiverState
float myPower
GlobalObjectDesignator myTransmitterEntityId
short myTransmitterRadioId

Detailed Description

A simulation Receiver object.

Constructor & Destructor Documentation

com.mak.vrlj.object.RadioReceiver.RadioReceiver ( EmbeddedIdentifier  id)
inline
com.mak.vrlj.object.RadioReceiver.RadioReceiver ( EmbeddedIdentifier  id,
RadioReceiver  Receiver 
)
inline

Member Function Documentation

static void com.mak.vrlj.object.RadioReceiver.addListener ( ExerciseConnection  exConn,
ObjectListener< ObjectIdentifier, RadioReceiver listener 
)
inlinestatic
boolean com.mak.vrlj.object.RadioReceiver.equals ( Object  obj)
inline
String com.mak.vrlj.object.RadioReceiver.getClassName ( )
inline

Get the name of the simulation object class for Entity objects.

References com.mak.vrlj.object.RadioReceiver.CLASS_NAME.

GlobalObjectDesignator com.mak.vrlj.object.RadioReceiver.getEntityIdentifier ( )
inline

Get the GlobalObjectDesignator which links to the parent entity of this Receiver.

Returns
GlobalObjectDesignator of the parent entity.

References com.mak.vrlj.object.RadioReceiver.myEntityId.

EmbeddedIdentifier com.mak.vrlj.object.RadioReceiver.getGlobalObjectDesignator ( )
inline
String com.mak.vrlj.object.RadioReceiver.getHostObjectIdentifier ( )
inline
Returns
the Host Object Identifier if using HLA

References com.mak.vrlj.object.RadioReceiver.myHostObjectIdentifier.

Referenced by com.mak.vrlj.object.RadioReceiver.RadioReceiver().

float com.mak.vrlj.object.RadioReceiver.getPower ( )
inline

Get the Power of the radio.

Returns
the Power of the radio

References com.mak.vrlj.object.RadioReceiver.myPower.

Referenced by com.mak.vrlj.object.RadioReceiver.RadioReceiver().

short com.mak.vrlj.object.RadioReceiver.getRadioId ( )
inline

Get the identifier for this Receiver.

Should be unique for each entity.

Returns
the identifier for this Receiver

References com.mak.vrlj.object.RadioReceiver.myRadioId.

ReceiverState com.mak.vrlj.object.RadioReceiver.getReceiverState ( )
inline
GlobalObjectDesignator com.mak.vrlj.object.RadioReceiver.getTransmitterEntityId ( )
inline

Get the GlobalObjectDesignator of the transmitter connected to this receiver.

Returns
the GlobalObjectDesignator of the transmitter connected to this receiver

References com.mak.vrlj.object.RadioReceiver.myTransmitterEntityId.

Referenced by com.mak.vrlj.object.RadioReceiver.RadioReceiver().

short com.mak.vrlj.object.RadioReceiver.getTransmitterRadioId ( )
inline

Get the Transmitter identifier sending to this Receiver.

Returns
the Transmitter identifier sending to this Receiver.

References com.mak.vrlj.object.RadioReceiver.myTransmitterRadioId.

Referenced by com.mak.vrlj.object.RadioReceiver.RadioReceiver().

int com.mak.vrlj.object.RadioReceiver.hashCode ( )
inline
static void com.mak.vrlj.object.RadioReceiver.removeListener ( ExerciseConnection  exConn,
ObjectListener< ObjectIdentifier, RadioReceiver listener 
)
inlinestatic
void com.mak.vrlj.object.RadioReceiver.setHostObjectIdentifier ( String  hostObject)
inline

Set the Hosting Object if using HLA.

Parameters
theHosting Object if using HLA

References com.mak.vrlj.object.RadioReceiver.myHostObjectIdentifier.

void com.mak.vrlj.object.RadioReceiver.setPower ( float  power)
inline

Set the Power of the radio.

Parameters
thePower of the radio

References com.mak.vrlj.object.RadioReceiver.myPower.

void com.mak.vrlj.object.RadioReceiver.setReceiverState ( ReceiverState  state)
inline

Set the ReceiverState of the radio.

Parameters
theReceiverState of the radio

References com.mak.vrlj.object.RadioReceiver.myReceiverState.

void com.mak.vrlj.object.RadioReceiver.setTransmitterEntityId ( GlobalObjectDesignator  identifier)
inline
Parameters
Transmitterentity sending to this Receiver.

References com.mak.vrlj.object.RadioReceiver.myTransmitterEntityId.

void com.mak.vrlj.object.RadioReceiver.setTransmitterRadioId ( short  identifier)
inline
Parameters
Transmitteridentifier sending to this Receiver.

References com.mak.vrlj.object.RadioReceiver.myTransmitterRadioId.

String com.mak.vrlj.object.RadioReceiver.toString ( )
inline

Member Data Documentation

final String com.mak.vrlj.object.RadioReceiver.CLASS_NAME = ":RadioReceiver"
static
final GlobalObjectDesignator com.mak.vrlj.object.RadioReceiver.myEntityId
private
String com.mak.vrlj.object.RadioReceiver.myHostObjectIdentifier
private
final EmbeddedIdentifier com.mak.vrlj.object.RadioReceiver.myIdentifier
private
float com.mak.vrlj.object.RadioReceiver.myPower
private
final short com.mak.vrlj.object.RadioReceiver.myRadioId
private
ReceiverState com.mak.vrlj.object.RadioReceiver.myReceiverState
private
GlobalObjectDesignator com.mak.vrlj.object.RadioReceiver.myTransmitterEntityId
private
short com.mak.vrlj.object.RadioReceiver.myTransmitterRadioId
private

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

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)