|
DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
#include <Trajectory1D.h>
Inheritance diagram for DynExpModule::Trajectory1DData:Public Types | |
| enum | TriggerModeType { Continuous , ManualOnce , Manual , OnStreamChanged } |
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. | |
Public Member Functions | |
| Trajectory1DData () | |
| virtual | ~Trajectory1DData ()=default |
| auto & | GetTrajectoryDataInstr () |
| auto & | GetPositionerStage () |
| auto & | GetCommunicator () |
| auto | GetTriggerMode () const noexcept |
| void | SetTriggerMode (TriggerModeType TriggerMode) noexcept |
| auto | GetRepeatCount () const noexcept |
| void | SetRepeatCount (size_t RepeatCount) noexcept |
| auto | GetDwellTime () const noexcept |
| void | SetDwellTime (std::chrono::milliseconds DwellTime) noexcept |
| auto | GetLastWrittenSampleID () const noexcept |
| void | SetLastWrittenSampleID (size_t LastWrittenSampleID) noexcept |
| const auto & | GetSamples () const noexcept |
| auto & | GetSamples () noexcept |
| void | SetSamples (DynExpInstr::DataStreamBase::BasicSampleListType &&Samples) noexcept |
| auto | GetCurrentPlaybackPos () const noexcept |
| bool | IsTriggered () const noexcept |
| void | SetCurrentPlaybackPos (size_t CurrentPlaybackPos) noexcept |
| auto | GetCurrentRepeatCount () const noexcept |
| void | SetCurrentRepeatCount (size_t CurrentRepeatCount) noexcept |
| auto | IsReady () const noexcept |
| void | SetReady (bool Ready) noexcept |
| auto | GetTrajectoryStartedTime () const noexcept |
| void | SetTrajectoryStartedTime (std::chrono::time_point< std::chrono::system_clock > TrajectoryStartedTime) 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. | |
| 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 |
Private Member Functions | |
| void | ResetImpl (dispatch_tag< QModuleDataBase >) override final |
| virtual void | ResetImpl (dispatch_tag< Trajectory1DData >) |
| void | Init () |
Private Attributes | |
| DynExp::LinkedObjectWrapperContainer< DynExpInstr::DataStreamInstrument > | TrajectoryDataInstr |
| DynExp::LinkedObjectWrapperContainer< DynExpInstr::PositionerStage > | PositionerStage |
| DynExp::LinkedObjectWrapperContainer< DynExpInstr::InterModuleCommunicator > | Communicator |
| TriggerModeType | TriggerMode = TriggerModeType::Manual |
| size_t | RepeatCount = 1 |
| std::chrono::milliseconds | DwellTime = std::chrono::milliseconds(100) |
| size_t | LastWrittenSampleID = 0 |
| DynExpInstr::DataStreamBase::BasicSampleListType | Samples |
| size_t | CurrentPlaybackPos = 0 |
| 0 means waiting for trigger. Values > 0 mean running. They indicate the sample to be written next. | |
| size_t | CurrentRepeatCount = 0 |
| bool | Ready = false |
| Running (not necessarily triggered yet) if true. | |
| std::chrono::time_point< std::chrono::system_clock > | TrajectoryStartedTime |
Additional Inherited Members | |
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(). | |
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 42 of file Trajectory1D.h.
| Enumerator | |
|---|---|
| Continuous | |
| ManualOnce | |
| Manual | |
| OnStreamChanged | |
Definition at line 45 of file Trajectory1D.h.
|
inline |
Definition at line 47 of file Trajectory1D.h.
|
virtualdefault |
|
inline |
Definition at line 52 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 67 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 70 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 58 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 61 of file Trajectory1D.h.
|
inline |
Definition at line 51 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 56 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 63 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 64 of file Trajectory1D.h.
|
inline |
Definition at line 50 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 74 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 54 of file Trajectory1D.h.
|
private |
Definition at line 19 of file Trajectory1D.cpp.
|
inlinenoexcept |
Definition at line 72 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 68 of file Trajectory1D.h.
|
finaloverrideprivate |
Definition at line 14 of file Trajectory1D.cpp.
|
inlineprivatevirtual |
Definition at line 79 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 69 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 71 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 59 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 62 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 73 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 57 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 65 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 75 of file Trajectory1D.h.
|
inlinenoexcept |
Definition at line 55 of file Trajectory1D.h.
|
private |
Definition at line 85 of file Trajectory1D.h.
|
private |
0 means waiting for trigger. Values > 0 mean running. They indicate the sample to be written next.
Definition at line 94 of file Trajectory1D.h.
|
private |
Definition at line 95 of file Trajectory1D.h.
|
private |
Definition at line 89 of file Trajectory1D.h.
|
private |
Definition at line 91 of file Trajectory1D.h.
|
private |
Definition at line 84 of file Trajectory1D.h.
|
private |
Running (not necessarily triggered yet) if true.
Definition at line 96 of file Trajectory1D.h.
|
private |
Definition at line 88 of file Trajectory1D.h.
|
private |
Definition at line 92 of file Trajectory1D.h.
|
private |
Definition at line 83 of file Trajectory1D.h.
|
private |
Definition at line 97 of file Trajectory1D.h.
|
private |
Definition at line 87 of file Trajectory1D.h.