-
Jens Georg authored
- Introduce a new D_xy tag which takes x_source and y_source - The two sources are attached to a DataConsistentcyGroup. Only If the consistency group signalizes a consistent state, the data is updated
Jens Georg authored- Introduce a new D_xy tag which takes x_source and y_source - The two sources are attached to a DataConsistentcyGroup. Only If the consistency group signalizes a consistent state, the data is updated
DoocsXY.h 769 B
#pragma once
#include <D_xy.h>
#include <boost/noncopyable.hpp>
#include <ChimeraTK/NDRegisterAccessor.h>
#include <ChimeraTK/DataConsistencyGroup.h>
class EqFct;
namespace ChimeraTK {
class DoocsUpdater;
class DoocsXy : public D_xy, public boost::noncopyable {
public:
DoocsXy(EqFct* eqFct, std::string const& doocsPropertyName,
boost::shared_ptr<NDRegisterAccessor<float>> const& xValues,
boost::shared_ptr<NDRegisterAccessor<float>> const& yValues, DoocsUpdater& updater);
protected:
void updateValues(TransferElementID& elementId);
DataConsistencyGroup _consistencyGroup;
boost::shared_ptr<NDRegisterAccessor<float>> _xValues;
boost::shared_ptr<NDRegisterAccessor<float>> _yValues;
};
} // namespace ChimeraTK