$search

org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory Class Reference

Inheritance diagram for org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.

See also:
org.best.of.robotics.smachDSL.SmachDSLPackage

Definition at line 22 of file SmachDSLAdapterFactory.java.


Constructor & Destructor Documentation

org::best::of::robotics::smachDSL::util::SmachDSLAdapterFactory::SmachDSLAdapterFactory (  )  [inline]

Creates an instance of the adapter factory.

Definition at line 38 of file SmachDSLAdapterFactory.java.


Member Function Documentation

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.

Returns:
the new adapter.
See also:
org.best.of.robotics.smachDSL.ActionClient

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.

Returns:
the new adapter.
See also:
org.best.of.robotics.smachDSL.ActionState

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.

Parameters:
target the object to adapt.
Returns:
the adapter for the 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.

Returns:
the new adapter.

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.

Returns:
the new adapter.
See also:
org.best.of.robotics.smachDSL.PrimitivePackage

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.

Returns:
the new adapter.
See also:
org.best.of.robotics.smachDSL.ServiceClient

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.

Returns:
the new adapter.
See also:
org.best.of.robotics.smachDSL.StateMachine

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.

Returns:
the new adapter.
See also:
org.best.of.robotics.smachDSL.Test

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.

Returns:
the new adapter.
See also:
org.best.of.robotics.smachDSL.Transition

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.

Returns:
whether this factory is applicable for the type of the object.

Definition at line 55 of file SmachDSLAdapterFactory.java.


Member Data Documentation

The cached model package.

Definition at line 30 of file SmachDSLAdapterFactory.java.

The switch that delegates to the createXXX methods.

Definition at line 74 of file SmachDSLAdapterFactory.java.


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


bride_plugin_source
Author(s): Alexander Bubeck
autogenerated on Tue Mar 5 11:39:48 2013