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

Public Member Functions

 SignalDesignerData ()
 
virtual ~SignalDesignerData ()=default
 
void LockFunctionGenerators (DynExp::ModuleInstance *Instance, const DynExp::ParamsBase::ListParam< DynExp::ObjectLink< DynExpInstr::FunctionGenerator >> &FuncGenParam)
 
void UnlockFunctionGenerators (DynExp::ModuleInstance *Instance)
 
void SetCurrentFuncGenIndex (int Index)
 
auto & GetFuncGen ()
 
const auto & GetFuncGenLabels () const noexcept
 
std::string_view GetFuncGenIconPath () 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

DynExpInstr::FunctionGeneratorDefs::FunctionDescType MinFuncDesc
 
DynExpInstr::FunctionGeneratorDefs::FunctionDescType MaxFuncDesc
 
DynExpInstr::FunctionGeneratorDefs::FunctionDescType DefaultFuncDesc
 
Util::FeatureTester< DynExpInstr::FunctionGenerator::WaveformCapsTypeWaveformCaps
 
Util::FeatureTester< DynExpInstr::FunctionGenerator::TriggerCapsTypeTriggerCaps
 
DynExpInstr::FunctionGeneratorDefs::WaveformTypes CurrentWaveform
 
double CurrentFrequencyInHz
 
double CurrentAmplitude
 
double CurrentOffset
 
double CurrentPhaseInRad
 
double CurrentDutyCycle
 
DynExpInstr::FunctionGeneratorDefs::PulsesDescType CurrentPulses
 
DynExpInstr::FunctionGeneratorDefs::TriggerDescType::TriggerModeType CurrentTriggerMode
 
DynExpInstr::FunctionGeneratorDefs::TriggerDescType::TriggerEdgeType CurrentTriggerEdge
 
bool CurrentAutostart
 
bool CurrentPersistParameters
 
size_t CurrentStreamSize
 
- 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< SignalDesignerData >)
 
void Init ()
 

Private Attributes

bool UIInitialized
 
int CurrentFuncGenIndex
 
DynExp::LinkedObjectWrapperContainerList< DynExpInstr::FunctionGeneratorFunctionGenerator
 

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 58 of file SignalDesigner.h.

Constructor & Destructor Documentation

◆ SignalDesignerData()

DynExpModule::SignalDesignerData::SignalDesignerData ( )
inline

Definition at line 61 of file SignalDesigner.h.

◆ ~SignalDesignerData()

virtual DynExpModule::SignalDesignerData::~SignalDesignerData ( )
virtualdefault

Member Function Documentation

◆ GetFuncGen()

auto& DynExpModule::SignalDesignerData::GetFuncGen ( )
inline

Definition at line 68 of file SignalDesigner.h.

◆ GetFuncGenIconPath()

std::string_view DynExpModule::SignalDesignerData::GetFuncGenIconPath ( ) const
inline

Definition at line 70 of file SignalDesigner.h.

◆ GetFuncGenLabels()

const auto& DynExpModule::SignalDesignerData::GetFuncGenLabels ( ) const
inlinenoexcept

Definition at line 69 of file SignalDesigner.h.

◆ Init()

void DynExpModule::SignalDesignerData::Init ( )
private

Definition at line 317 of file SignalDesigner.cpp.

◆ IsUIInitialized()

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

Definition at line 72 of file SignalDesigner.h.

◆ LockFunctionGenerators()

void DynExpModule::SignalDesignerData::LockFunctionGenerators ( DynExp::ModuleInstance Instance,
const DynExp::ParamsBase::ListParam< DynExp::ObjectLink< DynExpInstr::FunctionGenerator >> &  FuncGenParam 
)
inline

Definition at line 64 of file SignalDesigner.h.

◆ ResetImpl() [1/2]

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

Definition at line 312 of file SignalDesigner.cpp.

◆ ResetImpl() [2/2]

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

Definition at line 97 of file SignalDesigner.h.

◆ SetCurrentFuncGenIndex()

void DynExpModule::SignalDesignerData::SetCurrentFuncGenIndex ( int  Index)

Definition at line 304 of file SignalDesigner.cpp.

◆ SetUIInitialized()

void DynExpModule::SignalDesignerData::SetUIInitialized ( )
inlinenoexcept

