Go to the documentation of this file.
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(); }
137 template<
typename charT,
typename traits >
139 std::basic_ostream< charT, traits > &
140 operator<<( 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;
bool ITKOpenCL_EXPORT operator!=(const OpenCLCommandQueue &lhs, const OpenCLCommandQueue &rhs)
std::vector< cl_event > OpenCLEventListArrayType
OpenCLEventList & operator+=(const OpenCLEvent &event)
OpenCLEventList(const OpenCLEventList &other)
const OpenCLEventListArrayType & GetEventArray() const
void Append(const OpenCLEvent &event)
OpenCLEvent Get(const std::vcl_size_t index) const
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &strm, const OpenCLCommandQueue &queue)
OpenCLEventList & operator<<(const OpenCLEvent &event)
OpenCLEvent class represents an OpenCL event object.
void Append(const OpenCLEventList &other)
OpenCLEventList & operator<<(const OpenCLEventList &other)
OpenCLEventList class represents a list of OpenCLEvent objects.
OpenCLEventList & operator=(const OpenCLEventList &other)
bool ITKOpenCL_EXPORT operator==(const OpenCLCommandQueue &lhs, const OpenCLCommandQueue &rhs)
void Remove(const OpenCLEvent &event)
const cl_event * GetEventData() const
OpenCLEventList(const OpenCLEvent &event)
OpenCLEventList & operator+=(const OpenCLEventList &other)
bool Contains(const OpenCLEvent &event) const
std::vcl_size_t GetSize() const
OpenCLEventListArrayType m_Events
Generated on OURCE_DATE_EPOCH for elastix by 1.8.18 |
|