dxd - dynax driver framework
cross platform open source driver development framework
dx::io::iterator Class Reference

internally used service iterator providing RAII for io_service references - returned when iterating More...

#include <dx_iokit.h>

+ Inheritance diagram for dx::io::iterator:
+ Collaboration diagram for dx::io::iterator:

Public Member Functions

 operator const ::io_iterator_t & () const noexcept
 auto converter into const object More...
 
::io_service_t operator++ (int) noexcept
 Increments the iterator and returns the next object which is retained and needs to be released. More...
 
 operator::io_iterator_t & () noexcept
 auto converter into object More...
 
 operator::io_iterator_t * () noexcept
 auto converter into object pointer More...
 
bool operator== (::io_iterator_t object) const noexcept
 
void reset () noexcept
 
 ~iterator () noexcept
 

Detailed Description

internally used service iterator providing RAII for io_service references - returned when iterating

remark: The service class does not track io_iterator reference counting itself! Use io::reference to track IOObject references! The io_iterator needs to have a seperately defined object lifetime.

Constructor & Destructor Documentation

◆ ~iterator()

dx::io::iterator::~iterator ( )
inlinenoexcept

Member Function Documentation

◆ operator const ::io_iterator_t &()

dx::io::reference< ::io_iterator_t >::operator const ::io_iterator_t & ( ) const
inlinenoexceptinherited

auto converter into const object

◆ operator++()

::io_service_t dx::io::iterator::operator++ ( int  )
inlinenoexcept

Increments the iterator and returns the next object which is retained and needs to be released.

◆ operator::io_iterator_t &()

dx::io::reference< ::io_iterator_t >::operator ::io_iterator_t & ( )
inlinenoexceptinherited

auto converter into object

◆ operator::io_iterator_t *()

dx::io::reference< ::io_iterator_t >::operator ::io_iterator_t * ( )
inlinenoexceptinherited

auto converter into object pointer

◆ operator==()

bool dx::io::reference< ::io_iterator_t >::operator== ( ::io_iterator_t  object) const
inlinenoexceptinherited

◆ reset()

void dx::io::iterator::reset ( )
inlinenoexcept

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Jun 18 2021

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.