DynExp
Highly flexible laboratory automation for dynamically changing experiments.
DynExpModule::SignalPlotterData Class Reference
+ Inheritance diagram for DynExpModule::SignalPlotterData:

Public Member Functions

 SignalPlotterData ()
 
virtual ~SignalPlotterData ()=default
 
void LockInstruments (DynExp::ModuleInstance *Instance, const DynExp::ParamsBase::ListParam< DynExp::ObjectLink< DynExpInstr::DataStreamInstrument >> &InstrParam)
 
void UnlockInstruments (DynExp::ModuleInstance *Instance)
 
void SetCurrentSourceIndex (int Index)
 
auto & GetDataStreamInstr ()
 
const auto & GetDataStreamInstrLabels () const noexcept
 
std::string_view GetDataStreamInstrIconPath () const
 
bool IsUIInitialized () const noexcept
 
void SetUIInitialized () noexcept
 
- Public Member Functions inherited from DynExp::QModuleDataBase
 QModuleDataBase ()=default
 
virtual ~QModuleDataBase ()=default
 
- Public Member Functions inherited from DynExp::ModuleDataBase
 ModuleDataBase ()
 
virtual ~ModuleDataBase ()
 
auto GetException () const noexcept
 Getter for ModuleException. More...
 
void EnqueueEvent (EventPtrType &&Event)
 Enqueues Event at the module event queue's back. Takes ownership of the event. Notifies the module owning the respective ModuleDataBase's instance that a new event has been enqueued. More...
 
EventPtrType PopEvent ()
 Removes one event from the event queue's front and returns the event. Ownership of the event is transferred to the caller of this method. More...
 
const auto & GetEventFront () const noexcept
 Returns a pointer to the event in the front of the module's event queue without transferring ownership and without removing the event from the queue. More...
 
auto & GetEventFront () noexcept
 Returns a pointer to the event in the front of the module's event queue without transferring ownership and without removing the event from the queue. More...
 
size_t GetNumEnqueuedEvents () const noexcept
 Getter for the module event queue's length. More...
 
- Public Member Functions inherited from Util::INonCopyable
 INonCopyable (const INonCopyable &)=delete
 
INonCopyableoperator= (const INonCopyable &)=delete
 

Public Attributes

bool IsRunning
 
bool IsBasicSampleTimeUsed
 
DynExpInstr::DataStreamInstrumentData::UnitType ValueUnit
 
bool PlotAxesChanged
 
bool Autoscale
 
bool RollingView
 
SignalPlotterWidget::SampleDataType SampleData
 
- Public Attributes inherited from DynExp::ModuleDataBase
ModuleBaseOnlyType ModuleBaseOnly
 Allow exclusive access to some of ModuleDataBase's private methods to ModuleBase. More...
 
ModuleThreadOnlyType ModuleThreadOnly
 Allow exclusive access to some of ModuleDataBase's private methods to the module thread ModuleThreadMain(). More...
 

Private Member Functions

void ResetImpl (dispatch_tag< QModuleDataBase >) override final
 
virtual void ResetImpl (dispatch_tag< SignalPlotterData >)
 
void Init ()
 

Private Attributes

bool UIInitialized
 
int CurrentSourceIndex
 
DynExp::LinkedObjectWrapperContainerList< DynExpInstr::DataStreamInstrumentDataStreamInstr
 

Additional Inherited Members

- Public Types inherited from DynExp::ModuleDataBase
using EventPtrType = std::unique_ptr< EventBase >
 Pointer owning an event. More...
 
using EventQueueType = std::queue< EventPtrType >
 A module's event queue is a FIFO queue owning the enqueued events. More...
 
- Protected Member Functions inherited from Util::ISynchronizedPointerLockable
 ISynchronizedPointerLockable ()
 
 ~ISynchronizedPointerLockable ()
 Object should never be destroyed before completely unlocked. More...
 
- Protected Member Functions inherited from Util::INonCopyable
constexpr INonCopyable ()=default
 
 ~INonCopyable ()=default
 

Detailed Description

Definition at line 85 of file SignalPlotter.h.

Constructor & Destructor Documentation

◆ SignalPlotterData()

DynExpModule::SignalPlotterData::SignalPlotterData ( )
inline

