18#ifndef __itkOpenCLEventList_h
19#define __itkOpenCLEventList_h
61 bool IsEmpty()
const {
return this->m_Events.empty(); }
65 std::size_t
GetSize()
const {
return this->m_Events.size(); }
137template<
typename charT,
typename traits >
139std::basic_ostream< charT, traits > &
140operator<<( std::basic_ostream< charT, traits > & strm,
145 strm <<
"OpenCLEventList()";
149 OpenCLEventList::OpenCLEventListArrayType::const_iterator it;
153 strm <<
"OpenCLEventList contains:" << std::endl;
154 for( it = eventsArray.begin(); it < eventsArray.end(); ++it )
161 strm <<
"array id: " <<
id <<
" " << *it << std::endl;
OpenCLEventList class represents a list of OpenCLEvent objects.
OpenCLEventListArrayType m_Events
OpenCLEventList & operator<<(const OpenCLEvent &event)
OpenCLEventList(const OpenCLEventList &other)
std::vector< cl_event > OpenCLEventListArrayType
OpenCLEvent Get(const std::vcl_size_t index) const
OpenCLEventList & operator+=(const OpenCLEventList &other)
OpenCLEventList(const OpenCLEvent &event)
std::vcl_size_t GetSize() const
OpenCLEventList & operator<<(const OpenCLEventList &other)
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)