#include <Environment.hpp>
Public Member Functions | |
| bool | operator== (EnvironmentCref) const |
| Equality operator. | |
Static Public Member Functions | |
| static UserIdentifier | getUserId (void) |
| Retreive the real user id for the current process. | |
| static UserIdentifier | getEffectiveUserId (void) |
| Retreive the effective user id for the current process. | |
| static GroupIdentifier | getGroupId (void) |
| Retreive the real group id for the current process. | |
| static GroupIdentifier | getEffectiveGroupId (void) |
| Retreive the effective group id for the current process. | |
| static CharPtr | getEnvironmentValue (CharCptr) |
| Retrieve the environmental value variable from the (name=value) pair. | |
| static Int | setEnvironmentNameValue (CharPtr) |
| Sets an environment name=value. | |
| static Int | setupCommonAccess (CharCptr, const CreateDisposition &) |
| Basically, creates a filename for use by those Linux system api that require a key (IPC mainly). | |
| static Int | removeCommonAccess (CharCptr) |
| The reverse of setupCommonAccess. | |
| static ProcessIdentifier | getProcessGroupId (void) |
| Retrieve the process group id for the current process. | |
| static ProcessIdentifier | getProcessGroupId (ProcessIdentifierRef) |
| Retrieve the process group id for a specific process. | |
| static void | setThreadPriority (ProcessIdentifier, Int) |
| set priority for a specific process | |
| static Int | getThreadPriority (ProcessIdentifier) |
| get priority for a specific process | |
Protected Member Functions | |
| Environment (EnvironmentCref) throw (Assertion) | |
| EnvironmentRef | operator= (EnvironmentCref) throw (Assertion) |
| CharPtr corelinux::Environment::getEnvironmentValue | ( | CharCptr | ) | [static] |
Retrieve the environmental value variable from the (name=value) pair.
Same behavior as in POSIX getenv
| Char | const pointer to key (name) to find value for |
| Int corelinux::Environment::setEnvironmentNameValue | ( | CharPtr | ) | [static] |
Sets an environment name=value.
Same behavior and return as POSIX putenv.
| Char | pointer to string with "NAME=VALUE" |
| Int corelinux::Environment::setupCommonAccess | ( | CharCptr | , | |
| const CreateDisposition & | ||||
| ) | [static] |
Basically, creates a filename for use by those Linux system api that require a key (IPC mainly).
| Char | pointer to fully qualified name | |
| CreateDisposition | disposition of object |
| Int corelinux::Environment::removeCommonAccess | ( | CharCptr | ) | [static] |
The reverse of setupCommonAccess.
| Char | pointer to fully qualified name |