ccRTP 2.1.2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | Friends
RTPApplication::ParticipantsIterator Class Reference

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

#include <sources.h>

Collaboration diagram for RTPApplication::ParticipantsIterator:
Collaboration graph
[legend]

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)
 

Private Attributes

ParticipantLinklink
 

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

Definition at line 401 of file sources.h.

Member Typedef Documentation

Definition at line 406 of file sources.h.

Definition at line 404 of file sources.h.

Definition at line 407 of file sources.h.

Definition at line 408 of file sources.h.

Definition at line 405 of file sources.h.

Constructor & Destructor Documentation

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

Definition at line 410 of file sources.h.

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

Definition at line 414 of file sources.h.

Member Function Documentation

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

Definition at line 418 of file sources.h.

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

Definition at line 424 of file sources.h.

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

Definition at line 429 of file sources.h.

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

Definition at line 421 of file sources.h.

Friends And Related Function Documentation

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

Definition at line 438 of file sources.h.

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

Definition at line 434 of file sources.h.

Field Documentation

ParticipantLink* RTPApplication::ParticipantsIterator::link
private

Definition at line 442 of file sources.h.


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