ChimeraTK-DeviceAccess 03.25.00
Loading...
Searching...
No Matches
DummyBackendBase.h File Reference
+ Include dependency graph for DummyBackendBase.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ChimeraTK::DummyBackendBase
 Base class for DummyBackends, provides common functionality. More...
 

Namespaces

namespace  ChimeraTK
 

Macros

#define TRY_REGISTER_ACCESS(COMMAND)
 

Macro Definition Documentation

◆ TRY_REGISTER_ACCESS

#define TRY_REGISTER_ACCESS (   COMMAND)
Value:
try { \
COMMAND \
} \
catch(std::out_of_range & outOfRangeException) { \
std::stringstream errorMessage; \
errorMessage << "Invalid address offset " << address << " in bar " << bar << "." \
<< "Caught out_of_range exception: " << outOfRangeException.what(); \
std::cout << errorMessage.str() << std::endl; \
throw ChimeraTK::logic_error(errorMessage.str()); \
}
Exception thrown when a logic error has occured.
Definition Exception.h:51

Definition at line 14 of file DummyBackendBase.h.