ccRTP
Public Types | Public Member Functions | Friends
RTPApplication::ParticipantsIterator Class Reference

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

#include <sources.h>

List of all members.

Public Types

typedef std::forward_iterator_tag iterator_category
typedef Participant value_type
typedef 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


Constructor & Destructor Documentation

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

Member Function Documentation

reference RTPApplication::ParticipantsIterator::operator* ( ) const [inline]
ParticipantsIterator& RTPApplication::ParticipantsIterator::operator++ ( ) [inline]
ParticipantsIterator RTPApplication::ParticipantsIterator::operator++ ( int  ) [inline]
pointer RTPApplication::ParticipantsIterator::operator-> ( ) const [inline]

Friends And Related Function Documentation

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

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