1 #if !defined(__GUARDSEMAPHORE_HPP) 2 #define __GUARDSEMAPHORE_HPP 4 #if !defined(__COMMON_HPP) 8 #if !defined(__SEMAPHORE_HPP) 9 #include <Semaphore.hpp> 14 DECLARE_CLASS( GuardSemaphore );
virtual ~GuardSemaphore(void)
Virtual Destructor.
Definition: GuardSemaphore.cpp:77
GuardSemaphore is a special case semaphore for use by the CoreLinuxGuardPool.
Definition: GuardSemaphore.hpp:25
SemaphoreOperationStatus
Semaphore method return enumeration.
Definition: AbstractSemaphore.hpp:39
GuardSemaphoreRef operator=(GuardSemaphoreCref)
Assignment operator throws assertion.
Forward reference the various common classes.
Definition: AbstractAllocator.hpp:32
ScalarIdentifier provides a templated interface for declaring CoreLinux Identifiers for simple scalar...
Definition: ScalarIdentifiers.hpp:37
GuardSemaphore(void)
Default constructor throws assertion.
Definition: GuardSemaphore.cpp:40
SemaphoreException is the base exception type for Semaphore.
Definition: SemaphoreException.hpp:39
A Semaphore supports the protocol that processes and/or threads agree to follow for the purpose of co...
Definition: Semaphore.hpp:61
Assertion is-a Exception created when an assertion fails.
Definition: Assertion.hpp:423
virtual bool isLocked(void)
Ask if AbstractSemaphore instance is locked.
Definition: GuardSemaphore.cpp:85
virtual SemaphoreOperationStatus lockWithWait(void)
Request the lock, wait for availability.
Definition: GuardSemaphore.cpp:94
virtual SemaphoreOperationStatus lockWithNoWait(void)
Request the lock without waiting.
Definition: GuardSemaphore.cpp:108
A SemaphoreGroup is an extension to the Linux semaphore set.
Definition: SemaphoreGroup.hpp:62
virtual SemaphoreOperationStatus release(void)
Request the AbstractSemaphore but timeout if not available.
Definition: GuardSemaphore.cpp:118