ccRTP
Public Types | Public Member Functions | Friends | List of all members
RTPApplication::ParticipantsIterator Class Reference

Iterator through the list of participants in this session. More...

#include <sources.h>

Public Types

typedef std::forward_iterator_tag iterator_category
 
typedef Participant value_type
 
typedef std::ptrdiff_t difference_type
 
typedef const Participantpointer
 
typedef const Participantreference
 

Public Member Functions

 ParticipantsIterator (ParticipantLink *p=NULL)
 
 ParticipantsIterator (const ParticipantsIterator &pi)
 
reference operator* () const
 
pointer operator-> () const
 
ParticipantsIteratoroperator++ ()
 
ParticipantsIterator operator++ (int)
 

Friends

bool operator== (const ParticipantsIterator &l, const ParticipantsIterator &r)
 
bool operator!= (const ParticipantsIterator &l, const ParticipantsIterator &r)
 

Detailed Description

Iterator through the list of participants in this session.

Somehow resembles and standard const_iterator

Examples:
ccrtptest.cpp.

Member Typedef Documentation

§ difference_type

§ iterator_category

§ pointer

§ reference

§ value_type

Constructor & Destructor Documentation

§ ParticipantsIterator() [1/2]

RTPApplication::ParticipantsIterator::ParticipantsIterator ( ParticipantLink *  p = NULL)
inline

§ ParticipantsIterator() [2/2]

RTPApplication::ParticipantsIterator::ParticipantsIterator ( const ParticipantsIterator pi)
inline

Member Function Documentation

§ operator*()

reference RTPApplication::ParticipantsIterator::operator* ( ) const
inline

§ operator++() [1/2]

ParticipantsIterator& RTPApplication::ParticipantsIterator::operator++ ( )
inline

§ operator++() [2/2]

ParticipantsIterator RTPApplication::ParticipantsIterator::operator++ ( int  )
inline

§ operator->()

pointer RTPApplication::ParticipantsIterator::operator-> ( ) const
inline

Friends And Related Function Documentation

§ operator!=

bool operator!= ( const ParticipantsIterator l,
const ParticipantsIterator r 
)
friend

§ operator==

bool operator== ( const ParticipantsIterator l,
const ParticipantsIterator r 
)
friend

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