The Robot Application Programming Interface Delegate Project
RAPID Logo

RapidExampleModel Class Reference

Inheritance diagram for RapidExampleModel:
Collaboration diagram for RapidExampleModel:

List of all members.

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< ModelChangedListenerlisteners = new ArrayList<ModelChangedListener>()

Constructor & Destructor Documentation

Examples:
RapidExampleModel.java.

Here is the call graph for this function:


Member Function Documentation

void addModelChangedListener ( ModelChangedListener  l)
String getMessage ( )
String getModelName ( )
long getTimeStamp ( )
float [] getValues ( )
void registerForMessage ( Agent[]  srcAgents,
MessageType  messageType,
IRapidEventListener  eventListener 
) [protected]

Here is the call graph for this function:

void setValues ( double[]  v)

Here is the call graph for this function:

void setValues ( float[]  v)

Member Data Documentation

List<ModelChangedListener> listeners = new ArrayList<ModelChangedListener>() [protected]
String message = "" [protected]
String name = "" [protected]
long timeStamp = -1 [protected]
float [] values = new float[]{0, 0, 0} [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines