fesa::AbstractServerActionFactory Class Reference

This class is responsible to provide a method in order to create the server actions for the class. More...

#include <AbstractServerActionFactory.h>

List of all members.

Public Member Functions

AbstractServerActioncreateServerAction (ServerActionConfig &serverActionConfig)
 creates the serverAction action based on its name
virtual AbstractServerActioncreateCustomServerAction (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 AbstractServiceLocatorserviceLocator_
const std::map< std::string,
const AbstractServiceLocator * > 
serviceLocatorRelatedClasses_

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Parameters:
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]

Member Data Documentation

Definition at line 52 of file AbstractServerActionFactory.h.

Referenced by createServerAction().

Definition at line 53 of file AbstractServerActionFactory.h.

Referenced by createServerAction().


The documentation for this class was generated from the following files:

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1