fesa::AbstractAction Class Reference

#include <AbstractAction.h>

Inheritance diagram for fesa::AbstractAction:
fesa::AbstractRTAction fesa::AbstractServerAction fesa::RTAction< DeviceType > fesa::RTDiagnosticSetting fesa::GetDiagnosticSetting fesa::ServerAction< DeviceType, DataType, FilterType > fesa::SetDiagnosticSetting

List of all members.

Classes

struct  OnDemandProducerRef

Public Member Functions

 AbstractAction (std::string &actionName, std::string &className, const AbstractServiceLocator *serviceLocator, const std::map< std::string, const AbstractServiceLocator * > serviceLocatorRelatedClasses)
virtual ~AbstractAction ()
const std::string & getName ()
void triggerOnDemandEventSource (const std::string &sourceName, MultiplexingContext *pCtxt, uint32_t msgPrio=DEFAULT_ON_DEMAND_MESSAGE_PRIO)
void triggerOnDemandEventSource (const std::string &sourceName, MultiplexingContext *pCtxt, const char *payload, uint32_t payloadSize, uint32_t msgPrio=DEFAULT_ON_DEMAND_MESSAGE_PRIO)
void triggerAllOnDemandEventSources (MultiplexingContext *pCtxt, uint32_t msgPrio=DEFAULT_ON_DEMAND_MESSAGE_PRIO)
void triggerAllAutomaticallyTriggeredOnDemandEventSources (MultiplexingContext *pCtxt, uint32_t msgPrio=DEFAULT_ON_DEMAND_MESSAGE_PRIO)

Static Public Attributes

static const uint32_t DEFAULT_ON_DEMAND_MESSAGE_PRIO = 0

Protected Types

typedef const std::string OnDemandEventSourceName
typedef std::map
< OnDemandEventSourceName,
OnDemandProducerRef
OnDemandEventProducerCollection

Protected Attributes

std::string name_
 name of the action
std::string className_
 name of the FESA-class, which controls this action
const AbstractServiceLocatorserviceLocator_
const std::map< std::string,
const AbstractServiceLocator * > 
serviceLocatorRelatedClasses_
OnDemandEventProducerCollection onDemandEventProducerCol_

Detailed Description

Definition at line 20 of file AbstractAction.h.


Member Typedef Documentation

Definition at line 62 of file AbstractAction.h.

typedef const std::string fesa::AbstractAction::OnDemandEventSourceName [protected]

Definition at line 61 of file AbstractAction.h.


Constructor & Destructor Documentation

fesa::AbstractAction::AbstractAction ( std::string &  actionName,
std::string &  className,
const AbstractServiceLocator serviceLocator,
const std::map< std::string, const AbstractServiceLocator * >  serviceLocatorRelatedClasses 
)

Definition at line 13 of file AbstractAction.cpp.

fesa::AbstractAction::~AbstractAction (  )  [virtual]

Definition at line 22 of file AbstractAction.cpp.


Member Function Documentation

const std::string & fesa::AbstractAction::getName (  )  [inline]

Reimplemented in fesa::AbstractServerAction.

Definition at line 68 of file AbstractAction.h.

References name_.

Referenced by fesa::RTController::createAction().

void fesa::AbstractAction::triggerAllAutomaticallyTriggeredOnDemandEventSources ( MultiplexingContext pCtxt,
uint32_t  msgPrio = DEFAULT_ON_DEMAND_MESSAGE_PRIO 
)
void fesa::AbstractAction::triggerAllOnDemandEventSources ( MultiplexingContext pCtxt,
uint32_t  msgPrio = DEFAULT_ON_DEMAND_MESSAGE_PRIO 
)
void fesa::AbstractAction::triggerOnDemandEventSource ( const std::string &  sourceName,
MultiplexingContext pCtxt,
const char *  payload,
uint32_t  payloadSize,
uint32_t  msgPrio = DEFAULT_ON_DEMAND_MESSAGE_PRIO 
)
void fesa::AbstractAction::triggerOnDemandEventSource ( const std::string &  sourceName,
MultiplexingContext pCtxt,
uint32_t  msgPrio = DEFAULT_ON_DEMAND_MESSAGE_PRIO 
)

Definition at line 27 of file AbstractAction.cpp.


Member Data Documentation

std::string fesa::AbstractAction::className_ [protected]

name of the FESA-class, which controls this action

Definition at line 55 of file AbstractAction.h.

Referenced by fesa::AbstractRTAction::AbstractRTAction(), and fesa::AbstractRTAction::executeAction().

Definition at line 28 of file AbstractAction.h.

std::string fesa::AbstractAction::name_ [protected]

Definition at line 57 of file AbstractAction.h.

Referenced by fesa::AbstractRTAction::executeAction().

const std::map<std::string, const AbstractServiceLocator*> fesa::AbstractAction::serviceLocatorRelatedClasses_ [protected]

Definition at line 59 of file AbstractAction.h.


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

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1