mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Allow forwarding of flat-/proto buffer input (#1471)
* Typo * Address compiler Warnings * Allow forwarding of flat-/proto buffer input
This commit is contained in:
@@ -78,11 +78,14 @@ private slots:
|
||||
///
|
||||
void forwardJsonMessage(const QJsonObject &message);
|
||||
|
||||
#if defined(ENABLE_FLATBUF_SERVER) || defined(ENABLE_PROTOBUF_SERVER)
|
||||
///
|
||||
/// @brief Forward image to all flatbuffer target hosts
|
||||
/// @param image The flatbuffer image to send
|
||||
///
|
||||
///
|
||||
void forwardFlatbufferMessage(const QString& name, const Image<ColorRgb> &image);
|
||||
#endif
|
||||
|
||||
///
|
||||
/// @brief Forward message to a single json target host
|
||||
|
@@ -428,6 +428,11 @@ signals:
|
||||
/// Signal which is emitted, when a new V4l proto image should be forwarded
|
||||
void forwardV4lProtoMessage(const QString&, const Image<ColorRgb>&);
|
||||
|
||||
#if defined(ENABLE_FLATBUF_SERVER) || defined(ENABLE_PROTOBUF_SERVER)
|
||||
/// Signal which is emitted, when a new Flat-/Proto- Buffer image should be forwarded
|
||||
void forwardBufferMessage(const QString&, const Image<ColorRgb>&);
|
||||
#endif
|
||||
|
||||
///
|
||||
/// @brief Is emitted from clients who request a videoMode change
|
||||
///
|
||||
|
@@ -47,6 +47,15 @@ signals:
|
||||
///
|
||||
void setV4lImage(const QString& name, const Image<ColorRgb>& image);
|
||||
|
||||
#if defined(ENABLE_FLATBUF_SERVER) || defined(ENABLE_PROTOBUF_SERVER)
|
||||
///
|
||||
/// @brief PIPE Flat-/Proto- buffer images to Hyperion class
|
||||
/// @param name The name of the buffer capture that is currently active
|
||||
/// @param image The prepared image
|
||||
///
|
||||
void setBufferImage(const QString& name, const Image<ColorRgb>& image);
|
||||
#endif
|
||||
|
||||
///
|
||||
/// @brief PIPE the register command for a new global input over HyperionDaemon to Hyperion class
|
||||
/// @param[in] priority The priority of the channel
|
||||
|
Reference in New Issue
Block a user