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

Public Member Functions

 OutputPortWriterData ()
 
virtual ~OutputPortWriterData ()=default
 
- 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

DynExp::LinkedObjectWrapperContainer< DynExpInstr::OutputPortOutputPort
 
bool UIInitialized
 
bool IsDigitalPort
 
bool ValueChanged
 
double MinAllowedValue
 
double MaxAllowedValue
 
double Value
 
- 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< OutputPortWriterData >)
 
void Init ()
 

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 32 of file OutputPortWriter.h.

Constructor & Destructor Documentation

◆ OutputPortWriterData()

DynExpModule::OutputPortWriterData::OutputPortWriterData ( )
inline

Definition at line 35 of file OutputPortWriter.h.

◆ ~OutputPortWriterData()

virtual DynExpModule::OutputPortWriterData::~OutputPortWriterData ( )
virtualdefault

Member Function Documentation

◆ Init()

void DynExpModule::OutputPortWriterData::Init ( )
private

Definition at line 22 of file OutputPortWriter.cpp.

◆ ResetImpl() [1/2]

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

Definition at line 49 of file OutputPortWriter.h.

◆ ResetImpl() [2/2]

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

Definition at line 17 of file OutputPortWriter.cpp.

Member Data Documentation

◆ IsDigitalPort

bool DynExpModule::OutputPortWriterData::IsDigitalPort

Definition at line 41 of file OutputPortWriter.h.

◆ MaxAllowedValue

double DynExpModule::OutputPortWriterData::MaxAllowedValue

Definition at line 44 of file OutputPortWriter.h.

◆ MinAllowedValue

double DynExpModule::OutputPortWriterData::MinAllowedValue

Definition at line 43 of file OutputPortWriter.h.

◆ OutputPort

DynExp::LinkedObjectWrapperContainer<DynExpInstr::OutputPort> DynExpModule::OutputPortWriterData::OutputPort

Definition at line 38 of file OutputPortWriter.h.

◆ UIInitialized

bool DynExpModule::OutputPortWriterData::UIInitialized

Definition at line 40 of file OutputPortWriter.h.

◆ Value

double DynExpModule::OutputPortWriterData::Value

Definition at line 45 of file OutputPortWriter.h.

◆ ValueChanged

bool DynExpModule::OutputPortWriterData::ValueChanged

Definition at line 42 of file OutputPortWriter.h.


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