library of assembled shared sources |
http://lass.cocamware.com |
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 { lass::util::ppLow, lass::util::ppBelowNormal, lass::util::ppNormal, lass::util::ppAboveNormal, lass::util::ppHigh, lass::util::numberOfProcessPriorities } |
different process priority levels More... | |
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 |
TProcessPriorityDictionary& lass::util::processPriorityDictionary | ( | ) | [inline] |
singleton with dictionary that can translate strings to ProcessPriority.
Valid keys are "low", "belownormal", "normal", "abovenormal" and "high".
ProcessPriority priority = processPriorityDictionary()["normal"];
Definition at line 87 of file process.h.
Referenced by lass::util::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. |
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 121 of file process.cpp.
References LASS_THROW, lass::util::ppNormal, and lass::util::processPriorityDictionary().
Generated on Mon Nov 10 14:22:06 2008 for Library of Assembled Shared Sources by 1.5.7.1 |