fesa::ThreadPriorityConfigurationFromFile Class Reference

#include <ThreadPriorityConfiguration.h>

Inheritance diagram for fesa::ThreadPriorityConfigurationFromFile:
fesa::ThreadPriorityConfiguration

List of all members.

Public Member Functions

int32_t getPrioCMW () const
int32_t getPrioPersistence () const
int32_t getPrioNotificationConsumer () const
int32_t getPrioRTScheduler (const std::string &name) const
int32_t getPrioEventSource (const std::string &name) const
int32_t getPrioNotificationthread (const std::string &className, const std::string &notificationThreadKey) const
bool getMaximumPrio (int32_t &maxPrio) const
 This method gets the maximum priority, defined in an instantiation file. If no prio-attribute was found, it will return 'false'.
 ThreadPriorityConfigurationFromFile (XMLParser &xmlParser, const ProcessConfiguration *processConfiguration)
 ~ThreadPriorityConfigurationFromFile ()

Private Attributes

XMLParserxmlParser_
const ProcessConfigurationprocessConfiguration_
 pointer to the configuration data object
bool use_nice_priorities_

Detailed Description

Definition at line 38 of file ThreadPriorityConfiguration.h.


Constructor & Destructor Documentation

fesa::ThreadPriorityConfigurationFromFile::ThreadPriorityConfigurationFromFile ( XMLParser xmlParser,
const ProcessConfiguration processConfiguration 
)

Definition at line 28 of file ThreadPriorityConfiguration.cpp.

fesa::ThreadPriorityConfigurationFromFile::~ThreadPriorityConfigurationFromFile (  ) 

Definition at line 34 of file ThreadPriorityConfiguration.cpp.


Member Function Documentation

bool fesa::ThreadPriorityConfigurationFromFile::getMaximumPrio ( int32_t &  maxPrio  )  const [virtual]

This method gets the maximum priority, defined in an instantiation file. If no prio-attribute was found, it will return 'false'.

Returns:
true, if max_prio was calculated successfully
Exceptions:
FesaException 

Implements fesa::ThreadPriorityConfiguration.

Definition at line 218 of file ThreadPriorityConfiguration.cpp.

References fesa::XMLParser::extractElementsFromXPath(), fesa::priorityAttributeName, and xmlParser_.

int32_t fesa::ThreadPriorityConfigurationFromFile::getPrioCMW (  )  const [virtual]
int32_t fesa::ThreadPriorityConfigurationFromFile::getPrioEventSource ( const std::string &  name  )  const [virtual]
int32_t fesa::ThreadPriorityConfigurationFromFile::getPrioNotificationConsumer (  )  const [virtual]
int32_t fesa::ThreadPriorityConfigurationFromFile::getPrioNotificationthread ( const std::string &  className,
const std::string &  notificationThreadKey 
) const [virtual]
int32_t fesa::ThreadPriorityConfigurationFromFile::getPrioPersistence (  )  const [virtual]
int32_t fesa::ThreadPriorityConfigurationFromFile::getPrioRTScheduler ( const std::string &  name  )  const [virtual]

Member Data Documentation

Definition at line 68 of file ThreadPriorityConfiguration.h.


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

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1