DynExp
Highly flexible laboratory automation for dynamically changing experiments.
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. More...
 
bool KeepFinishedTask () const noexcept
 Determines whether the task should be kept to check its results after execution. InstrumentDataBase::RemoveTaskFromQueue(). More...
 

Private Attributes

TaskBaseParent
 Owning TaskBase instance. More...
 

Friends

class TaskBase
 
class InstrumentDataBase
 

Detailed Description

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

Definition at line 916 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 925 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 927 of file Instrument.h.

Friends And Related Function Documentation

◆ InstrumentDataBase

friend class InstrumentDataBase
friend

Definition at line 919 of file Instrument.h.

◆ TaskBase

friend class TaskBase
friend

Definition at line 918 of file Instrument.h.

Member Data Documentation

◆ Parent

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

Owning TaskBase instance.

Definition at line 929 of file Instrument.h.


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