Babel
Epitech's C++ VoIP project
Classes | Public Member Functions | Public Attributes | List of all members
Babel::Call Struct Reference

struct to handle all Call related data More...

#include <Call.hpp>

Collaboration diagram for Babel::Call:

Classes

struct  Participant
 struct to handle all Call related data More...
 

Public Member Functions

 Call ()
 
void addParticipant (ITCPConnection< RFCCodes > &p, std::string udpAddress, uint16_t udpPort, std::string username)
 
bool isParticipant (const ITCPConnection< RFCCodes > &p) const
 
void removeParticipant (ITCPConnection< RFCCodes > &p)
 
Message< RFCCodes > & appendAllIPs (Message< RFCCodes > &m) const
 

Public Attributes

std::vector< Participantparticipants
 

Detailed Description

struct to handle all Call related data

Constructor & Destructor Documentation

◆ Call()

Babel::Call::Call ( )
explicit

Member Function Documentation

◆ addParticipant()

void Babel::Call::addParticipant ( ITCPConnection< RFCCodes > &  p,
std::string  udpAddress,
uint16_t  udpPort,
std::string  username 
)

◆ appendAllIPs()

Message< RFCCodes > & Babel::Call::appendAllIPs ( Message< RFCCodes > &  m) const

◆ isParticipant()

bool Babel::Call::isParticipant ( const ITCPConnection< RFCCodes > &  p) const

◆ removeParticipant()

void Babel::Call::removeParticipant ( ITCPConnection< RFCCodes > &  p)

Member Data Documentation

◆ participants

std::vector<Participant> Babel::Call::participants

The documentation for this struct was generated from the following files: