fesa-core  4.3.1
fesa::DeploymentThreadConfiguration Class Reference

A class to retrieve a thread's scheduling configuration (its priority and affinity). A thread's scheduling configuration is retrieved either from the deployment unit's design (if it's specified there), or from the framework (the default configuration). If information about a thread's priority or affinity is available in the deployment unit's design, the member function corresponding to the thread has to be overriden in the generated derived class. More...

#include <DeploymentThreadConfiguration.h>

Classes

struct  SchedulingConfig
 A thread's scheduling configuration. More...
 

Public Member Functions

virtual SchedulingConfig getPersistencySchedulingConfig () const
 Get the scheduling configuration of the persistency thread.
 
virtual SchedulingConfig getLoggingSchedulingConfig () const
 Get the scheduling configuration of the logging thread.
 
virtual SchedulingConfig getRDAServerSchedulingConfig () const
 Get the scheduling configuration of the RDA server thread.
 
virtual SchedulingConfig getSignalHandlerSchedulingConfig () const
 Get the scheduling configuration of the signal handler thread.
 
virtual SchedulingConfig getNotificationConsumerSchedulingConfig () const
 Get the scheduling configuration of the notification consumer thread.
 
virtual SchedulingConfig getNotificationSchedulingConfig (const std::string &name) const
 Get the scheduling configuration of a notification thread. More...
 
virtual SchedulingConfig getEventSourceSchedulingConfig (const std::string &name) const
 Get the scheduling configuration of an event source thread. More...
 
virtual SchedulingConfig getRTSchedulerSchedulingConfig (const std::string &name) const
 Get the scheduling configuration of a real-time scheduler (concurrency layer) thread. More...
 

Detailed Description

A class to retrieve a thread's scheduling configuration (its priority and affinity). A thread's scheduling configuration is retrieved either from the deployment unit's design (if it's specified there), or from the framework (the default configuration). If information about a thread's priority or affinity is available in the deployment unit's design, the member function corresponding to the thread has to be overriden in the generated derived class.

Member Function Documentation

DeploymentThreadConfiguration::SchedulingConfig fesa::DeploymentThreadConfiguration::getEventSourceSchedulingConfig ( const std::string &  name) const
virtual

Get the scheduling configuration of an event source thread.

Parameters
nameThe name of the event source
DeploymentThreadConfiguration::SchedulingConfig fesa::DeploymentThreadConfiguration::getNotificationSchedulingConfig ( const std::string &  name) const
virtual

Get the scheduling configuration of a notification thread.

Parameters
nameThe name of the notification thread
DeploymentThreadConfiguration::SchedulingConfig fesa::DeploymentThreadConfiguration::getRTSchedulerSchedulingConfig ( const std::string &  name) const
virtual

Get the scheduling configuration of a real-time scheduler (concurrency layer) thread.

Parameters
nameThe name of the real-time scheduler (concurrency layer)

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