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. More... | |
| String | getClassName () |
| Get the name of the simulation object class for Entity objects. More... | |
| float | getPower () |
| Get the Power of the radio. More... | |
| ReceiverState | getReceiverState () |
| Get the ReceiverState of the radio. More... | |
| GlobalObjectDesignator | getTransmitterEntityId () |
| Get the GlobalObjectDesignator of the transmitter connected to this receiver. More... | |
| short | getTransmitterRadioId () |
| Get the Transmitter identifier sending to this Receiver. More... | |
| void | setPower (float power) |
| Set the Power of the radio. More... | |
| void | setReceiverState (ReceiverState state) |
| Set the ReceiverState of the radio. More... | |
| void | setTransmitterEntityId (GlobalObjectDesignator identifier) |
| Set the transmitter entity identifier associated with this receiver. More... | |
| void | setTransmitterRadioId (short identifier) |
| Set the transmitter radio identifier associated with this receiver. More... | |
| int | hashCode () |
| boolean | equals (Object obj) |
| String | toString () |
Public Member Functions inherited from com.mak.vrlj.object.EmbeddedSystem | |
| EmbeddedSystem (EmbeddedIdentifier id) | |
| Creates an embedded-system object. More... | |
| EmbeddedIdentifier | getGlobalObjectDesignator () |
| GlobalObjectDesignator | getHostGlobalIdentifier () |
| Gets the host global object identifier. More... | |
| short | getEmbeddedId () |
| Gets the embedded identifier number. More... | |
| Vector3f | getRelativePosition () |
| Gets the relative position of this embedded system. More... | |
| void | setRelativePosition (Vector3f relPos) |
| Sets the relative position of this embedded system. More... | |
| EntityIdentifier | getHostEntityIdentifier () |
| Gets the host entity identifier. More... | |
| void | setHostEntityIdentifier (EntityIdentifier hostEntityIdentifier) |
| Sets the host entity identifier. More... | |
| int | hashCode () |
| boolean | equals (Object obj) |
| String | toString () |
Static Public Member Functions | |
| static void | addListener (ExerciseConnection exConn, ObjectListener< ObjectIdentifier, RadioReceiver > listener) |
| Register a listener for reflected radio receiver objects. More... | |
| static void | removeListener (ExerciseConnection exConn, ObjectListener< ObjectIdentifier, RadioReceiver > listener) |
| Unregister a listener for reflected radio receiver objects. More... | |
Static Public Attributes | |
| static final String | NAME = "RadioReceiver" |
| Simulation object class name. More... | |
Private Attributes | |
| ReceiverState | myReceiverState |
| float | myPower |
| GlobalObjectDesignator | myTransmitterEntityId |
| short | myTransmitterRadioId |
A simulation Receiver object.
|
inline |
Create a simulation object.
| id | unique name for this simulation object. |
References com.mak.vrlj.object.RadioReceiver.myPower, com.mak.vrlj.object.RadioReceiver.myReceiverState, com.mak.vrlj.object.RadioReceiver.myTransmitterEntityId, com.mak.vrlj.object.RadioReceiver.myTransmitterRadioId, and com.mak.vrlj.datatype.ReceiverState.OFF.
Referenced by com.mak.vrlj.object.RadioReceiver.equals().
|
inlinestatic |
Register a listener for reflected radio receiver objects.
| exConn | exercise connection that owns the reflected collection. |
| listener | listener to receive create/update/delete callbacks. |
References com.mak.vrlj.object.RadioReceiver.NAME.
|
inline |
References com.mak.vrlj.object.GlobalObjectDesignator.equals(), com.mak.vrlj.object.RadioReceiver.myPower, com.mak.vrlj.object.RadioReceiver.myReceiverState, com.mak.vrlj.object.RadioReceiver.myTransmitterEntityId, com.mak.vrlj.object.RadioReceiver.myTransmitterRadioId, and com.mak.vrlj.object.RadioReceiver.RadioReceiver().
|
inlinevirtual |
Get the name of the simulation object class for Entity objects.
Implements com.mak.vrlj.object.EmbeddedSystem.
References com.mak.vrlj.object.RadioReceiver.NAME.
|
inline |
Get the Power of the radio.
References com.mak.vrlj.object.RadioReceiver.myPower.
|
inline |
Get the ReceiverState of the radio.
References com.mak.vrlj.object.RadioReceiver.myReceiverState.
|
inline |
Get the GlobalObjectDesignator of the transmitter connected to this receiver.
References com.mak.vrlj.object.RadioReceiver.myTransmitterEntityId.
|
inline |
Get the Transmitter identifier sending to this Receiver.
References com.mak.vrlj.object.RadioReceiver.myTransmitterRadioId.
|
inline |
|
inlinestatic |
Unregister a listener for reflected radio receiver objects.
| exConn | exercise connection that owns the reflected collection. |
| listener | listener to remove. |
References com.mak.vrlj.object.RadioReceiver.NAME.
|
inline |
Set the Power of the radio.
| power | the Power of the radio |
References com.mak.vrlj.object.RadioReceiver.myPower.
|
inline |
Set the ReceiverState of the radio.
| state | the ReceiverState of the radio |
References com.mak.vrlj.object.RadioReceiver.myReceiverState.
|
inline |
Set the transmitter entity identifier associated with this receiver.
| identifier | entity sending to this Receiver. |
References com.mak.vrlj.object.RadioReceiver.myTransmitterEntityId.
|
inline |
Set the transmitter radio identifier associated with this receiver.
| identifier | Transmitter identifier sending to this Receiver. |
References com.mak.vrlj.object.RadioReceiver.myTransmitterRadioId.
|
inline |
|
private |
|
private |
Referenced by com.mak.vrlj.object.RadioReceiver.equals(), com.mak.vrlj.object.RadioReceiver.getReceiverState(), com.mak.vrlj.object.RadioReceiver.hashCode(), com.mak.vrlj.object.RadioReceiver.RadioReceiver(), com.mak.vrlj.object.RadioReceiver.setReceiverState(), and com.mak.vrlj.object.RadioReceiver.toString().
|
private |
Referenced by com.mak.vrlj.object.RadioReceiver.equals(), com.mak.vrlj.object.RadioReceiver.getTransmitterEntityId(), com.mak.vrlj.object.RadioReceiver.hashCode(), com.mak.vrlj.object.RadioReceiver.RadioReceiver(), com.mak.vrlj.object.RadioReceiver.setTransmitterEntityId(), and com.mak.vrlj.object.RadioReceiver.toString().
|
private |
Referenced by com.mak.vrlj.object.RadioReceiver.equals(), com.mak.vrlj.object.RadioReceiver.getTransmitterRadioId(), com.mak.vrlj.object.RadioReceiver.hashCode(), com.mak.vrlj.object.RadioReceiver.RadioReceiver(), com.mak.vrlj.object.RadioReceiver.setTransmitterRadioId(), and com.mak.vrlj.object.RadioReceiver.toString().
|
static |
Simulation object class name.
Referenced by com.mak.vrlj.object.RadioReceiver.addListener(), com.mak.vrlj.object.RadioReceiver.getClassName(), com.mak.vrlj.object.ReflectedRadioReceiverMap.ReflectedRadioReceiverMap(), and com.mak.vrlj.object.RadioReceiver.removeListener().