From e9e1b673a111366ad9071933f3469891a735243a Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 25 Mar 2020 15:25:55 +0100 Subject: Add --identifier option to specify content of EDI ODRv TAG --- src/Outputs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Outputs.h') diff --git a/src/Outputs.h b/src/Outputs.h index 1f17491..53ee2ec 100644 --- a/src/Outputs.h +++ b/src/Outputs.h @@ -1,6 +1,6 @@ /* ------------------------------------------------------------------ * Copyright (C) 2011 Martin Storsjo - * Copyright (C) 2019 Matthias P. Braendli + * Copyright (C) 2020 Matthias P. Braendli * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -133,6 +133,8 @@ class EDI: public Base { EDI& operator=(const EDI&) = delete; virtual ~EDI() override; + void set_odr_version_tag(const std::string& odr_version_tag); + void add_udp_destination(const std::string& host, unsigned int port); void add_tcp_destination(const std::string& host, unsigned int port); @@ -143,6 +145,8 @@ class EDI: public Base { virtual bool write_frame(const uint8_t *buf, size_t len) override; private: + std::string m_odr_version_tag; + edi::configuration_t m_edi_conf; std::shared_ptr m_edi_sender; -- cgit v1.2.3