DynExp
Highly flexible laboratory automation for dynamically changing experiments.
DynExpModule::NetworkAnalogOutData< gRPCServices > Class Template Reference
+ Inheritance diagram for DynExpModule::NetworkAnalogOutData< gRPCServices >:

Public Types

using InstrType = DynExpInstr::AnalogOut
 
- 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...
 

Public Member Functions

 NetworkAnalogOutData ()
 
virtual ~NetworkAnalogOutData ()=default
 
auto GetAnalogOut ()
 
- Public Member Functions inherited from DynExpModule::NetworkDataStreamInstrumentData< gRPCServices... >
 NetworkDataStreamInstrumentData ()
 
virtual ~NetworkDataStreamInstrumentData ()=default
 
auto & GetDataStreamInstrument () noexcept
 
- Public Member Functions inherited from DynExpModule::gRPCModuleData< gRPCServices... >
 gRPCModuleData ()
 
virtual ~gRPCModuleData ()=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
 

Private Member Functions

void ResetImpl (DynExp::ModuleDataBase::dispatch_tag< NetworkDataStreamInstrumentData< gRPCServices... >>) override final
 
virtual void ResetImpl (DynExp::ModuleDataBase::dispatch_tag< NetworkAnalogOutData >)
 
void Init ()
 

Additional Inherited Members

- 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...
 
- 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

template<typename... gRPCServices>
class DynExpModule::NetworkAnalogOutData< gRPCServices >

Definition at line 23 of file NetworkAnalogOutModule.h.

Member Typedef Documentation

◆ InstrType

template<typename... gRPCServices>
using DynExpModule::NetworkAnalogOutData< gRPCServices >::InstrType = DynExpInstr::AnalogOut

Definition at line 26 of file NetworkAnalogOutModule.h.

Constructor & Destructor Documentation

◆ NetworkAnalogOutData()

template<typename... gRPCServices>
DynExpModule::NetworkAnalogOutData< gRPCServices >::NetworkAnalogOutData ( )
inline

Definition at line 28 of file NetworkAnalogOutModule.h.

◆ ~NetworkAnalogOutData()

template<typename... gRPCServices>
virtual DynExpModule::NetworkAnalogOutData< gRPCServices >::~NetworkAnalogOutData ( )
virtualdefault

Member Function Documentation

◆ GetAnalogOut()

template<typename... gRPCServices>
auto DynExpModule::NetworkAnalogOutData< gRPCServices >::GetAnalogOut ( )
inline

Definition at line 31 of file NetworkAnalogOutModule.h.

◆ Init()

template<typename... gRPCServices>
void DynExpModule::NetworkAnalogOutData< gRPCServices >::Init ( )
inlineprivate

Definition at line 37 of file NetworkAnalogOutModule.h.

◆ ResetImpl() [1/2]

template<typename... gRPCServices>
virtual void DynExpModule::NetworkAnalogOutData< gRPCServices >::ResetImpl ( DynExp::ModuleDataBase::dispatch_tag< NetworkAnalogOutData< gRPCServices > >  )
inlineprivatevirtual

Definition at line 35 of file NetworkAnalogOutModule.h.

◆ ResetImpl() [2/2]

template<typename... gRPCServices>
void DynExpModule::NetworkAnalogOutData< gRPCServices >::ResetImpl ( DynExp::ModuleDataBase::dispatch_tag< NetworkDataStreamInstrumentData< gRPCServices... >>  )
inlinefinaloverrideprivate

Definition at line 34 of file NetworkAnalogOutModule.h.


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