|
DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
#include <InputPortReader.h>
Inheritance diagram for DynExpModule::InputPortReaderData:Public Member Functions | |
| InputPortReaderData () | |
| virtual | ~InputPortReaderData ()=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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| size_t | GetNumEnqueuedEvents () const noexcept |
| Getter for the module event queue's length. | |
Public Member Functions inherited from Util::INonCopyable | |
| INonCopyable (const INonCopyable &)=delete | |
| INonCopyable & | operator= (const INonCopyable &)=delete |
Public Attributes | |
| DynExp::LinkedObjectWrapperContainer< DynExpInstr::InputPort > | InputPort |
| bool | UIInitialized |
| bool | IsDigitalPort |
| double | Value |
Public Attributes inherited from DynExp::ModuleDataBase | |
| ModuleBaseOnlyType | ModuleBaseOnly |
Allow exclusive access to some of ModuleDataBase's private methods to ModuleBase. | |
| ModuleThreadOnlyType | ModuleThreadOnly |
Allow exclusive access to some of ModuleDataBase's private methods to the module thread ModuleThreadMain(). | |
Private Member Functions | |
| void | ResetImpl (dispatch_tag< QModuleDataBase >) override final |
| virtual void | ResetImpl (dispatch_tag< InputPortReaderData >) |
| void | Init () |
Additional Inherited Members | |
Public Types inherited from DynExp::ModuleDataBase | |
| using | EventPtrType = std::unique_ptr< EventBase > |
| Pointer owning an event. | |
| using | EventQueueType = std::queue< EventPtrType > |
| A module's event queue is a FIFO queue owning the enqueued events. | |
Protected Member Functions inherited from Util::ISynchronizedPointerLockable | |
| ISynchronizedPointerLockable () | |
| ~ISynchronizedPointerLockable () | |
| Object should never be destroyed before completely unlocked. | |
Protected Member Functions inherited from Util::INonCopyable | |
| constexpr | INonCopyable ()=default |
| ~INonCopyable ()=default | |
Definition at line 32 of file InputPortReader.h.
|
inline |
Definition at line 35 of file InputPortReader.h.
|
virtualdefault |
|
private |
Definition at line 22 of file InputPortReader.cpp.
|
inlineprivatevirtual |
Definition at line 46 of file InputPortReader.h.
|
finaloverrideprivate |
Definition at line 17 of file InputPortReader.cpp.
| DynExp::LinkedObjectWrapperContainer<DynExpInstr::InputPort> DynExpModule::InputPortReaderData::InputPort |
Definition at line 38 of file InputPortReader.h.
| bool DynExpModule::InputPortReaderData::IsDigitalPort |
Definition at line 41 of file InputPortReader.h.
| bool DynExpModule::InputPortReaderData::UIInitialized |
Definition at line 40 of file InputPortReader.h.
| double DynExpModule::InputPortReaderData::Value |
Definition at line 42 of file InputPortReader.h.