|
boost::shared_ptr< ChimeraTK::DeviceBackend > | getBackend () |
|
| Device ()=default |
| Create device instance without associating a backend yet. More...
|
|
| Device (const std::string &aliasName) |
| Initialize device and accociate a backend. More...
|
|
void | open (std::string const &aliasName) |
| Open a device by the given alias name from the DMAP file. More...
|
|
void | open () |
| Re-open the device after previously closeing it by calling close(), or when it was constructed with a given aliasName. More...
|
|
void | close () |
| Close the device. More...
|
|
template<typename UserType > |
ScalarRegisterAccessor< UserType > | getScalarRegisterAccessor (const RegisterPath ®isterPathName, size_t wordOffsetInRegister=0, const AccessModeFlags &flags=AccessModeFlags({})) const |
| Get a ScalarRegisterObject object for the given register. More...
|
|
VoidRegisterAccessor | getVoidRegisterAccessor (const RegisterPath ®isterPathName, const AccessModeFlags &flags=AccessModeFlags({})) const |
| Get a VoidRegisterAccessor object for the given register. More...
|
|
template<typename UserType > |
OneDRegisterAccessor< UserType > | getOneDRegisterAccessor (const RegisterPath ®isterPathName, size_t numberOfWords=0, size_t wordOffsetInRegister=0, const AccessModeFlags &flags=AccessModeFlags({})) const |
| Get a OneDRegisterAccessor object for the given register. More...
|
|
template<typename UserType > |
TwoDRegisterAccessor< UserType > | getTwoDRegisterAccessor (const RegisterPath ®isterPathName, size_t numberOfElements=0, size_t elementsOffset=0, const AccessModeFlags &flags=AccessModeFlags({})) const |
| Get a TwoDRegisterAccessor object for the given register. More...
|
|
RegisterCatalogue | getRegisterCatalogue () const |
| Return the register catalogue with detailed information on all registers. More...
|
|
MetadataCatalogue | getMetadataCatalogue () const |
| Return the register catalogue with detailed information on all registers. More...
|
|
std::string | readDeviceInfo () const |
| Return a device information string. More...
|
|
bool | isOpened () const |
| Check if the device is currently opened. More...
|
|
bool | isFunctional () const |
| Return wether a device is working as intended, usually this means it is opened and does not have any errors. More...
|
|
void | activateAsyncRead () noexcept |
| Activate asyncronous read for all transfer elements where AccessMode::wait_for_new_data is set. More...
|
|
void | setException (const std::string &message) |
| Set the device into an exception state. More...
|
|
boost::shared_ptr< DeviceBackend > | getBackend () |
| Obtain the backend. More...
|
|
template<typename UserType > |
UserType | read (const RegisterPath ®isterPathName, const AccessModeFlags &flags=AccessModeFlags({})) const |
| Inefficient convenience function to read a single-word register without obtaining an accessor. More...
|
|
template<typename UserType > |
std::vector< UserType > | read (const RegisterPath ®isterPathName, size_t numberOfWords, size_t wordOffsetInRegister=0, const AccessModeFlags &flags=AccessModeFlags({})) const |
| Inefficient convenience function to read a multi-word register without obtaining an accessor. More...
|
|
template<typename UserType > |
void | write (const RegisterPath ®isterPathName, UserType value, const AccessModeFlags &flags=AccessModeFlags({})) |
| Inefficient convenience function to write a single-word register without obtaining an accessor. More...
|
|
template<typename UserType > |
void | write (const RegisterPath ®isterPathName, const std::vector< UserType > &vector, size_t wordOffsetInRegister=0, const AccessModeFlags &flags=AccessModeFlags({})) |
| Inefficient convenience function to write a multi-word register without obtaining an accessor. More...
|
|
Definition at line 21 of file testDevice.cpp.