dxd - dynax driver framework 2.1.0d48
cross platform open source driver development framework
Loading...
Searching...
No Matches
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 object_t & () const noexcept
 auto converter into const object
 
 operator object_t & () noexcept
 auto converter into object
 
 operator object_t * () noexcept
 auto converter into object pointer
 
::io_service_t operator++ (int) noexcept
 Increments the iterator and returns the next object which is retained and needs to be released.
 
bool operator== (object_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 object_t &()

template<typename object_t >
dx::io::reference< object_t >::operator const object_t & ( ) const
inlinenoexceptinherited

auto converter into const object

◆ operator object_t &()

template<typename object_t >
dx::io::reference< object_t >::operator object_t & ( )
inlinenoexceptinherited

auto converter into object

◆ operator object_t *()

template<typename object_t >
dx::io::reference< object_t >::operator object_t * ( )
inlinenoexceptinherited

auto converter into object pointer

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

template<typename object_t >
bool dx::io::reference< object_t >::operator== ( object_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 Feb 23 2024

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.