Class IStreamInfo

Inheritance Relationships

Derived Type

Class Documentation

class IStreamInfo

Subclassed by StreamInfo< DATATYPE >

Public Functions

inline IStreamInfo(double stream_rate = IRREGULARSTREAM, std::string datatype = "none", std::string stream_name = "data")
bool finalized() const
virtual void Finalize() = 0
double stream_rate() const
void set_stream_rate(double stream_rate)
void set_stream_rate(const IStreamInfo &info)
std::string datatype() const
inline std::string stream_name() const
void set_stream_name(std::string stream_name)
void set_stream_name(const IStreamInfo &info)
void set_stream_parameters(const IStreamInfo &info)
void set_stream_parameters(double stream_rate, std::string stream_name)
template<typename T = typename AnyType::Data>
inline const T &getDataPrototype() const
template<typename T>
inline const T &parameters() const

Protected Attributes

double stream_rate_ = 1.0
std::string datatype_ = "none"
std::string stream_name_ = "data"
bool finalized_ = false
std::unique_ptr<AnyType::Data> prototype_
std::any parameters_