![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkOpenCLEventList.h>
OpenCLEventList class represents a list of OpenCLEvent objects.
Definition at line 32 of file itkOpenCLEventList.h.
Public Types | |
typedef std::vector< cl_event > | OpenCLEventListArrayType |
typedef OpenCLEventList | Self |
Public Member Functions | |
void | Append (const OpenCLEvent &event) |
void | Append (const OpenCLEventList &other) |
bool | Contains (const OpenCLEvent &event) const |
OpenCLEvent | Get (const std::vcl_size_t index) const |
const OpenCLEventListArrayType & | GetEventArray () const |
const cl_event * | GetEventData () const |
std::vcl_size_t | GetSize () const |
bool | IsEmpty () const |
OpenCLEventList () | |
OpenCLEventList (const OpenCLEvent &event) | |
OpenCLEventList (const OpenCLEventList &other) | |
OpenCLEventList & | operator+= (const OpenCLEvent &event) |
OpenCLEventList & | operator+= (const OpenCLEventList &other) |
OpenCLEventList & | operator<< (const OpenCLEvent &event) |
OpenCLEventList & | operator<< (const OpenCLEventList &other) |
OpenCLEventList & | operator= (const OpenCLEventList &other) |
void | Remove (const OpenCLEvent &event) |
cl_int | WaitForFinished () |
~OpenCLEventList () | |
Private Attributes | |
OpenCLEventListArrayType | m_Events |
typedef std::vector< cl_event > itk::OpenCLEventList::OpenCLEventListArrayType |
Definition at line 39 of file itkOpenCLEventList.h.
Standard class typedefs.
Definition at line 37 of file itkOpenCLEventList.h.
|
inline |
Constructs an empty list of OpenCL events.
Definition at line 42 of file itkOpenCLEventList.h.
itk::OpenCLEventList::OpenCLEventList | ( | const OpenCLEvent & | event | ) |
Constructs a list of OpenCL events that contains event. If event is null, this constructor will construct an empty list.
itk::OpenCLEventList::OpenCLEventList | ( | const OpenCLEventList & | other | ) |
Constructs a copy of other.
itk::OpenCLEventList::~OpenCLEventList | ( | ) |
Destroys this list of OpenCL events.
void itk::OpenCLEventList::Append | ( | const OpenCLEvent & | event | ) |
Appends event to this list of OpenCL events if it is not null. Does nothing if event is null.
void itk::OpenCLEventList::Append | ( | const OpenCLEventList & | other | ) |
Appends the contents of other to this event list.
bool itk::OpenCLEventList::Contains | ( | const OpenCLEvent & | event | ) | const |
OpenCLEvent itk::OpenCLEventList::Get | ( | const std::vcl_size_t | index | ) | const |
Returns the event at index in this event list, or a null OpenCLEvent if index is out of range.
const OpenCLEventListArrayType& itk::OpenCLEventList::GetEventArray | ( | ) | const |
Returns a const reference to the array of OpenCL events.
const cl_event* itk::OpenCLEventList::GetEventData | ( | ) | const |
Returns a const pointer to the raw OpenCL event data in this event list; null if the list is empty. This function is intended for use with native OpenCL library functions that take an array of cl_event objects as an argument.
|
inline |
Returns the size of this event list.
Definition at line 65 of file itkOpenCLEventList.h.
|
inline |
Returns true if this is an empty list, false otherwise.
Definition at line 61 of file itkOpenCLEventList.h.
OpenCLEventList& itk::OpenCLEventList::operator+= | ( | const OpenCLEvent & | event | ) |
Same as append event.
OpenCLEventList& itk::OpenCLEventList::operator+= | ( | const OpenCLEventList & | other | ) |
Same as append event.
OpenCLEventList& itk::OpenCLEventList::operator<< | ( | const OpenCLEvent & | event | ) |
Same as append event.
OpenCLEventList& itk::OpenCLEventList::operator<< | ( | const OpenCLEventList & | other | ) |
Same as append event.
OpenCLEventList& itk::OpenCLEventList::operator= | ( | const OpenCLEventList & | other | ) |
Assigns the contents of other to this object.
void itk::OpenCLEventList::Remove | ( | const OpenCLEvent & | event | ) |
Removes event from this event list.
cl_int itk::OpenCLEventList::WaitForFinished | ( | ) |
Waits for all of the events in this list to be signaled as finished. The calling thread is blocked until all of the events are signaled. If the list is empty, then this function returns immediately.
|
private |
Definition at line 123 of file itkOpenCLEventList.h.
Generated on 07-03-2016 for elastix by ![]() |
![]() |