NAME
EventContext - 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.
SYNOPSIS
#include <EventContext.hpp>
Inherits corelinux::ThreadContext.
Public Member Functions
EventContext (ArgumentFunctionPtr, corelinux::EventSemaphoreGroupPtr) throw ( corelinux::Assertion )
Default Constructor. EventContext (ArgumentFunctionPtr, corelinux::Size, corelinux::EventSemaphoreGroupPtr) throw ( corelinux::Assertion )
With stack. EventContext (EventContextCref) throw ( corelinux::Assertion )
Copy constructor. virtual ~EventContext (void)
Virtual destructor. EventContextRef operator= (EventContextCref) throw ( corelinux::Assertion )
Assignment operator changes the context. bool operator== (EventContextCref) const
Equality operator compares contexts. corelinux::EventSemaphoreGroupPtr getArgument (void) const
Return the argument to the caller. void setArgument (corelinux::EventSemaphoreGroupPtr)
Sets the argument after initialization.
Protected Member Functions
EventContext (void) throw ( corelinux::Assertion )
Can't use! ArgumentFunctionPtr getArgumentFunction (void)
Return the function to invoke.
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
Author
Generated automatically by Doxygen for CoreLinux++ from the source code.