dxd - dynax driver framework 2.6.0d205
cross platform open source driver development framework
Loading...
Searching...
No Matches
io::iterator Class Reference

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

#include <io_iterator.h>

Inheritance diagram for io::iterator:
Collaboration diagram for io::iterator:

Classes

struct  service

Public Member Functions

auto begin ()
auto count () const noexcept
auto end () const noexcept
 operator const ::io_iterator_t & () const noexcept
 auto converter into const io_object
 operator const ::io_iterator_t & () const noexcept
 auto converter into const io_object
reference<::io_service_t > operator++ () noexcept
 Increments the iterator and returns the next object which is retained and needs to be released.
 operator::io_iterator_t & () noexcept
 auto converter into io_object
 operator::io_iterator_t & () noexcept
 auto converter into io_object
 operator::io_iterator_t * () noexcept
 auto converter into io_object pointer
 operator::io_iterator_t * () noexcept
 auto converter into io_object pointer
::io_iterator_t & operator= (::io_iterator_t io_object) noexcept
 reference object assignment
bool operator== (::io_iterator_t io_object) const noexcept
void reset () noexcept
referenceretain ()
 ~iterator ()

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()

io::iterator::~iterator ( )
inline

Member Function Documentation

◆ begin()

auto io::iterator::begin ( )
inline

◆ count()

auto io::reference< ::io_iterator_t >::count ( ) const
inlinenoexceptinherited

◆ end()

auto io::iterator::end ( ) const
inlinenoexcept

◆ operator const ::io_iterator_t &() [1/2]

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

auto converter into const io_object

◆ operator const ::io_iterator_t &() [2/2]

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

auto converter into const io_object

◆ operator++()

reference<::io_service_t > io::iterator::operator++ ( )
inlinenoexcept

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

Here is the call graph for this function:

◆ operator::io_iterator_t &() [1/2]

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

auto converter into io_object

◆ operator::io_iterator_t &() [2/2]

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

auto converter into io_object

◆ operator::io_iterator_t *() [1/2]

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

auto converter into io_object pointer

◆ operator::io_iterator_t *() [2/2]

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

auto converter into io_object pointer

◆ operator=()

::io_iterator_t & io::reference< ::io_iterator_t >::operator= ( ::io_iterator_t io_object)
inlinenoexcept

reference object assignment

◆ operator==()

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

◆ reset()

void io::iterator::reset ( )
inlinenoexcept

◆ retain()

reference & io::reference< ::io_iterator_t >::retain ( )
inlineinherited
Here is the call graph for this function:
Here is the caller graph for this function:

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

(c) copyright 2009 dynamic acoustics e.U. generated on

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.