ChimeraTK-DeviceAccess
03.18.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. More... | |
const std::string & | getDescription () override |
Make template specialisations on the SourceType in case the source data contains a description. More... | |
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... | |
unsigned int | getNumberOfChannels () override |
Helper functions for the creation of an AsyncNDRegisterAccessor. More... | |
unsigned int | getNumberOfSamples () override |
Public Member Functions inherited from ChimeraTK::async::AsyncVariable | |
virtual | ~AsyncVariable ()=default |
virtual void | fillSendBuffer ()=0 |
Fill the send buffer with data and version number. More... | |
Protected Attributes | |
std::string | _emptyString {} |
SourceType & | _dataBuffer |
VersionNumber & | _version |
Additional Inherited Members | |
Public Attributes inherited from ChimeraTK::async::AsyncVariableImpl< UserType > | |
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.