Allow exclusive access to some of InstrumentDataBase's
private methods to the instrument thread InstrumentThreadMain()
.
More...
Allow exclusive access to some of InstrumentDataBase's
private methods to the instrument thread InstrumentThreadMain()
.
Definition at line 180 of file Instrument.h.
◆ InstrumenThreadOnlyType()
constexpr DynExp::InstrumentDataBase::InstrumenThreadOnlyType::InstrumenThreadOnlyType |
( |
InstrumentDataBase & |
Parent | ) |
|
|
inlineconstexprprivatenoexcept |
◆ GetNewTaskNotifier()
auto& DynExp::InstrumentDataBase::InstrumenThreadOnlyType::GetNewTaskNotifier |
( |
| ) |
|
|
inlineprivatenoexcept |
◆ SetException()
void DynExp::InstrumentDataBase::InstrumenThreadOnlyType::SetException |
( |
std::exception_ptr |
InstrumentException | ) |
|
|
inlineprivatenoexcept |
◆ SetLastUpdateTime()
void DynExp::InstrumentDataBase::InstrumenThreadOnlyType::SetLastUpdateTime |
( |
std::chrono::system_clock::time_point |
LastUpdate | ) |
|
|
inlineprivate |
◆ InstrumentDataBase
◆ InstrumentThreadMain
Instruments run in their own thread. This is the instrument thread's main function.
- Parameters
-
Instance | Handle to the instrument thread's data related to the instrument running this thread. The instrument thread is expected to let the lifetime of Instance expire upon termination. |
Instrument | Pointer to the instrument running this thread |
- Returns
- Util::DynExpErrorCodes::NoError if the thread terminated without an error, the respective error code otherwise.
Definition at line 8 of file Instrument.cpp.
◆ Parent
The documentation for this class was generated from the following file: