The Robot Application Programming Interface Delegate Project
|
Public Member Functions | |
RapidExampleModel (Agent agent) | |
String | getMessage () |
long | getTimeStamp () |
float[] | getValues () |
void | setMessage (String m) |
void | setValues (float[] v) |
void | setValues (double[] v) |
void | setTimeStamp (long t) |
void | addModelChangedListener (ModelChangedListener l) |
void | updateModelChangedListeners () |
String | getModelName () |
void | setModelName (String n) |
Protected Member Functions | |
void | registerForMessage (Agent srcAgent, MessageType messageType, IRapidEventListener eventListener) |
void | registerForMessage (Agent[] srcAgents, MessageType messageType, IRapidEventListener eventListener) |
Protected Attributes | |
ClientRapidAgent | rapidAgent |
String | message = "" |
long | timeStamp = -1 |
float[] | values = new float[]{0, 0, 0} |
String | name = "" |
List< ModelChangedListener > | listeners = new ArrayList<ModelChangedListener>() |
RapidExampleModel | ( | Agent | agent | ) |
void addModelChangedListener | ( | ModelChangedListener | l | ) |
String getMessage | ( | ) |
String getModelName | ( | ) |
long getTimeStamp | ( | ) |
float [] getValues | ( | ) |
void registerForMessage | ( | Agent[] | srcAgents, |
MessageType | messageType, | ||
IRapidEventListener | eventListener | ||
) | [protected] |
void registerForMessage | ( | Agent | srcAgent, |
MessageType | messageType, | ||
IRapidEventListener | eventListener | ||
) | [protected] |
void setMessage | ( | String | m | ) |
void setModelName | ( | String | n | ) |
void setTimeStamp | ( | long | t | ) |
void setValues | ( | double[] | v | ) |
void setValues | ( | float[] | v | ) |
void updateModelChangedListeners | ( | ) |
List<ModelChangedListener> listeners = new ArrayList<ModelChangedListener>() [protected] |
String message = "" [protected] |
String name = "" [protected] |
ClientRapidAgent rapidAgent [protected] |
long timeStamp = -1 [protected] |
float [] values = new float[]{0, 0, 0} [protected] |