Definition at line 88 of file SignalPlotter.h.

◆ ~SignalPlotterData()

virtual DynExpModule::SignalPlotterData::~SignalPlotterData ( )
virtualdefault

Member Function Documentation

◆ GetDataStreamInstr()

auto& DynExpModule::SignalPlotterData::GetDataStreamInstr ( )
inline

Definition at line 95 of file SignalPlotter.h.

◆ GetDataStreamInstrIconPath()

std::string_view DynExpModule::SignalPlotterData::GetDataStreamInstrIconPath ( ) const
inline

Definition at line 97 of file SignalPlotter.h.

◆ GetDataStreamInstrLabels()

const auto& DynExpModule::SignalPlotterData::GetDataStreamInstrLabels ( ) const
inlinenoexcept

Definition at line 96 of file SignalPlotter.h.

◆ Init()

void DynExpModule::SignalPlotterData::Init ( )
private

Definition at line 172 of file SignalPlotter.cpp.

◆ IsUIInitialized()

bool DynExpModule::SignalPlotterData::IsUIInitialized ( ) const
inlinenoexcept

Definition at line 99 of file SignalPlotter.h.

◆ LockInstruments()

void DynExpModule::SignalPlotterData::LockInstruments ( DynExp::ModuleInstance Instance,
const DynExp::ParamsBase::ListParam< DynExp::ObjectLink< DynExpInstr::DataStreamInstrument >> &  InstrParam 
)
inline

Definition at line 91 of file SignalPlotter.h.

◆ ResetImpl() [1/2]

void DynExpModule::SignalPlotterData::ResetImpl ( dispatch_tag< QModuleDataBase )
finaloverrideprivate

Definition at line 167 of file SignalPlotter.cpp.

◆ ResetImpl() [2/2]

virtual void DynExpModule::SignalPlotterData::ResetImpl ( dispatch_tag< SignalPlotterData )
inlineprivatevirtual

Definition at line 113 of file SignalPlotter.h.

◆ SetCurrentSourceIndex()

void DynExpModule::SignalPlotterData::SetCurrentSourceIndex ( int  Index)

Definition at line 158 of file SignalPlotter.cpp.

◆ SetUIInitialized()

void DynExpModule::SignalPlotterData::SetUIInitialized ( )
inlinenoexcept

Definition at line 100 of file SignalPlotter.h.

◆ UnlockInstruments()

void DynExpModule::SignalPlotterData::UnlockInstruments ( DynExp::ModuleInstance Instance)
inline

Definition at line 92 of file SignalPlotter.h.

Member Data Documentation

◆ Autoscale

bool DynExpModule::SignalPlotterData::Autoscale

Definition at line 106 of file SignalPlotter.h.

◆ CurrentSourceIndex

int DynExpModule::SignalPlotterData::CurrentSourceIndex
private

Definition at line 118 of file SignalPlotter.h.

◆ DataStreamInstr

DynExp::LinkedObjectWrapperContainerList<DynExpInstr::DataStreamInstrument> DynExpModule::SignalPlotterData::DataStreamInstr
private

Definition at line 120 of file SignalPlotter.h.

◆ IsBasicSampleTimeUsed

bool DynExpModule::SignalPlotterData::IsBasicSampleTimeUsed

Definition at line 103 of file SignalPlotter.h.

◆ IsRunning

bool DynExpModule::SignalPlotterData::IsRunning

Definition at line 102 of file SignalPlotter.h.

◆ PlotAxesChanged

bool DynExpModule::SignalPlotterData::PlotAxesChanged

Definition at line 105 of file SignalPlotter.h.

◆ RollingView

bool DynExpModule::SignalPlotterData::RollingView

Definition at line 107 of file SignalPlotter.h.

◆ SampleData

SignalPlotterWidget::SampleDataType DynExpModule::SignalPlotterData::SampleData

Definition at line 109 of file SignalPlotter.h.

◆ UIInitialized

bool DynExpModule::SignalPlotterData::UIInitialized
private

Definition at line 117 of file SignalPlotter.h.

◆ ValueUnit

DynExpInstr::DataStreamInstrumentData::UnitType DynExpModule::SignalPlotterData::ValueUnit

Definition at line 104 of file SignalPlotter.h.


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