ccRTP
Public Types | Public Member Functions | Public Attributes | 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
 

Public Member Functions

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

Public Attributes

const typedef Participantpointer
 
const typedef Participantreference
 

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

◆ 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

Member Data Documentation

◆ pointer

const typedef Participant* RTPApplication::ParticipantsIterator::pointer

◆ reference

const typedef Participant& RTPApplication::ParticipantsIterator::reference

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