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. 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)
 
void setTransmitterRadioId (short identifier)
 
int hashCode ()
 
boolean equals (Object obj)
 
String toString ()
 
- Public Member Functions inherited from com.mak.vrlj.object.EmbeddedSystem
 EmbeddedSystem (EmbeddedIdentifier id)
 
EmbeddedIdentifier getGlobalObjectDesignator ()
 
GlobalObjectDesignator getHostGlobalIdentifier ()
 
short getEmbeddedId ()
 
Vector3f getRelativePosition ()
 
void setRelativePosition (Vector3f relPos)
 
EntityIdentifier getHostEntityIdentifier ()
 
void setHostEntityIdentifier (EntityIdentifier hostEntityIdentifier)
 
int hashCode ()
 
boolean equals (Object obj)
 
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 NAME = "RadioReceiver"
 Simulation object class name. More...
 

Private Attributes

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

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 ( )
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.

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.

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

Get the ReceiverState of the radio.

Returns
the ReceiverState of the radio

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

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.

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.

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.setPower ( float  power)
inline

Set the Power of the radio.

Parameters
powerthe Power 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
statethe ReceiverState of the radio

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

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

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

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

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

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

Member Data Documentation

float com.mak.vrlj.object.RadioReceiver.myPower
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
final String com.mak.vrlj.object.RadioReceiver.NAME = "RadioReceiver"
static

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

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)