DynExp
Highly flexible laboratory automation for dynamically changing experiments.
DynExpManager::ItemTreeItemDataType Struct Reference

Bundles data which is assigned to items of the main QTreeWidget. Each item refers to a DynExp::Object instance. More...

Public Types

enum class  ItemTreeItemStateType {
  New , Normal , Running , Paused ,
  Warning , Error , NotConnected , NotResponding
}
 States the QTreeWidgetItem instances can have. More...
 

Public Member Functions

constexpr ItemTreeItemDataType () noexcept
 
constexpr ItemTreeItemDataType (const DynExp::ItemIDType ID, const ItemTreeItemStateType ItemTreeItemState=ItemTreeItemStateType::New) noexcept
 

Public Attributes

ItemTreeItemStateType ItemTreeItemState
 Current state derived from the related DynExp::Object instance. More...
 
const DynExp::ItemIDType ID
 ID of the DynExp::Object instance assigned to this item. More...
 

Detailed Description

Bundles data which is assigned to items of the main QTreeWidget. Each item refers to a DynExp::Object instance.

Definition at line 29 of file DynExpManager.h.

Member Enumeration Documentation

◆ ItemTreeItemStateType

States the QTreeWidgetItem instances can have.

Enumerator
New 
Normal 
Running 
Paused 
Warning 
Error 
NotConnected 
NotResponding 

Definition at line 34 of file DynExpManager.h.

Constructor & Destructor Documentation

◆ ItemTreeItemDataType() [1/2]

constexpr DynExpManager::ItemTreeItemDataType::ItemTreeItemDataType ( )
inlineconstexprnoexcept

Definition at line 36 of file DynExpManager.h.

◆ ItemTreeItemDataType() [2/2]

constexpr DynExpManager::ItemTreeItemDataType::ItemTreeItemDataType ( const DynExp::ItemIDType  ID,
const ItemTreeItemStateType  ItemTreeItemState = ItemTreeItemStateType::New 
)
inlineconstexprnoexcept

Definition at line 37 of file DynExpManager.h.

Member Data Documentation

◆ ID

const DynExp::ItemIDType DynExpManager::ItemTreeItemDataType::ID

ID of the DynExp::Object instance assigned to this item.

Definition at line 42 of file DynExpManager.h.

◆ ItemTreeItemState

ItemTreeItemStateType DynExpManager::ItemTreeItemDataType::ItemTreeItemState

Current state derived from the related DynExp::Object instance.

Definition at line 41 of file DynExpManager.h.


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