![]() |
ChimeraTK-DeviceAccess 03.20.00
|
Implementation of the PolledAsyncVariable for the concrete UserType. More...
#include <TriggeredPollDistributor.h>
Public Member Functions | |
void | fillSendBuffer () final |
Fill the send buffer with data and version number. | |
PolledAsyncVariable (boost::shared_ptr< NDRegisterAccessor< UserType > > syncAccessor_, TriggeredPollDistributor &owner) | |
The constructor takes an already created synchronous accessor and a reference to the owing distributor. | |
unsigned int | getNumberOfChannels () override |
Helper functions for the creation of an AsyncNDRegisterAccessor. | |
unsigned int | getNumberOfSamples () override |
const std::string & | getUnit () override |
const std::string & | getDescription () override |
![]() | |
AsyncVariableImpl (size_t nChannels, size_t nElements) | |
void | send () final |
Send the value from the _sendBuffer of the AsyncVariableImpl. | |
void | sendException (std::exception_ptr e) final |
Send an exception to all subscribers. | |
![]() | |
virtual | ~AsyncVariable ()=default |
Protected Attributes | |
boost::shared_ptr< NDRegisterAccessor< UserType > > | _syncAccessor |
TriggeredPollDistributor & | _owner |
Additional Inherited Members | |
![]() | |
NDRegisterAccessor< UserType >::Buffer | _sendBuffer |
Implementation of the PolledAsyncVariable for the concrete UserType.
Definition at line 48 of file TriggeredPollDistributor.h.
|
explicit |
The constructor takes an already created synchronous accessor and a reference to the owing distributor.
Definition at line 102 of file TriggeredPollDistributor.h.
|
finalvirtual |
Fill the send buffer with data and version number.
It is implementation specific where this information is coming from.
Implements ChimeraTK::async::AsyncVariable.
Definition at line 94 of file TriggeredPollDistributor.h.
|
inlineoverridevirtual |
Implements ChimeraTK::async::AsyncVariable.
Definition at line 58 of file TriggeredPollDistributor.h.
|
inlineoverridevirtual |
Helper functions for the creation of an AsyncNDRegisterAccessor.
As the creating code cannot use the catalogue, each backend has to implement these functions appropriately.
Reimplemented from ChimeraTK::async::AsyncVariableImpl< UserType >.
Definition at line 55 of file TriggeredPollDistributor.h.
|
inlineoverridevirtual |
Reimplemented from ChimeraTK::async::AsyncVariableImpl< UserType >.
Definition at line 56 of file TriggeredPollDistributor.h.
|
inlineoverridevirtual |
Implements ChimeraTK::async::AsyncVariable.
Definition at line 57 of file TriggeredPollDistributor.h.
|
protected |
Definition at line 63 of file TriggeredPollDistributor.h.
|
protected |
Definition at line 61 of file TriggeredPollDistributor.h.