18#ifndef itkOpenCLEventList_h
19#define itkOpenCLEventList_h
64 return this->m_Events.empty();
72 return this->m_Events.size();
94 Get(
const std::size_t index)
const;
158template <
typename charT,
typename traits>
159inline std::basic_ostream<charT, traits> &
164 strm <<
"OpenCLEventList()";
168 OpenCLEventList::OpenCLEventListArrayType::const_iterator it;
172 strm <<
"OpenCLEventList contains:" << std::endl;
173 for (it = eventsArray.begin(); it < eventsArray.end(); ++it)
180 strm <<
"array id: " <<
id <<
" " << *it << std::endl;
OpenCLEventList class represents a list of OpenCLEvent objects.
OpenCLEventListArrayType m_Events
OpenCLEventList(const OpenCLEventList &other)
OpenCLEvent Get(const std::vcl_size_t index) const
OpenCLEventList & operator+=(const OpenCLEventList &other)
std::vector< cl_event > OpenCLEventListArrayType
OpenCLEventList(const OpenCLEvent &event)
std::vcl_size_t GetSize() const
OpenCLEventList()=default
OpenCLEventList & operator=(const OpenCLEventList &other)
const OpenCLEventListArrayType & GetEventArray() const
OpenCLEventList & operator+=(const OpenCLEvent &event)
void Remove(const OpenCLEvent &event)
bool Contains(const OpenCLEvent &event) const
const cl_event * GetEventData() const
OpenCLEvent class represents an OpenCL event object.
bool ITKOpenCL_EXPORT operator==(const OpenCLCommandQueue &lhs, const OpenCLCommandQueue &rhs)
bool ITKOpenCL_EXPORT operator!=(const OpenCLCommandQueue &lhs, const OpenCLCommandQueue &rhs)
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &strm, const OpenCLCommandQueue &queue)