DynExp
Highly flexible laboratory automation for dynamically changing experiments.
Loading...
Searching...
No Matches
DynExp::TaskBase::InstrumentDataBaseOnlyType Class Reference

Allow exclusive access to some of TaskBase's private methods to InstrumentDataBase. More...

Private Member Functions

constexpr InstrumentDataBaseOnlyType (TaskBase &Parent) noexcept
 Construcs an instance - one for each TaskBase instance.
 
bool KeepFinishedTask () const noexcept
 Determines whether the task should be kept to check its results after execution. InstrumentDataBase::RemoveTaskFromQueue().
 

Private Attributes

TaskBase & Parent
 Owning TaskBase instance.
 

Friends

class TaskBase
 
class InstrumentDataBase
 

Detailed Description

Allow exclusive access to some of TaskBase's private methods to InstrumentDataBase.

Definition at line 954 of file Instrument.h.

Constructor & Destructor Documentation

◆ InstrumentDataBaseOnlyType()

constexpr DynExp::TaskBase::InstrumentDataBaseOnlyType::InstrumentDataBaseOnlyType ( TaskBase &  Parent)
inlineconstexprprivatenoexcept

Construcs an instance - one for each TaskBase instance.

Parameters
ParentOwning TaskBase instance

Definition at line 963 of file Instrument.h.

Member Function Documentation

◆ KeepFinishedTask()

bool DynExp::TaskBase::InstrumentDataBaseOnlyType::KeepFinishedTask ( ) const
inlineprivatenoexcept

Determines whether the task should be kept to check its results after execution. InstrumentDataBase::RemoveTaskFromQueue().

Returns
Return true to append the task to InstrumentDataBase::FinishedTasks after execution. Return false to destroy the task directly after execution.

Definition at line 965 of file Instrument.h.

Friends And Related Symbol Documentation

◆ InstrumentDataBase

friend class InstrumentDataBase
friend

Definition at line 957 of file Instrument.h.

◆ TaskBase

friend class TaskBase
friend

Definition at line 956 of file Instrument.h.

Member Data Documentation

◆ Parent

TaskBase& DynExp::TaskBase::InstrumentDataBaseOnlyType::Parent
private

Owning TaskBase instance.

Definition at line 967 of file Instrument.h.


The documentation for this class was generated from the following file: