![]() |
ChimeraTK-DeviceAccess 03.20.00
|
#include <VariableDistributor.h>
Public Member Functions | |
GenericAsyncVariable (SourceType &dataBuffer, VersionNumber &v, unsigned int nChannels, unsigned int nElements) | |
const std::string & | getUnit () override |
Make template specialisations on the SourceType in case the source data contains a unit. | |
const std::string & | getDescription () override |
Make template specialisations on the SourceType in case the source data contains a description. | |
![]() | |
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. | |
unsigned int | getNumberOfChannels () override |
Helper functions for the creation of an AsyncNDRegisterAccessor. | |
unsigned int | getNumberOfSamples () override |
![]() | |
virtual | ~AsyncVariable ()=default |
virtual void | fillSendBuffer ()=0 |
Fill the send buffer with data and version number. | |
Protected Attributes | |
std::string | _emptyString |
SourceType & | _dataBuffer |
VersionNumber & | _version |
Additional Inherited Members | |
![]() | |
NDRegisterAccessor< UserType >::Buffer | _sendBuffer |
Definition at line 27 of file VariableDistributor.h.
|
inline |
Definition at line 29 of file VariableDistributor.h.
|
inlineoverridevirtual |
Make template specialisations on the SourceType in case the source data contains a description.
Implements ChimeraTK::async::AsyncVariable.
Definition at line 40 of file VariableDistributor.h.
|
inlineoverridevirtual |
Make template specialisations on the SourceType in case the source data contains a unit.
Implements ChimeraTK::async::AsyncVariable.
Definition at line 36 of file VariableDistributor.h.
|
protected |
Definition at line 44 of file VariableDistributor.h.
|
protected |
Definition at line 43 of file VariableDistributor.h.
|
protected |
Definition at line 45 of file VariableDistributor.h.