Skip to content
Snippets Groups Projects
Commit dde7837d authored by Martin Killenberg's avatar Martin Killenberg
Browse files

adapted to the new interface of NDRegisterAccessor, which requires the name to be set

parent 4e05bd39
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ namespace ChimeraTK {
public:
ConstantAccessor(UserType value=0, size_t length=1)
: _value(length, value)
: mtca4u::NDRegisterAccessor<UserType>("UnnamedConstantAccessor"), _value(length, value)
{
try {
mtca4u::NDRegisterAccessor<UserType>::buffer_2D.resize(1);
......
......@@ -22,7 +22,7 @@ namespace ChimeraTK {
public:
ConsumingFanOut(boost::shared_ptr<mtca4u::NDRegisterAccessor<UserType>> feedingImpl)
: FanOut<UserType>(feedingImpl)
: FanOut<UserType>(feedingImpl), mtca4u::NDRegisterAccessor<UserType>(feedingImpl->getName(), feedingImpl->getUnit(), feedingImpl->getDescription())
{
try {
mtca4u::NDRegisterAccessor<UserType>::buffer_2D.resize( feedingImpl->getNumberOfChannels() );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment