$search
Public Member Functions | |
Adapter | createActionClientAdapter () |
Adapter | createActionStateAdapter () |
Adapter | createAdapter (Notifier target) |
Adapter | createEObjectAdapter () |
Adapter | createPrimitivePackageAdapter () |
Adapter | createServiceClientAdapter () |
Adapter | createStateMachineAdapter () |
Adapter | createTestAdapter () |
Adapter | createTransitionAdapter () |
boolean | isFactoryForType (Object object) |
SmachDSLAdapterFactory () | |
Protected Attributes | |
SmachDSLSwitch< Adapter > | modelSwitch |
Static Protected Attributes | |
static SmachDSLPackage | modelPackage |
The Adapter Factory for the model. It provides an adapter createXXX
method for each class of the model.
Definition at line 22 of file SmachDSLAdapterFactory.java.
org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::SmachDSLAdapterFactory | ( | ) | [inline] |
Creates an instance of the adapter factory.
Definition at line 38 of file SmachDSLAdapterFactory.java.
Adapter org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::createActionClientAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Action Client'.
This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
Definition at line 189 of file SmachDSLAdapterFactory.java.
Adapter org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::createActionStateAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Action State'.
This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
Definition at line 219 of file SmachDSLAdapterFactory.java.
Adapter org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::createAdapter | ( | Notifier | target | ) | [inline] |
Creates an adapter for the target
.
target | the object to adapt. |
target
. Definition at line 128 of file SmachDSLAdapterFactory.java.
Adapter org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::createEObjectAdapter | ( | ) | [inline] |
Creates a new adapter for the default case.
This default implementation returns null.
Definition at line 247 of file SmachDSLAdapterFactory.java.
Adapter org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::createPrimitivePackageAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Primitive Package'.
This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
Definition at line 144 of file SmachDSLAdapterFactory.java.
Adapter org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::createServiceClientAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Service Client'.
This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
Definition at line 204 of file SmachDSLAdapterFactory.java.
Adapter org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::createStateMachineAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'State Machine'.
This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
Definition at line 174 of file SmachDSLAdapterFactory.java.
Adapter org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::createTestAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Test'.
This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
Definition at line 159 of file SmachDSLAdapterFactory.java.
Adapter org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::createTransitionAdapter | ( | ) | [inline] |
Creates a new adapter for an object of class 'Transition'.
This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
Definition at line 234 of file SmachDSLAdapterFactory.java.
boolean org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::isFactoryForType | ( | Object | object | ) | [inline] |
Returns whether this factory is applicable for the type of the object.
This implementation returns true
if the object is either the model's package or is an instance object of the model.
Definition at line 55 of file SmachDSLAdapterFactory.java.
SmachDSLPackage org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::modelPackage [static, protected] |
The cached model package.
Definition at line 30 of file SmachDSLAdapterFactory.java.
SmachDSLSwitch<Adapter> org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::modelSwitch [protected] |
The switch that delegates to the createXXX
methods.
Definition at line 74 of file SmachDSLAdapterFactory.java.