Public Member Functions | |
T | caseActionClient (ActionClient object) |
T | caseActionState (ActionState object) |
T | casePrimitivePackage (PrimitivePackage object) |
T | caseServiceClient (ServiceClient object) |
T | caseStateMachine (StateMachine object) |
T | caseTest (Test object) |
T | caseTransition (Transition object) |
T | defaultCase (EObject object) |
SmachDSLSwitch () | |
Protected Member Functions | |
T | doSwitch (int classifierID, EObject theEObject) |
boolean | isSwitchFor (EPackage ePackage) |
Static Protected Attributes | |
static SmachDSLPackage | modelPackage |
The Switch for the model's inheritance hierarchy. It supports the call doSwitch(object) to invoke the caseXXX
method for each class of the model, starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is returned, which is the result of the switch.
Definition at line 25 of file SmachDSLSwitch.java.
org.best.of.robotics.smachDSL.util.SmachDSLSwitch< T >.SmachDSLSwitch | ( | ) | [inline] |
Creates an instance of the switch.
Definition at line 41 of file SmachDSLSwitch.java.
T org.best.of.robotics.smachDSL.util.SmachDSLSwitch< T >.caseActionClient | ( | ActionClient | object | ) | [inline] |
Returns the result of interpreting the object as an instance of 'Action Client'.
This implementation returns null; returning a non-null result will terminate the switch.
object | the target of the switch. |
Definition at line 187 of file SmachDSLSwitch.java.
T org.best.of.robotics.smachDSL.util.SmachDSLSwitch< T >.caseActionState | ( | ActionState | object | ) | [inline] |
Returns the result of interpreting the object as an instance of 'Action State'.
This implementation returns null; returning a non-null result will terminate the switch.
object | the target of the switch. |
Definition at line 219 of file SmachDSLSwitch.java.
T org.best.of.robotics.smachDSL.util.SmachDSLSwitch< T >.casePrimitivePackage | ( | PrimitivePackage | object | ) | [inline] |
Returns the result of interpreting the object as an instance of 'Primitive Package'.
This implementation returns null; returning a non-null result will terminate the switch.
object | the target of the switch. |
Definition at line 139 of file SmachDSLSwitch.java.
T org.best.of.robotics.smachDSL.util.SmachDSLSwitch< T >.caseServiceClient | ( | ServiceClient | object | ) | [inline] |
Returns the result of interpreting the object as an instance of 'Service Client'.
This implementation returns null; returning a non-null result will terminate the switch.
object | the target of the switch. |
Definition at line 203 of file SmachDSLSwitch.java.
T org.best.of.robotics.smachDSL.util.SmachDSLSwitch< T >.caseStateMachine | ( | StateMachine | object | ) | [inline] |
Returns the result of interpreting the object as an instance of 'State Machine'.
This implementation returns null; returning a non-null result will terminate the switch.
object | the target of the switch. |
Definition at line 171 of file SmachDSLSwitch.java.
Returns the result of interpreting the object as an instance of 'Test'.
This implementation returns null; returning a non-null result will terminate the switch.
object | the target of the switch. |
Definition at line 155 of file SmachDSLSwitch.java.
T org.best.of.robotics.smachDSL.util.SmachDSLSwitch< T >.caseTransition | ( | Transition | object | ) | [inline] |
Returns the result of interpreting the object as an instance of 'Transition'.
This implementation returns null; returning a non-null result will terminate the switch.
object | the target of the switch. |
Definition at line 235 of file SmachDSLSwitch.java.
T org.best.of.robotics.smachDSL.util.SmachDSLSwitch< T >.defaultCase | ( | EObject | object | ) | [inline] |
Returns the result of interpreting the object as an instance of 'EObject'.
This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.
object | the target of the switch. |
Definition at line 252 of file SmachDSLSwitch.java.
T org.best.of.robotics.smachDSL.util.SmachDSLSwitch< T >.doSwitch | ( | int | classifierID, |
EObject | theEObject | ||
) | [inline, protected] |
Calls caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call. Definition at line 71 of file SmachDSLSwitch.java.
boolean org.best.of.robotics.smachDSL.util.SmachDSLSwitch< T >.isSwitchFor | ( | EPackage | ePackage | ) | [inline, protected] |
Checks whether this is a switch for the given package.
ePackage the package in question.
Definition at line 58 of file SmachDSLSwitch.java.
SmachDSLPackage org.best.of.robotics.smachDSL.util.SmachDSLSwitch< T >.modelPackage [static, protected] |
The cached model package
Definition at line 33 of file SmachDSLSwitch.java.