ChimeraTK-DeviceAccess
03.18.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. More... | |
PolledAsyncVariable (boost::shared_ptr< NDRegisterAccessor< UserType >> syncAccessor_, VersionNumber &v) | |
The constructor takes an already created synchronous accessor and a reference to the version variable. More... | |
unsigned int | getNumberOfChannels () override |
Helper functions for the creation of an AsyncNDRegisterAccessor. More... | |
unsigned int | getNumberOfSamples () override |
const std::string & | getUnit () override |
const std::string & | getDescription () override |
Public Member Functions inherited from ChimeraTK::async::AsyncVariableImpl< UserType > | |
AsyncVariableImpl (size_t nChannels, size_t nElements) | |
void | send () final |
Send the value from the _sendBuffer of the AsyncVariableImpl. More... | |
void | sendException (std::exception_ptr e) final |
Send an exception to all subscribers. More... | |
Public Member Functions inherited from ChimeraTK::async::AsyncVariable | |
virtual | ~AsyncVariable ()=default |
Public Attributes | |
boost::shared_ptr< NDRegisterAccessor< UserType > > | syncAccessor |
VersionNumber & | _version |
Public Attributes inherited from ChimeraTK::async::AsyncVariableImpl< UserType > | |
NDRegisterAccessor< UserType >::Buffer | _sendBuffer |
Implementation of the PolledAsyncVariable for the concrete UserType.
Definition at line 38 of file TriggeredPollDistributor.h.
|
explicit |
The constructor takes an already created synchronous accessor and a reference to the version variable.
Definition at line 90 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 82 of file TriggeredPollDistributor.h.
|
inlineoverridevirtual |
Implements ChimeraTK::async::AsyncVariable.
Definition at line 51 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 48 of file TriggeredPollDistributor.h.
|
inlineoverridevirtual |
Reimplemented from ChimeraTK::async::AsyncVariableImpl< UserType >.
Definition at line 49 of file TriggeredPollDistributor.h.
|
inlineoverridevirtual |
Implements ChimeraTK::async::AsyncVariable.
Definition at line 50 of file TriggeredPollDistributor.h.
VersionNumber& ChimeraTK::async::PolledAsyncVariable< UserType >::_version |
Definition at line 46 of file TriggeredPollDistributor.h.
boost::shared_ptr<NDRegisterAccessor<UserType> > ChimeraTK::async::PolledAsyncVariable< UserType >::syncAccessor |
Definition at line 45 of file TriggeredPollDistributor.h.