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

#include <tcpStream.h>

Public Member Functions

int connectToALB (const char *ipv4=default_ip, const uint16_t port=default_port)
 
int disconnectfromALB ()
 
int getNextFrame (uint8_t *buffer, const size_t buffer_size)
 

Static Public Attributes

static const char * default_ip = "192.168.2.2"
 
static const uint16_t default_port = 11120
 

Private Attributes

int socket_fd = -1
 

Detailed Description

Definition at line 3 of file tcpStream.h.

Member Function Documentation

◆ connectToALB()

int TcpStreamReader::connectToALB ( const char *  ipv4 = default_ip,
const uint16_t  port = default_port 
)

Definition at line 121 of file tcpStream.cpp.

◆ disconnectfromALB()

int TcpStreamReader::disconnectfromALB ( )

Definition at line 175 of file tcpStream.cpp.

◆ getNextFrame()

int TcpStreamReader::getNextFrame ( uint8_t *  buffer,
const size_t  buffer_size 
)

Definition at line 159 of file tcpStream.cpp.

Member Data Documentation

◆ default_ip

const char * TcpStreamReader::default_ip = "192.168.2.2"
static

Definition at line 6 of file tcpStream.h.

◆ default_port

const uint16_t TcpStreamReader::default_port = 11120
static

Definition at line 7 of file tcpStream.h.

◆ socket_fd

int TcpStreamReader::socket_fd = -1
private

Definition at line 32 of file tcpStream.h.


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


outsight_alb_driver
Author(s): Outsight
autogenerated on Fri Oct 14 2022 02:29:51