STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
Concurrency::details::_Event Class Reference

#include <amprt.h>

Public Member Functions

_AMPIMP _Event ()
 Constructor of the _Event. More...
 
_AMPIMP ~_Event ()
 Destructor of the _Event. More...
 
_AMPIMP _Event (const _Event &_Other)
 Copy constructor More...
 
_AMPIMP _Eventoperator= (const _Event &_Other)
 Assignment operator More...
 
_AMPIMP bool _Is_finished_nothrow ()
 Poll whether the _Event has completed or not. Swallows any exceptions More...
 
_AMPIMP bool _Is_finished ()
 Poll whether the _Event has completed or not and throws any exceptions that occur More...
 
_AMPIMP void _Get ()
 Wait until the _Event completes and throw any exceptions that occur. More...
 
_AMPIMP bool _Is_empty () const
 Tells if this is an empty event More...
 
_AMPIMP _Event _Add_event (_Event _Ev)
 Creates an event which is an ordered collection of this and _Ev More...
 
_AMPIMP _Event _Add_continuation (const std::function< _Event __cdecl()> &_Continuation_task)
 Creates an event which is an ordered collection of this and a continuation task More...
 
_AMPIMP bool operator== (const _Event &_Other) const
 Return true if the other _Event is same as this _Event; false otherwise More...
 
_AMPIMP bool operator!= (const _Event &_Other) const
 Return false if the other _Event is same as this _Event; true otherwise More...
 

Private Member Functions

 _Event (_In_ _Event_impl *_Impl)
 

Private Attributes

_Event_impl_ptr _M_ptr_event_impl
 

Friends

class _Buffer
 
class _Texture
 
class accelerator_view
 
class _D3D_accelerator_view_impl
 

Constructor & Destructor Documentation

_AMPIMP Concurrency::details::_Event::_Event ( )

Constructor of the _Event.

_AMPIMP Concurrency::details::_Event::~_Event ( )

Destructor of the _Event.

_AMPIMP Concurrency::details::_Event::_Event ( const _Event _Other)

Copy constructor

Concurrency::details::_Event::_Event ( _In_ _Event_impl *  _Impl)
private

Member Function Documentation

_AMPIMP _Event Concurrency::details::_Event::_Add_continuation ( const std::function< _Event __cdecl()> &  _Continuation_task)

Creates an event which is an ordered collection of this and a continuation task

Returns
The composite event
_AMPIMP _Event Concurrency::details::_Event::_Add_event ( _Event  _Ev)

Creates an event which is an ordered collection of this and _Ev

Returns
The composite event
_AMPIMP void Concurrency::details::_Event::_Get ( )

Wait until the _Event completes and throw any exceptions that occur.

_AMPIMP bool Concurrency::details::_Event::_Is_empty ( ) const

Tells if this is an empty event

Returns
true, if the _Event is empty false, otherwise
_AMPIMP bool Concurrency::details::_Event::_Is_finished ( )

Poll whether the _Event has completed or not and throws any exceptions that occur

Returns
true, if the _Event has completed, false otherwise
_AMPIMP bool Concurrency::details::_Event::_Is_finished_nothrow ( )

Poll whether the _Event has completed or not. Swallows any exceptions

Returns
true, if the _Event has completed, false otherwise
_AMPIMP bool Concurrency::details::_Event::operator!= ( const _Event _Other) const

Return false if the other _Event is same as this _Event; true otherwise

_AMPIMP _Event& Concurrency::details::_Event::operator= ( const _Event _Other)

Assignment operator

_AMPIMP bool Concurrency::details::_Event::operator== ( const _Event _Other) const

Return true if the other _Event is same as this _Event; false otherwise

Friends And Related Function Documentation

friend class _Buffer
friend
friend class _D3D_accelerator_view_impl
friend
friend class _Texture
friend
friend class accelerator_view
friend

Member Data Documentation

_Event_impl_ptr Concurrency::details::_Event::_M_ptr_event_impl
private

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