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 |
A simulation Receiver object.
|
inline |
Create a simulation object.
| name | unique name for this simulation object. |
References com.mak.vrlj.object.RadioReceiver.myEntityId, com.mak.vrlj.object.RadioReceiver.myHostObjectIdentifier, com.mak.vrlj.object.RadioReceiver.myIdentifier, com.mak.vrlj.object.RadioReceiver.myPower, com.mak.vrlj.object.RadioReceiver.myRadioId, 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().
|
inline |
Create a new Receiver by copying an existing Receiver.
| name | unique name for this simulation object. |
| entity | an entity which will be copied into the new entity during initialization. |
References com.mak.vrlj.object.RadioReceiver.getHostObjectIdentifier(), com.mak.vrlj.object.RadioReceiver.getPower(), com.mak.vrlj.object.RadioReceiver.getReceiverState(), com.mak.vrlj.object.RadioReceiver.getTransmitterEntityId(), com.mak.vrlj.object.RadioReceiver.getTransmitterRadioId(), com.mak.vrlj.object.RadioReceiver.myEntityId, com.mak.vrlj.object.RadioReceiver.myHostObjectIdentifier, com.mak.vrlj.object.RadioReceiver.myIdentifier, com.mak.vrlj.object.RadioReceiver.myPower, com.mak.vrlj.object.RadioReceiver.myRadioId, com.mak.vrlj.object.RadioReceiver.myReceiverState, com.mak.vrlj.object.RadioReceiver.myTransmitterEntityId, and com.mak.vrlj.object.RadioReceiver.myTransmitterRadioId.
|
inlinestatic |
References com.mak.vrlj.object.RadioReceiver.CLASS_NAME.
|
inline |
References com.mak.vrlj.object.GlobalObjectDesignator.equals(), com.mak.vrlj.object.RadioReceiver.myEntityId, com.mak.vrlj.object.RadioReceiver.myHostObjectIdentifier, com.mak.vrlj.object.RadioReceiver.myPower, com.mak.vrlj.object.RadioReceiver.myRadioId, 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().
|
inline |
Get the name of the simulation object class for Entity objects.
References com.mak.vrlj.object.RadioReceiver.CLASS_NAME.
|
inline |
Get the GlobalObjectDesignator which links to the parent entity of this Receiver.
References com.mak.vrlj.object.RadioReceiver.myEntityId.
|
inline |
References com.mak.vrlj.object.RadioReceiver.myIdentifier.
|
inline |
References com.mak.vrlj.object.RadioReceiver.myHostObjectIdentifier.
Referenced by com.mak.vrlj.object.RadioReceiver.RadioReceiver().
|
inline |
Get the Power of the radio.
References com.mak.vrlj.object.RadioReceiver.myPower.
Referenced by com.mak.vrlj.object.RadioReceiver.RadioReceiver().
|
inline |
Get the identifier for this Receiver.
Should be unique for each entity.
References com.mak.vrlj.object.RadioReceiver.myRadioId.
|
inline |
Get the ReceiverState of the radio.
References com.mak.vrlj.object.RadioReceiver.myReceiverState.
Referenced by com.mak.vrlj.object.RadioReceiver.RadioReceiver().
|
inline |
Get the GlobalObjectDesignator of the transmitter connected to this receiver.
References com.mak.vrlj.object.RadioReceiver.myTransmitterEntityId.
Referenced by com.mak.vrlj.object.RadioReceiver.RadioReceiver().
|
inline |
Get the Transmitter identifier sending to this Receiver.
References com.mak.vrlj.object.RadioReceiver.myTransmitterRadioId.
Referenced by com.mak.vrlj.object.RadioReceiver.RadioReceiver().
|
inline |
References com.mak.vrlj.object.RadioReceiver.myEntityId, com.mak.vrlj.object.RadioReceiver.myHostObjectIdentifier, com.mak.vrlj.object.RadioReceiver.myPower, com.mak.vrlj.object.RadioReceiver.myRadioId, com.mak.vrlj.object.RadioReceiver.myReceiverState, com.mak.vrlj.object.RadioReceiver.myTransmitterEntityId, and com.mak.vrlj.object.RadioReceiver.myTransmitterRadioId.
|
inlinestatic |
References com.mak.vrlj.object.RadioReceiver.CLASS_NAME.
|
inline |
Set the Hosting Object if using HLA.
| the | Hosting Object if using HLA |
References com.mak.vrlj.object.RadioReceiver.myHostObjectIdentifier.
|
inline |
Set the Power of the radio.
| the | Power of the radio |
References com.mak.vrlj.object.RadioReceiver.myPower.
|
inline |
Set the ReceiverState of the radio.
| the | ReceiverState of the radio |
References com.mak.vrlj.object.RadioReceiver.myReceiverState.
|
inline |
| Transmitter | entity sending to this Receiver. |
References com.mak.vrlj.object.RadioReceiver.myTransmitterEntityId.
|
inline |
| Transmitter | identifier sending to this Receiver. |
References com.mak.vrlj.object.RadioReceiver.myTransmitterRadioId.
|
inline |
References com.mak.vrlj.object.RadioReceiver.myEntityId, com.mak.vrlj.object.RadioReceiver.myHostObjectIdentifier, com.mak.vrlj.object.RadioReceiver.myPower, com.mak.vrlj.object.RadioReceiver.myRadioId, com.mak.vrlj.object.RadioReceiver.myReceiverState, com.mak.vrlj.object.RadioReceiver.myTransmitterEntityId, and com.mak.vrlj.object.RadioReceiver.myTransmitterRadioId.
|
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().
|
private |
|
private |
Referenced by com.mak.vrlj.object.RadioReceiver.equals(), com.mak.vrlj.object.RadioReceiver.getHostObjectIdentifier(), com.mak.vrlj.object.RadioReceiver.hashCode(), com.mak.vrlj.object.RadioReceiver.RadioReceiver(), com.mak.vrlj.object.RadioReceiver.setHostObjectIdentifier(), and com.mak.vrlj.object.RadioReceiver.toString().
|
private |
|
private |
|
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().