Darknet/YOLO v3.0-88-gdee7eef
Object Detection Framework
 
Loading...
Searching...
No Matches
MJPG_sender Class Reference
Collaboration diagram for MJPG_sender:

Public Member Functions

 MJPG_sender (int port=0, int _timeout=400000, int _quality=30)
 
 ~MJPG_sender ()
 
void close_all ()
 
bool isOpened ()
 
bool open (int port)
 
bool release ()
 
bool write (const Mat &frame)
 

Private Member Functions

int _write (int sock, char const *const s, int len)
 

Private Attributes

int close_all_sockets
 
fd_set master
 
int maxfd
 
int quality
 
int sock
 
int timeout
 

Constructor & Destructor Documentation

◆ MJPG_sender()

MJPG_sender::MJPG_sender ( int  port = 0,
int  _timeout = 400000,
int  _quality = 30 
)
inline

◆ ~MJPG_sender()

MJPG_sender::~MJPG_sender ( )
inline

Member Function Documentation

◆ _write()

int MJPG_sender::_write ( int  sock,
char const *const  s,
int  len 
)
inlineprivate

◆ close_all()

void MJPG_sender::close_all ( )
inline

◆ isOpened()

bool MJPG_sender::isOpened ( )
inline

◆ open()

bool MJPG_sender::open ( int  port)
inline

◆ release()

bool MJPG_sender::release ( )
inline

◆ write()

bool MJPG_sender::write ( const Mat &  frame)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ close_all_sockets

int MJPG_sender::close_all_sockets
private

◆ master

fd_set MJPG_sender::master
private

◆ maxfd

int MJPG_sender::maxfd
private

◆ quality

int MJPG_sender::quality
private

◆ sock

int MJPG_sender::sock
private

◆ timeout

int MJPG_sender::timeout
private

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