#include <MutexSemaphoreGroup.hpp>
Inheritance diagram for corelinux::MutexSemaphoreGroup:
Public Member Functions | |
MutexSemaphoreGroup (Short, Int Rights=OWNER_ALL) throw (Assertion,SemaphoreException) | |
Default constructor creates a private group semaphores with access for OWNER_ALL. | |
MutexSemaphoreGroup (Short, SemaphoreGroupIdentifierCref, Int, CreateDisposition disp=FAIL_IF_EXISTS) throw (Assertion,SemaphoreException) | |
Constructor to open or create a semaphore group with a specific identifier. | |
MutexSemaphoreGroup (Short, CharCptr, Int, CreateDisposition disp=FAIL_IF_EXISTS) throw (Assertion,SemaphoreException) | |
Constructor to open or create a semaphore group by name. | |
virtual | ~MutexSemaphoreGroup (void) |
Virtual destructor. | |
virtual AbstractSemaphorePtr | createSemaphore (void) throw ( SemaphoreException ) |
Create a default MutexSemaphore. | |
virtual AbstractSemaphorePtr | createLockedSemaphore (bool Recursive=false, bool Balking=false) throw ( SemaphoreException ) |
Create a locked MutexSemaphore. | |
virtual AbstractSemaphorePtr | createSemaphore (SemaphoreIdentifierRef aIdentifier, CreateDisposition disp=CREATE_OR_REUSE, bool Recursive=false, bool Balking=false) throw ( SemaphoreException ) |
Create or open (use) a specific MutexSemphore. | |
virtual AbstractSemaphorePtr | createLockedSemaphore (SemaphoreIdentifierRef aIdentifier, CreateDisposition disp=CREATE_OR_REUSE, bool Recursive=false, bool Balking=false) throw ( SemaphoreException ) |
Create or open (use) a specific MutexSemphore and have it automatically locked. | |
virtual AbstractSemaphorePtr | createSemaphore (std::string aName, CreateDisposition disp=CREATE_OR_REUSE, bool Recursive=false, bool Balking=false) throw ( SemaphoreException ) |
Create or open (use) a specific MutexSemphore. | |
virtual void | destroySemaphore (AbstractSemaphorePtr) throw ( SemaphoreException ) |
Destroys a created MutexSemaphore. | |
Protected Member Functions | |
MutexSemaphoreGroup (void) throw ( Assertion ) | |
Default constructor not allowed. | |
MutexSemaphoreGroup (MutexSemaphoreGroupCref) throw ( Assertion ) | |
Copy constructor not allowed. | |
MutexSemaphoreGroupRef | operator= (MutexSemaphoreGroupCref) throw ( Assertion ) |
Assignment operator not allowed. | |
AbstractSemaphorePtr | resolveSemaphore (SemaphoreIdentifierRef aIdentifier, Short aSemId, CreateDisposition aDisp, bool aRecurse, bool aBalk, bool aAutoLock=false) throw ( SemaphoreException ) |
Protected method for resolving mutex between CSA and local. |
Default behavior for creating semaphores via the SemaphoreGroup interface is to NOT autolock the MutexSemaphore. Use the createLockedSemaphore(...) interface to accomplish this.
|
Default constructor creates a private group semaphores with access for OWNER_ALL.
|
|
Constructor to open or create a semaphore group with a specific identifier.
|
|
Constructor to open or create a semaphore group by name.
|
|
Create or open (use) a specific MutexSemphore and have it automatically locked.
|
|
Create a locked MutexSemaphore.
|
|
Create or open (use) a specific MutexSemphore.
Implements corelinux::SemaphoreGroup. |
|
Create or open (use) a specific MutexSemphore.
Implements corelinux::SemaphoreGroup. |
|
Create a default MutexSemaphore.
Implements corelinux::SemaphoreGroup. |
|
Destroys a created MutexSemaphore.
Implements corelinux::SemaphoreGroup. |