Definition at line 73 of file SignalDesigner.h.

◆ UnlockFunctionGenerators()

void DynExpModule::SignalDesignerData::UnlockFunctionGenerators ( DynExp::ModuleInstance Instance)
inline

Definition at line 65 of file SignalDesigner.h.

Member Data Documentation

◆ CurrentAmplitude

double DynExpModule::SignalDesignerData::CurrentAmplitude

Definition at line 83 of file SignalDesigner.h.

◆ CurrentAutostart

bool DynExpModule::SignalDesignerData::CurrentAutostart

Definition at line 90 of file SignalDesigner.h.

◆ CurrentDutyCycle

double DynExpModule::SignalDesignerData::CurrentDutyCycle

Definition at line 86 of file SignalDesigner.h.

◆ CurrentFrequencyInHz

double DynExpModule::SignalDesignerData::CurrentFrequencyInHz

Definition at line 82 of file SignalDesigner.h.

◆ CurrentFuncGenIndex

int DynExpModule::SignalDesignerData::CurrentFuncGenIndex
private

Definition at line 102 of file SignalDesigner.h.

◆ CurrentOffset

double DynExpModule::SignalDesignerData::CurrentOffset

Definition at line 84 of file SignalDesigner.h.

◆ CurrentPersistParameters

bool DynExpModule::SignalDesignerData::CurrentPersistParameters

Definition at line 91 of file SignalDesigner.h.

◆ CurrentPhaseInRad

double DynExpModule::SignalDesignerData::CurrentPhaseInRad

Definition at line 85 of file SignalDesigner.h.

◆ CurrentPulses

DynExpInstr::FunctionGeneratorDefs::PulsesDescType DynExpModule::SignalDesignerData::CurrentPulses

Definition at line 87 of file SignalDesigner.h.

◆ CurrentStreamSize

size_t DynExpModule::SignalDesignerData::CurrentStreamSize

Definition at line 93 of file SignalDesigner.h.

◆ CurrentTriggerEdge

DynExpInstr::FunctionGeneratorDefs::TriggerDescType::TriggerEdgeType DynExpModule::SignalDesignerData::CurrentTriggerEdge

Definition at line 89 of file SignalDesigner.h.

◆ CurrentTriggerMode

DynExpInstr::FunctionGeneratorDefs::TriggerDescType::TriggerModeType DynExpModule::SignalDesignerData::CurrentTriggerMode

Definition at line 88 of file SignalDesigner.h.

◆ CurrentWaveform

DynExpInstr::FunctionGeneratorDefs::WaveformTypes DynExpModule::SignalDesignerData::CurrentWaveform

Definition at line 81 of file SignalDesigner.h.

◆ DefaultFuncDesc

DynExpInstr::FunctionGeneratorDefs::FunctionDescType DynExpModule::SignalDesignerData::DefaultFuncDesc

Definition at line 77 of file SignalDesigner.h.

◆ FunctionGenerator

DynExp::LinkedObjectWrapperContainerList<DynExpInstr::FunctionGenerator> DynExpModule::SignalDesignerData::FunctionGenerator
private

Definition at line 104 of file SignalDesigner.h.

◆ MaxFuncDesc

DynExpInstr::FunctionGeneratorDefs::FunctionDescType DynExpModule::SignalDesignerData::MaxFuncDesc

Definition at line 76 of file SignalDesigner.h.

◆ MinFuncDesc

DynExpInstr::FunctionGeneratorDefs::FunctionDescType DynExpModule::SignalDesignerData::MinFuncDesc

Definition at line 75 of file SignalDesigner.h.

◆ TriggerCaps

Util::FeatureTester<DynExpInstr::FunctionGenerator::TriggerCapsType> DynExpModule::SignalDesignerData::TriggerCaps

Definition at line 79 of file SignalDesigner.h.

◆ UIInitialized

bool DynExpModule::SignalDesignerData::UIInitialized
private

Definition at line 101 of file SignalDesigner.h.

◆ WaveformCaps

Util::FeatureTester<DynExpInstr::FunctionGenerator::WaveformCapsType> DynExpModule::SignalDesignerData::WaveformCaps

Definition at line 78 of file SignalDesigner.h.


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