#include <MutexSemaphoreGroup.hpp>
Inheritance diagram for corelinux::MutexSemaphoreGroup
Public Methods | |
MutexSemaphoreGroup ( Short, Int Rights = OWNER_ALL ) throw (Assertion,SemaphoreException) | |
Default constructor creates a private group semaphores with access for OWNER_ALL. More... | |
MutexSemaphoreGroup ( Short, SemaphoreGroupIdentifierCref, Int , CreateDisposition disp=FAIL_IF_EXISTS ) throw (Assertion,SemaphoreException) | |
Constructor to open or create a semaphore group with a specific identifier. More... | |
MutexSemaphoreGroup ( Short, CharCptr, Int , CreateDisposition disp=FAIL_IF_EXISTS ) throw (Assertion,SemaphoreException) | |
Constructor to open or create a semaphore group by name. More... | |
virtual | ~MutexSemaphoreGroup ( void ) |
Virtual destructor. | |
virtual AbstractSemaphorePtr | createSemaphore ( void ) throw ( SemaphoreException ) |
Create a default MutexSemaphore. More... | |
virtual AbstractSemaphorePtr | createLockedSemaphore ( bool Recursive = false, bool Balking = false ) throw ( SemaphoreException ) |
Create a locked MutexSemaphore. More... | |
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. More... | |
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. More... | |
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. More... | |
virtual void | destroySemaphore ( AbstractSemaphorePtr ) throw ( SemaphoreException ) |
Destroys a created MutexSemaphore. More... | |
Protected Methods | |
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.
Reimplemented from corelinux::SemaphoreGroup. |
|
Create or open (use) a specific MutexSemphore.
Reimplemented from corelinux::SemaphoreGroup. |
|
Create a default MutexSemaphore.
Reimplemented from corelinux::SemaphoreGroup. |
|
Destroys a created MutexSemaphore.
Reimplemented from corelinux::SemaphoreGroup. |