fesa-core  4.3.1
fesa::AbstractServerActionFactory Class Referenceabstract

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

AbstractServerActioncreateServerAction (const ServerActionConfig &serverActionConfig, const AbstractServerDeviceClass &deviceClass)
 Create a server action. More...
 
virtual AbstractServerActioncreateCustomServerAction (const ServerActionConfig &serverActionConfig)=0
 virtual method to create a server action based on its name. More...
 

Protected Member Functions

 AbstractServerActionFactory (const AbstractServiceLocator *serviceLocator, const std::map< std::string, const AbstractServiceLocator * > &serviceLocatorRelatedClasses)
 constructor
 
virtual ~AbstractServerActionFactory ()
 destructor
 

Detailed Description

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

Member Function Documentation

fesa::AbstractServerActionFactory::createCustomServerAction ( const ServerActionConfig &  serverActionConfig)
pure virtual

virtual method to create a server action based on its name.

This method has to be implemented in the developer's code in order to create the server actions of the class

Parameters
serverActionConfigwith the information for scheduling propose
AbstractServerAction * fesa::AbstractServerActionFactory::createServerAction ( const ServerActionConfig &  serverActionConfig,
const AbstractServerDeviceClass deviceClass 
)

Create a server action.

Parameters
serverActionConfigThe action's configuration
deviceClassThe device class of the server
Returns
The pointer to the created server action

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