dxd - dynax driver framework 2.1.0d73
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:

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
 
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 pointer
 
bool operator== (::io_iterator_t io_object) const noexcept
 
void reset () noexcept
 
referenceretain ()
 
 ~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

◆ begin()

auto dx::io::iterator::begin ( )
inline

◆ count()

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

◆ end()

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

◆ operator const ::io_iterator_t &()

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

auto converter into const io_object

◆ operator++()

reference<::io_service_t > dx::io::iterator::operator++ ( )
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 io_object

◆ operator::io_iterator_t *()

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

auto converter into io_object pointer

◆ operator==()

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

◆ reset()

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

◆ retain()

reference & dx::io::reference< ::io_iterator_t >::retain ( )
inlineinherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Nov 15 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.