PFUNC 1.0
Public Member Functions | Protected Attributes
pfunc::detail::event_base Struct Reference

#include <pfunc/event.hpp>

Inheritance diagram for pfunc::detail::event_base:
pfunc::detail::no_copy pfunc::detail::event< EventType > pfunc::detail::event< testable_event > pfunc::detail::event< waitable_event >

List of all members.

Public Member Functions

 event_base ()
 ~event_base ()
bool test ()
void reset (const unsigned int &nwait)

Protected Attributes

ALIGN64 int event_state
ALIGN64 int num_waiters

Constructor & Destructor Documentation

pfunc::detail::event_base::event_base ( ) [inline]

Constructor

pfunc::detail::event_base::~event_base ( ) [inline]

Destructor


Member Function Documentation

void pfunc::detail::event_base::reset ( const unsigned int &  nwait) [inline]

Reset this event for reuse

Parameters:
[in]nwaitNumber of waiters receiving completion notices
bool pfunc::detail::event_base::test ( ) [inline]

Test if an event is complete. We just check for the state

Returns:
true if the event is complete
false if the event is incomplete or inactive

Member Data Documentation

ALIGN64 int pfunc::detail::event_base::event_state [protected]

State of this event

ALIGN64 int pfunc::detail::event_base::num_waiters [protected]

The number of waiters on this even


The documentation for this struct was generated from the following file: