9.1
general documentation
cs_event Struct Reference

#include <cs_dispatch_queue.h>

+ Collaboration diagram for cs_event:

Public Types

using underlying_type = std::chrono::steady_clock::time_point
 

Public Member Functions

 cs_event ()
 Constructor. More...
 
 cs_event (cs_event const &other)=delete
 Destructor. More...
 
cs_eventoperator= (cs_event const &)=delete
 
 cs_event (cs_event &&other)=default
 
cs_eventoperator= (cs_event &&other)=default
 
underlying_typeoperator~ ()
 Return the underlying implementation. More...
 
 ~cs_event ()=default
 
void wait ()
 Wait upon completion. More...
 

Public Attributes

underlying_type event_impl
 

Detailed Description

Event to synchronize with. Often the end of a cs_device_task.

Member Typedef Documentation

◆ underlying_type

using underlying_type = std::chrono::steady_clock::time_point

Constructor & Destructor Documentation

◆ cs_event() [1/3]

cs_event ( )
inline

Constructor.

◆ cs_event() [2/3]

cs_event ( cs_event const &  other)
delete

Destructor.

◆ cs_event() [3/3]

cs_event ( cs_event &&  other)
default

◆ ~cs_event()

~cs_event ( )
default

Member Function Documentation

◆ operator=() [1/2]

cs_event & operator= ( cs_event &&  other)
default

◆ operator=() [2/2]

cs_event & operator= ( cs_event const &  )
delete

◆ operator~()

underlying_type & operator~ ( )
inline

Return the underlying implementation.

◆ wait()

void wait ( void  )
inline

Wait upon completion.

Member Data Documentation

◆ event_impl

underlying_type event_impl

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