|
| AsyncTestDummy () |
|
std::string | readDeviceInfo () override |
| Return a device information string containing hardware details like the firmware version number or the slot number used by the board. More...
|
|
RegisterCatalogue | getRegisterCatalogue () const override |
| Return the register catalogue with detailed information on all registers. More...
|
|
template<typename UserType > |
boost::shared_ptr< NDRegisterAccessor< UserType > > | getRegisterAccessor_impl (const RegisterPath ®isterPathName, size_t numberOfWords, size_t wordOffsetInRegister, AccessModeFlags flags) |
|
| DEFINE_VIRTUAL_FUNCTION_TEMPLATE_VTABLE_FILLER (AsyncTestDummy, getRegisterAccessor_impl, 4) |
|
void | open () override |
| Open the device. More...
|
|
void | close () override |
| Close the device. More...
|
|
void | setExceptionImpl () noexcept override |
| Function to be (optionally) implemented by backends if additional actions are needed when switching to the exception state. More...
|
|
bool | isOpen () override |
| Return whether a device has been opened or not. More...
|
|
bool | isConnected () final |
| Deprecated since 2022-03-03. More...
|
|
MetadataCatalogue | getMetadataCatalogue () const override |
| Return the device metadata catalogue. More...
|
|
void | checkActiveException () final |
| Function to be called by backends when needing to check for an active exception. More...
|
|
void | setException (const std::string &message) noexcept final |
| Set the backend into an exception state. More...
|
|
bool | isFunctional () const noexcept final |
| Return whether a device is working as intended, usually this means it is opened and does not have any errors. More...
|
|
std::string | getActiveExceptionMessage () noexcept |
|
virtual | ~DeviceBackend ()=default |
| Every virtual class needs a virtual desctructor. More...
|
|
template<typename UserType > |
boost::shared_ptr< NDRegisterAccessor< UserType > > | getRegisterAccessor (const RegisterPath ®isterPathName, size_t numberOfWords, size_t wordOffsetInRegister, AccessModeFlags flags) |
| Get a NDRegisterAccessor object from the register name. More...
|
|
| DEFINE_VIRTUAL_FUNCTION_TEMPLATE_VTABLE (getRegisterAccessor_impl, boost::shared_ptr< NDRegisterAccessor< T >>(const RegisterPath &, size_t, size_t, AccessModeFlags)) |
|
virtual void | activateAsyncRead () noexcept |
| Activate asyncronous read for all transfer elements where AccessMode::wait_for_new_data is set. More...
|
|
Definition at line 29 of file testAsyncRead.cpp.
std::string AsyncTestDummy::readDeviceInfo |
( |
| ) |
|
|
inlineoverridevirtual |
Return a device information string containing hardware details like the firmware version number or the slot number used by the board.
The format and contained information of this string is completely backend implementation dependent, so the string may only be printed to the user as an informational output. Do not try to parse this string or extract information from it programmatically.
Implements ChimeraTK::DeviceBackend.
Definition at line 33 of file testAsyncRead.cpp.