hyperion.ng
Public Slots | Signals | Public Member Functions | List of all members
FlatBufferClient Class Reference

Socket (client) of FlatBufferServer. More...

#include <FlatBufferClient.h>

Inheritance diagram for FlatBufferClient:

Public Slots

void forceClose ()
 close the socket and call disconnected()
 

Signals

void registerGlobalInput (const int priority, const hyperion::Components &component, const QString &origin="System", const QString &owner="", unsigned smooth_cfg=0)
 forward register data to HyperionDaemon
 
const bool setGlobalInputImage (const int priority, const Image< ColorRgb > &image, const int timeout_ms=-1)
 forward prepared image to HyperionDaemon
 
void clientDisconnected ()
 Emits whenever the client disconnected.
 

Public Member Functions

 FlatBufferClient (QTcpSocket *socket, const int &timeout, QObject *parent=nullptr)
 Construct the client. More...
 

Detailed Description

Socket (client) of FlatBufferServer.

Constructor & Destructor Documentation

§ FlatBufferClient()

FlatBufferClient::FlatBufferClient ( QTcpSocket *  socket,
const int &  timeout,
QObject *  parent = nullptr 
)
explicit

Construct the client.

Parameters
socketThe socket
timeoutThe timeout when a client is automatically disconnected and the priority unregistered
parentThe parent

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