24 #ifndef SKA_CHEETAH_EMULATOR_EMULATOR_H 25 #define SKA_CHEETAH_EMULATOR_EMULATOR_H 27 #include "cheetah/generators/TimeFrequencyGenerator.h" 28 #include "panda/Connection.h" 29 #include "panda/Server.h" 30 #include "panda/ServerSettings.h" 31 #include "panda/StreamerApp.h" 48 template<
typename StreamType,
typename T>
59 template<
typename... StreamConstructorArgs>
66 bool is_running()
const;
71 boost::asio::ip::udp::endpoint
const end_point()
const;
82 ModelType
const&
model()
const;
85 typedef ska::panda::TimedConnection<ska::panda::ConnectionTraits<ska::panda::Udp>> ConnectionType;
92 std::shared_ptr<ConnectionType> _connection;
93 ska::panda::StreamerApp<StreamType> _emulator_app;
94 ska::panda::Server<ska::panda::ServerTraits<ska::panda::Udp>, decltype(_emulator_app)> _server;
101 #include "detail/Emulator.cpp" 103 #endif // SKA_CHEETAH_EMULATOR_EMULATOR_H boost::asio::ip::udp::endpoint const end_point() const
the port to where the udp data stream is being directed
Emulator(Config const &, ModelType *model, StreamConstructorArgs &&...)
Construct an Emulator utilisiing the provided model.
Some limits and constants for FLDO.
Configuration options for the Emulator.
boost::asio::ip::udp::endpoint const subscriber_end_point() const
the subscription service listening address
Emulate UDP stream using a data madel generator.
ModelType const & model() const
return a reference to the model object