This class is responsible to provide a method in order to create the server actions for the class. More...
#include <AbstractServerActionFactory.h>
Public Member Functions | |
AbstractServerAction * | createServerAction (ServerActionConfig &serverActionConfig) |
creates the serverAction action based on its name | |
virtual AbstractServerAction * | createCustomServerAction (ServerActionConfig &serverActionConfig)=0 |
Static Public Member Functions | |
static void | releaseInstance () |
Protected Member Functions | |
AbstractServerActionFactory (const AbstractServiceLocator *serviceLocator, const std::map< std::string, const AbstractServiceLocator * > serviceLocatorRelatedClasses) | |
constructor | |
virtual | ~AbstractServerActionFactory () |
destructor | |
Protected Attributes | |
const AbstractServiceLocator * | serviceLocator_ |
const std::map< std::string, const AbstractServiceLocator * > | serviceLocatorRelatedClasses_ |
This class is responsible to provide a method in order to create the server actions for the class.
Definition at line 21 of file AbstractServerActionFactory.h.
fesa::AbstractServerActionFactory::AbstractServerActionFactory | ( | const AbstractServiceLocator * | serviceLocator, | |
const std::map< std::string, const AbstractServiceLocator * > | serviceLocatorRelatedClasses | |||
) | [protected] |
constructor
Definition at line 12 of file AbstractServerActionFactory.cpp.
fesa::AbstractServerActionFactory::~AbstractServerActionFactory | ( | ) | [protected, virtual] |
destructor
Definition at line 18 of file AbstractServerActionFactory.cpp.
virtual AbstractServerAction* fesa::AbstractServerActionFactory::createCustomServerAction | ( | ServerActionConfig & | serverActionConfig | ) | [pure virtual] |
Referenced by createServerAction().
AbstractServerAction * fesa::AbstractServerActionFactory::createServerAction | ( | ServerActionConfig & | serverActionConfig | ) |
creates the serverAction action based on its name
rtActionConfig | with the information of the action |
Definition at line 22 of file AbstractServerActionFactory.cpp.
References createCustomServerAction(), fesa::ServerActionConfig::name_, serviceLocator_, and serviceLocatorRelatedClasses_.
Referenced by fesa::AbstractServerDeviceClass::configurePropertiesActions().
static void fesa::AbstractServerActionFactory::releaseInstance | ( | ) | [static] |
const AbstractServiceLocator* fesa::AbstractServerActionFactory::serviceLocator_ [protected] |
Definition at line 52 of file AbstractServerActionFactory.h.
Referenced by createServerAction().
const std::map<std::string, const AbstractServiceLocator*> fesa::AbstractServerActionFactory::serviceLocatorRelatedClasses_ [protected] |
Definition at line 53 of file AbstractServerActionFactory.h.
Referenced by createServerAction().