|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.DispatchedEventData
public class DispatchedEventData
Details about an event that occurred in the system. DispatchedEvents are not permanent state changes, like StatePorts, but rather just events that do not modify a module's states, they only describe a smaller happening.
| Constructor Summary | |
|---|---|
DispatchedEventData(String componentName,
String eventName,
com.kuka.roboticsAPI.controllerModel.DispatchedEventState eventState,
Date timeStamp,
String kxrTranslationModuleName)
Creates a new DispatchedEventData object from the given parameters and the current time. |
|
DispatchedEventData(String componentName,
String eventName,
com.kuka.roboticsAPI.controllerModel.DispatchedEventState eventState,
String kxrTranslationModuleName)
Creates a new DispatchedEventData object from the given parameters and the current time. |
|
| Method Summary | |
|---|---|
void |
addParam(String key,
String value)
Adds a parameter and key pair to the data object. |
String |
getComponentName()
the name of the component that dispatched the event. |
String |
getEventName()
the name of the event. |
com.kuka.roboticsAPI.controllerModel.DispatchedEventState |
getEventState()
the overall state of the event. |
Map<String,String> |
getEventValues()
gets the LinkedHashMap containing the event values. |
String |
getKXRTranslationModuleName()
gets the module name of the KXR translation file. |
String |
getPropertyNames()
gets the changed property names. |
String |
getPropertyValues()
gets changed properties' actual values in string. |
String |
getRobotName()
gets the name of the source robot. |
Date |
getTimestamp()
the time when the event occurred. |
void |
removeParam(String key)
Removes a parameter from the data object identified by the given key. |
void |
setRobotName(String robotName)
Sets the name of the source robot. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DispatchedEventData(String componentName,
String eventName,
com.kuka.roboticsAPI.controllerModel.DispatchedEventState eventState,
Date timeStamp,
String kxrTranslationModuleName)
componentName - name of the sender componenteventName - name of the event that occurredeventState - the state of the eventtimeStamp - the time when the event occurredkxrTranslationModuleName - the module name referenced from the kxr file
public DispatchedEventData(String componentName,
String eventName,
com.kuka.roboticsAPI.controllerModel.DispatchedEventState eventState,
String kxrTranslationModuleName)
componentName - name of the sender componenteventName - name of the event that occurredeventState - the state of the eventkxrTranslationModuleName - the module name referenced from the kxr file| Method Detail |
|---|
public void addParam(String key,
String value)
key - the string key of the parameter to be addedvalue - the string value of the parameterpublic void removeParam(String key)
key - the string key of the parameter to be removedpublic String getComponentName()
public String getEventName()
public com.kuka.roboticsAPI.controllerModel.DispatchedEventState getEventState()
public Map<String,String> getEventValues()
public String getPropertyNames()
public String getPropertyValues()
public Date getTimestamp()
public String getKXRTranslationModuleName()
public String getRobotName()
public void setRobotName(String robotName)
robotName - the name of the source robot, empty string if the source is the Stationpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||