|
DUDS
|
Distributed Update of Data from Something
|
Handles sending signals of measurements taken by an instrument. More...
#include <MeasurementSignalSource.hpp>
Public Types | |
| typedef GenericInstrument< SVT, SQT, TVT, TQT > | Instrument |
| typedef duds::data::GenericMeasurement< SVT, SQT, TVT, TQT > | Measurement |
| typedef boost::signals2::signal< void(const std::shared_ptr< Instrument > &, const std::shared_ptr< const Measurement > &) > | MesurementSignal |
| The type used for event listeners that are told of measurments. More... | |
Public Member Functions | |
| boost::signals2::connection | newMeasurementConnect (const typename MesurementSignal::slot_type &slot, boost::signals2::connect_position at=boost::signals2::at_back) |
| Make a connection to receive signals for new measurements. More... | |
| boost::signals2::connection | newMeasurementConnect (const typename MesurementSignal::group_type &group, const typename MesurementSignal::slot_type &slot, boost::signals2::connect_position at=boost::signals2::at_back) |
| Make a connection to receive signals for new measurements. More... | |
| boost::signals2::connection | newMeasurementConnectExtended (const typename MesurementSignal::extended_slot_type &slot, boost::signals2::connect_position at=boost::signals2::at_back) |
| Make a connection to receive signals for new measurements. More... | |
| boost::signals2::connection | newMeasurementConnectExtended (const typename MesurementSignal::group_type &group, const typename MesurementSignal::extended_slot_type &slot, boost::signals2::connect_position at=boost::signals2::at_back) |
| Make a connection to receive signals for new measurements. More... | |
| void | newMeasurementDisconnect (const typename MesurementSignal::group_type &group) |
| Disconnect from the new measurement signal. More... | |
| template<typename S > | |
| void | newMeasurementDisconnect (const S &slotFunc) |
| Disconnect from the new measurement signal. More... | |
| boost::signals2::connection | oldMeasurementConnect (const typename MesurementSignal::slot_type &slot, boost::signals2::connect_position at=boost::signals2::at_back) |
| Make a connection to receive signals for old measurements. More... | |
| boost::signals2::connection | oldMeasurementConnect (const typename MesurementSignal::group_type &group, const typename MesurementSignal::slot_type &slot, boost::signals2::connect_position at=boost::signals2::at_back) |
| Make a connection to receive signals for old measurements. More... | |
| boost::signals2::connection | oldMeasurementConnectExtended (const typename MesurementSignal::extended_slot_type &slot, boost::signals2::connect_position at=boost::signals2::at_back) |
| Make a connection to receive signals for old measurements. More... | |
| boost::signals2::connection | oldMeasurementConnectExtended (const typename MesurementSignal::group_type &group, const typename MesurementSignal::extended_slot_type &slot, boost::signals2::connect_position at=boost::signals2::at_back) |
| Make a connection to receive signals for old measurements. More... | |
| void | oldMeasurementDisconnect (const typename MesurementSignal::group_type &group) |
| Disconnect from the old measurement signal. More... | |
| template<typename S > | |
| void | oldMeasurementDisconnect (const S &slotFunc) |
| Disconnect from the old measurement signal. More... | |
Protected Member Functions | |
| GenericMeasurementSignalSource ()=default | |
| This class is intened to be used as a base class. More... | |
| GenericMeasurementSignalSource (const GenericMeasurementSignalSource &)=default | |
| This class is intened to be used as a base class. More... | |
Protected Attributes | |
| MesurementSignal | newMeasure |
| A set of signals that are invoked when a meaurement on this Instrument is recorded that is newer than any previously recorded measurement. More... | |
| MesurementSignal | oldMeasure |
| A set of signals that are invoked when a meaurement on this Instrument is recorded that is older than another already recorded measurement. More... | |
Handles sending signals of measurements taken by an instrument.
This class is intened to be used as a base class. The functions to send signals are protected to limit access. The constructors are also protected.
Definition at line 32 of file MeasurementSignalSource.hpp.
| typedef GenericInstrument<SVT, SQT, TVT, TQT> duds::hardware::GenericMeasurementSignalSource< SVT, SQT, TVT, TQT >::Instrument |
Definition at line 34 of file MeasurementSignalSource.hpp.
| typedef duds::data::GenericMeasurement<SVT, SQT, TVT, TQT> duds::hardware::GenericMeasurementSignalSource< SVT, SQT, TVT, TQT >::Measurement |
Definition at line 35 of file MeasurementSignalSource.hpp.
| typedef boost::signals2::signal< void (const std::shared_ptr<Instrument> &, const std::shared_ptr<const Measurement> &) > duds::hardware::GenericMeasurementSignalSource< SVT, SQT, TVT, TQT >::MesurementSignal |
The type used for event listeners that are told of measurments.
Definition at line 42 of file MeasurementSignalSource.hpp.
|
protecteddefault |
This class is intened to be used as a base class.
|
protecteddefault |
This class is intened to be used as a base class.
|
inline |
Make a connection to receive signals for new measurements.
See the Boost reference documentation for more details, or the tutorial for an overview of the whole boost::singals2 system.
Definition at line 75 of file MeasurementSignalSource.hpp.
|
inline |
Make a connection to receive signals for new measurements.
See the Boost reference documentation for more details, or the tutorial for an overview of the whole boost::singals2 system.
Definition at line 87 of file MeasurementSignalSource.hpp.
|
inline |
Make a connection to receive signals for new measurements.
See the Boost reference documentation for more details, or the tutorial for an overview of the whole boost::singals2 system.
Definition at line 100 of file MeasurementSignalSource.hpp.
|
inline |
Make a connection to receive signals for new measurements.
See the Boost reference documentation for more details, or the tutorial for an overview of the whole boost::singals2 system.
Definition at line 112 of file MeasurementSignalSource.hpp.
|
inline |
Disconnect from the new measurement signal.
See the Boost reference documentation for more details, or the tutorial for an overview of the whole boost::singals2 system.
Definition at line 125 of file MeasurementSignalSource.hpp.
|
inline |
Disconnect from the new measurement signal.
See the Boost reference documentation for more details, or the tutorial for an overview of the whole boost::singals2 system.
Definition at line 137 of file MeasurementSignalSource.hpp.
|
inline |
Make a connection to receive signals for old measurements.
See the Boost reference documentation for more details, or the tutorial for an overview of the whole boost::singals2 system.
Definition at line 147 of file MeasurementSignalSource.hpp.
|
inline |
Make a connection to receive signals for old measurements.
See the Boost reference documentation for more details, or the tutorial for an overview of the whole boost::singals2 system.
Definition at line 159 of file MeasurementSignalSource.hpp.
|
inline |
Make a connection to receive signals for old measurements.
See the Boost reference documentation for more details, or the tutorial for an overview of the whole boost::singals2 system.
Definition at line 172 of file MeasurementSignalSource.hpp.
|
inline |
Make a connection to receive signals for old measurements.
See the Boost reference documentation for more details, or the tutorial for an overview of the whole boost::singals2 system.
Definition at line 184 of file MeasurementSignalSource.hpp.
|
inline |
Disconnect from the old measurement signal.
See the Boost reference documentation for more details, or the tutorial for an overview of the whole boost::singals2 system.
Definition at line 197 of file MeasurementSignalSource.hpp.
|
inline |
Disconnect from the old measurement signal.
See the Boost reference documentation for more details, or the tutorial for an overview of the whole boost::singals2 system.
Definition at line 209 of file MeasurementSignalSource.hpp.
|
mutableprotected |
A set of signals that are invoked when a meaurement on this Instrument is recorded that is newer than any previously recorded measurement.
Definition at line 51 of file MeasurementSignalSource.hpp.
Referenced by duds::hardware::GenericMeasurementSignalGroup< SVT, SQT, TVT, TQT >::handleNewMeasure().
|
mutableprotected |
A set of signals that are invoked when a meaurement on this Instrument is recorded that is older than another already recorded measurement.
Definition at line 59 of file MeasurementSignalSource.hpp.
Referenced by duds::hardware::GenericMeasurementSignalGroup< SVT, SQT, TVT, TQT >::handleOldMeasure().