Allow forwarding of flat-/proto buffer input (#1471)

* Typo

* Address compiler Warnings

* Allow forwarding of flat-/proto buffer input
This commit is contained in:
LordGrey
2022-05-29 17:47:08 +02:00
committed by GitHub
parent 7c76322215
commit ec496ed457
15 changed files with 792 additions and 735 deletions

View File

@@ -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

View File

@@ -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
///

View File

@@ -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