Go to the documentation of this file.
25 #ifndef SRC_GUI_INCLUDE_CORBO_GUI_SIGNAL_HELPER_H_
26 #define SRC_GUI_INCLUDE_CORBO_GUI_SIGNAL_HELPER_H_
40 class SignalHelper :
public QObject
45 using Ptr = std::shared_ptr<SignalHelper>;
46 using ConstPtr = std::shared_ptr<const SignalHelper>;
62 using SignalMap = QHash<QString, SignalData>;
64 explicit SignalHelper(QObject* parent = 0) : QObject(parent) {}
66 void addSignal(
const messages::Signal& signal);
78 void clearNamespace(
const QString& namespace_pattern,
int task_id);
82 const SignalData*
signalData(
const QString& key)
const;
88 static QString
name2Key(
const QString& name,
int id);
89 static bool key2Name(
const QString& key, QString& name,
int&
id);
105 void newSignal(
const QString& key, SignalData& signal_data);
128 #endif // SRC_GUI_INCLUDE_CORBO_GUI_SIGNAL_HELPER_H_
std::shared_ptr< MatrixSignal > Ptr
const std::map< int, CommonSignalTarget > & getSignalTree() const
SignalHelper(QObject *parent=0)
void clearNamespace(const QString &namespace_pattern, int task_id)
void newSeries(int task_id)
void newMeasurement(const QString &key, Measurement::ConstPtr measurement, SignalData &signal_data, bool first)
void clearSeries(int task_id)
std::shared_ptr< const MatrixSignal > ConstPtr
std::shared_ptr< SignalInterface > Ptr
const SignalMap & signalMap() const
static bool key2Name(const QString &key, QString &name, int &id)
void newIndexedValues(const QString &key, IndexedValuesSignal::ConstPtr indexed_values, SignalData &signal_data, bool first)
QSet< int > active_indices
void addMeasurement(const QString &name, Measurement::ConstPtr measurement)
std::map< int, CommonSignalTarget > _signal_tree_map
void addIndexedValuesSet(const QString &name, IndexedValuesSetSignal::Ptr indexed_values_set)
void addSignal(const messages::Signal &signal)
static QString name2Key(const QString &name, int id)
SignalData * signalData(const QString &key)
void addMatrixSignal(const QString &name, MatrixSignal::Ptr matrix_signal)
void addTimeSeries(const QString &name, TimeSeriesSignal::Ptr ts)
void removeSignal(const QString &key)
int currentSeriesId() const
std::shared_ptr< IndexedValuesSignal > Ptr
void signalRemoved(const QString &key, int value_idx)
void newTimeSeries(const QString &key, TimeSeriesSignal::ConstPtr ts, SignalData &signal_data, bool first)
std::shared_ptr< const TimeSeriesSignal > ConstPtr
static void extractNamespace(const QString &name, QStringList &namespaces)
std::map< int, CommonSignalTarget > & getSignalTreeRef()
void addIndexedValues(const QString &name, IndexedValuesSignal::Ptr indexed_values)
std::shared_ptr< IndexedValuesSetSignal > Ptr
void newSignal(const QString &key, SignalData &signal_data)
std::shared_ptr< const IndexedValuesSignal > ConstPtr
QHash< QString, SignalData > SignalMap
std::shared_ptr< SignalHelper > Ptr
SignalInterface::Ptr signal
void newMatrixSignal(const QString &key, MatrixSignal::ConstPtr matrix_signal, SignalData &signal_data, bool first)
std::shared_ptr< const Measurement > ConstPtr
std::shared_ptr< const SignalHelper > ConstPtr
void clearCurrentSeries()
static constexpr const int ALL_VALUES
std::shared_ptr< TimeSeriesSignal > Ptr
control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:06:12