EventContext3
Eventcontext shows off how by extending threadcontext we can add arguments to the call and use any method not just those prototyped by the system.
Usage
Inherits corelinux::ThreadContext.
Public Member Functions
EventContext (ArgumentFunctionPtr,
corelinux::EventSemaphoreGroupPtr)
throw
(
corelinux::Assertion
)
Default Constructor.
EventContext
(ArgumentFunctionPtr,
corelinux::Size,
corelinux::EventSemaphoreGroupPtr)
throw
(
corelinux::Assertion
)
Protected Member Functions
EventContext (void)
throw
(
corelinux::Assertion
)
Detailed Description
EventContext shows off how by extending ThreadContext we can add arguments to the call and use any method not just those prototyped by the system.
Member Function Documentation
EventContextRef EventContext::operator= (EventContextCref) throw ( corelinux::Assertion )
Assignment operator changes the context. Parameters:
EventContext reference to existing context
Returns:
EventContext reference
Exceptions:
ThreadNotWaitingException if the Event context is not in a THREAD_WAITING_TO_START state.
bool EventContext::operator== (EventContextCref) const
Equality operator compares contexts. Parameters:
EventContext reference to existing context
Returns:
bool true if same
History
- Debian 3.1 (Sarge): the text shown here
- Debian 3.0 (Woody)