Public Member Functions | Private Attributes | List of all members
Communication Class Reference

#include <Communication.h>

Public Member Functions

bool connectMulSock (const std::string &ip, int index)
 
bool connectSock ()
 
bool disconnectSock ()
 
void readFrame ()
 
void readMulFrame (int index)
 
uint8_t readMulSock (void *buf, int count, int index)
 
uint8_t readSock (void *buf, int count)
 
int writeMulSock (const void *buf, int count, int i)
 
int writeSock (const void *buf, int count)
 

Private Attributes

int sockID
 
int sockIDList [1000]
 

Detailed Description

Definition at line 39 of file Communication.h.

Member Function Documentation

bool Communication::connectMulSock ( const std::string &  ip,
int  index 
)

Definition at line 297 of file Communication.cpp.

bool Communication::connectSock ( )

Definition at line 69 of file Communication.cpp.

bool Communication::disconnectSock ( )
void Communication::readFrame ( )

Definition at line 239 of file Communication.cpp.

void Communication::readMulFrame ( int  index)

Definition at line 475 of file Communication.cpp.

uint8_t Communication::readMulSock ( void *  buf,
int  count,
int  index 
)

Definition at line 465 of file Communication.cpp.

uint8_t Communication::readSock ( void *  buf,
int  count 
)

Definition at line 229 of file Communication.cpp.

int Communication::writeMulSock ( const void *  buf,
int  count,
int  i 
)

Definition at line 450 of file Communication.cpp.

int Communication::writeSock ( const void *  buf,
int  count 
)

Definition at line 223 of file Communication.cpp.

Member Data Documentation

int Communication::sockID
private

Definition at line 58 of file Communication.h.

int Communication::sockIDList[1000]
private

Definition at line 59 of file Communication.h.


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


edrone_client
Author(s): Simranjeet Singh
autogenerated on Sun Dec 1 2019 03:30:51