Library of Assembled Shared Sources
|
module concerning process settings
Typedefs | |
typedef util::Dictionary< std::string, ProcessPriority > | lass::util::TProcessPriorityDictionary |
type of dictionary that can translate strings to ProcessPriority values. | |
Enumerations | |
enum | lass::util::ProcessPriority |
different process priority levels | |
Functions | |
TProcessPriorityDictionary & | lass::util::processPriorityDictionary () |
singleton with dictionary that can translate strings to ProcessPriority. | |
LASS_DLL void LASS_CALL | lass::util::setProcessPriority (ProcessPriority iPriority) |
set process priority by ProcessPriority value | |
void | lass::util::setProcessPriority (const std::string &iPriority) |
set process priority by string | |
typedef util::Dictionary<std::string, ProcessPriority> lass::util::TProcessPriorityDictionary |
type of dictionary that can translate strings to ProcessPriority values.
Its keys are strings, its values are ProcessPriority values.
|
inline |
singleton with dictionary that can translate strings to ProcessPriority.
Valid keys are "low", "belownormal", "normal", "abovenormal" and "high".
Definition at line 87 of file process.h.
References lass::util::Singleton< T, destructPriority >::instance().
Referenced by setProcessPriority().
LASS_DLL void LASS_CALL lass::util::setProcessPriority | ( | ProcessPriority | iPriority | ) |
set process priority by ProcessPriority value
iPriority | One of the values of ProcessPriority except numberOfProcessPriorities! |
Exception | An exception is thrown if setting the process priority fails. |
References LASS_DLL.
LASS_DLL void LASS_CALL lass::util::setProcessPriority | ( | const std::string & | iPriority | ) |
set process priority by string
iPriority | The key string which is looked up in processPriorityDictionary(). The return is used to set the process priority. See TProcessPriorityDictionary for valid keys. |
Exception | An exception is thrown if iPriority is an invalid key or setting the process priority fails. |
Definition at line 120 of file process.cpp.
References processPriorityDictionary(), and setProcessPriority().
Referenced by setProcessPriority().