13#include <boost/optional.hpp>
39 template <
typename SensorT>
61 return Stream->get_stream_id();
67 return Stream->AreClientsListening();
A streaming channel for sending sensor data to clients, supports sending data asynchronously.
A streaming channel for sending sensor data to clients.
FDataStreamTmpl()=default
auto GetToken() const
Return the token that allows subscribing to this stream.
FDataStreamTmpl(StreamType InStream)
bool AreClientsListening()
boost::optional< StreamType > Stream
FAsyncDataStreamTmpl< T > MakeAsyncDataStream(const SensorT &Sensor, double Timestamp)
Create a FAsyncDataStream object.