DynExp
Highly flexible laboratory automation for dynamically changing experiments.
DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs > Class Template Reference
+ Inheritance diagram for DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >:

Public Types

using ParamsType = NetworkAnalogOutParams< BaseInstr, 0, gRPCStubs... >
 
using ConfigType = NetworkAnalogOutConfigurator< BaseInstr, 0, gRPCStubs... >
 
using InstrumentDataType = NetworkAnalogOutData< BaseInstr, 0, gRPCStubs... >
 
using StubType = DynExpProto::NetworkAnalogOut::NetworkAnalogOut
 
- Public Types inherited from DynExpInstr::NetworkDataStreamInstrumentT< BaseInstr, 0, gRPCStubs... >
using ParamsType = NetworkDataStreamInstrumentParams< BaseInstr, 0, gRPCStubs... >
 
using ConfigType = NetworkDataStreamInstrumentConfigurator< BaseInstr, 0, gRPCStubs... >
 
using InstrumentDataType = NetworkDataStreamInstrumentData< BaseInstr, 0, gRPCStubs... >
 
- Public Types inherited from DynExpInstr::gRPCInstrument< BaseInstr, 0, gRPCStubs... >
using ParamsType = gRPCInstrumentParams< BaseInstr, 0, gRPCStubs... >
 Type of the parameter class belonging to this Object type. Declare this alias in every derived class with the respective parameter class accompanying the derived Object. More...
 
using ConfigType = gRPCInstrumentConfigurator< BaseInstr, 0, gRPCStubs... >
 Type of the configurator class belonging to this Object type. Declare this alias in every derived class with the respective configurator class accompanying the derived Object. More...
 
using InstrumentDataType = gRPCInstrumentData< BaseInstr, 0, gRPCStubs... >
 Type of the data class belonging to this InstrumentBase type. Declare this alias in every derived class with the respective data class accompanying the derived InstrumentBase. More...
 

Public Member Functions

 NetworkAnalogOutT (const std::thread::id OwnerThreadID, DynExp::ParamsBasePtrType &&Params)
 
virtual ~NetworkAnalogOutT ()
 
virtual std::string GetName () const override
 Returns the name of this Object type. More...
 
virtual DataStreamInstrumentData::ValueType GetHardwareMinValue () const override
 
virtual DataStreamInstrumentData::ValueType GetHardwareMaxValue () const override
 
virtual DataStreamInstrumentData::ValueType GetHardwareResolution () const override final
 
virtual DataStreamInstrumentData::UnitType GetValueUnit () const override
 
virtual DataStreamInstrumentData::ValueType GetUserMinValue () const override
 
virtual DataStreamInstrumentData::ValueType GetUserMaxValue () const override
 
virtual void ReadData (DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
 
virtual void Set (AnalogOutData::SampleStreamType::SampleType Sample, DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
 
virtual void SetDefault (DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
 
virtual void SetSync (AnalogOutData::SampleStreamType::SampleType Sample) const override
 
- Public Member Functions inherited from DynExpInstr::NetworkDataStreamInstrumentT< BaseInstr, 0, gRPCStubs... >
 NetworkDataStreamInstrumentT (const std::thread::id OwnerThreadID, DynExp::ParamsBasePtrType &&Params)
 
virtual ~NetworkDataStreamInstrumentT ()
 
virtual std::chrono::milliseconds GetTaskQueueDelay () const
 Read remote instrument's state periodically. More...
 
virtual Util::OptionalBool HasFinished () const override
 
virtual Util::OptionalBool IsRunning () const override
 
virtual void WriteData (DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
 
virtual void ClearData (DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
 
virtual void Start (DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
 
virtual void Stop (DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
 
virtual void Restart (DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
 
virtual void SetStreamSize (size_t BufferSizeInSamples, DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
 
virtual void ResetStreamSize (DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
 
- Public Member Functions inherited from DynExpInstr::gRPCInstrument< BaseInstr, 0, gRPCStubs... >
virtual ~gRPCInstrument ()
 
virtual std::string GetCategory () const override
 Returns the category of this Object type. More...
 

Static Public Member Functions

constexpr static auto Name () noexcept
 
- Static Public Member Functions inherited from DynExpInstr::NetworkDataStreamInstrumentT< BaseInstr, 0, gRPCStubs... >
constexpr static auto Name () noexcept
 
- Static Public Member Functions inherited from DynExpInstr::gRPCInstrument< BaseInstr, 0, gRPCStubs... >
constexpr static auto Name () noexcept
 Every derived class has to redefine this function. More...
 
constexpr static auto Category () noexcept
 Every derived class has to redefine this function. More...
 

Private Member Functions

void ResetImpl (DynExp::Object::dispatch_tag< NetworkDataStreamInstrumentT< BaseInstr, 0, gRPCStubs... >>) override final
 
virtual void ResetImpl (DynExp::Object::dispatch_tag< NetworkAnalogOutT >)
 
virtual Util::FeatureTester< FunctionGenerator::WaveformCapsTypeGetWaveformCapsChild () const override
 
virtual std::unique_ptr< DynExp::InitTaskBaseMakeInitTask () const override
 Factory function for an init task (InitTaskBase). Override to define the desired initialization task in derived classes only if the respective task really does something and if it has no pure virtual function. More...
 
virtual std::unique_ptr< DynExp::ExitTaskBaseMakeExitTask () const override
 Factory function for an exit task (ExitTaskBase). Override to define the desired deinitialization task in derived classes only if the respective task really does something and if it has no pure virtual function. More...
 
virtual std::unique_ptr< DynExp::UpdateTaskBaseMakeUpdateTask () const override
 Factory function for an update task (UpdateTaskBase). Override to define the desired update task in derived classes only if the respective task really does something and if it has no pure virtual function. More...
 

Additional Inherited Members

- Protected Member Functions inherited from DynExpInstr::gRPCInstrument< BaseInstr, 0, gRPCStubs... >
 gRPCInstrument (const std::thread::id OwnerThreadID, DynExp::ParamsBasePtrType &&Params)
 Constructs an instrument instance. More...
 

Detailed Description

template<typename BaseInstr, typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int >, typename... gRPCStubs>
class DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >

Definition at line 168 of file NetworkAnalogOutInstr.h.

Member Typedef Documentation

◆ ConfigType

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
using DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::ConfigType = NetworkAnalogOutConfigurator<BaseInstr, 0, gRPCStubs...>

Definition at line 172 of file NetworkAnalogOutInstr.h.

◆ InstrumentDataType

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
using DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::InstrumentDataType = NetworkAnalogOutData<BaseInstr, 0, gRPCStubs...>

Definition at line 173 of file NetworkAnalogOutInstr.h.

◆ ParamsType

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
using DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::ParamsType = NetworkAnalogOutParams<BaseInstr, 0, gRPCStubs...>

Definition at line 171 of file NetworkAnalogOutInstr.h.

◆ StubType

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
using DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::StubType = DynExpProto::NetworkAnalogOut::NetworkAnalogOut

Definition at line 174 of file NetworkAnalogOutInstr.h.

Constructor & Destructor Documentation

◆ NetworkAnalogOutT()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::NetworkAnalogOutT ( const std::thread::id  OwnerThreadID,
DynExp::ParamsBasePtrType &&  Params 
)
inline

Definition at line 178 of file NetworkAnalogOutInstr.h.

◆ ~NetworkAnalogOutT()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::~NetworkAnalogOutT ( )
inlinevirtual

Definition at line 180 of file NetworkAnalogOutInstr.h.

Member Function Documentation

◆ GetHardwareMaxValue()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual DataStreamInstrumentData::ValueType DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::GetHardwareMaxValue ( ) const
inlineoverridevirtual

Definition at line 197 of file NetworkAnalogOutInstr.h.

◆ GetHardwareMinValue()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual DataStreamInstrumentData::ValueType DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::GetHardwareMinValue ( ) const
inlineoverridevirtual

Definition at line 184 of file NetworkAnalogOutInstr.h.

◆ GetHardwareResolution()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual DataStreamInstrumentData::ValueType DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::GetHardwareResolution ( ) const
inlinefinaloverridevirtual

Definition at line 210 of file NetworkAnalogOutInstr.h.

◆ GetName()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual std::string DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::GetName ( ) const
inlineoverridevirtual

Returns the name of this Object type.

Reimplemented from DynExpInstr::NetworkDataStreamInstrumentT< BaseInstr, 0, gRPCStubs... >.

Definition at line 182 of file NetworkAnalogOutInstr.h.

◆ GetUserMaxValue()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual DataStreamInstrumentData::ValueType DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::GetUserMaxValue ( ) const
inlineoverridevirtual

Definition at line 249 of file NetworkAnalogOutInstr.h.

◆ GetUserMinValue()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual DataStreamInstrumentData::ValueType DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::GetUserMinValue ( ) const
inlineoverridevirtual

Definition at line 236 of file NetworkAnalogOutInstr.h.

◆ GetValueUnit()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual DataStreamInstrumentData::UnitType DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::GetValueUnit ( ) const
inlineoverridevirtual

Definition at line 223 of file NetworkAnalogOutInstr.h.

◆ GetWaveformCapsChild()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual Util::FeatureTester<FunctionGenerator::WaveformCapsType> DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::GetWaveformCapsChild ( ) const
inlineoverrideprivatevirtual

Definition at line 290 of file NetworkAnalogOutInstr.h.

◆ MakeExitTask()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual std::unique_ptr<DynExp::ExitTaskBase> DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::MakeExitTask ( ) const
inlineoverrideprivatevirtual

Factory function for an exit task (ExitTaskBase). Override to define the desired deinitialization task in derived classes only if the respective task really does something and if it has no pure virtual function.

Returns
Pointer to the task (transferring ownership) or nullptr if no exit task is required. A task can be created with MakeTask().

Reimplemented from DynExpInstr::NetworkDataStreamInstrumentT< BaseInstr, 0, gRPCStubs... >.

Definition at line 293 of file NetworkAnalogOutInstr.h.

◆ MakeInitTask()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual std::unique_ptr<DynExp::InitTaskBase> DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::MakeInitTask ( ) const
inlineoverrideprivatevirtual

Factory function for an init task (InitTaskBase). Override to define the desired initialization task in derived classes only if the respective task really does something and if it has no pure virtual function.

Returns
Pointer to the task (transferring ownership) or nullptr if no init task is required. A task can be created with MakeTask().

Reimplemented from DynExpInstr::NetworkDataStreamInstrumentT< BaseInstr, 0, gRPCStubs... >.

Definition at line 292 of file NetworkAnalogOutInstr.h.

◆ MakeUpdateTask()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual std::unique_ptr<DynExp::UpdateTaskBase> DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::MakeUpdateTask ( ) const
inlineoverrideprivatevirtual

Factory function for an update task (UpdateTaskBase). Override to define the desired update task in derived classes only if the respective task really does something and if it has no pure virtual function.

Returns
Pointer to the task (transferring ownership) or nullptr if no update task is required. A task can be created with MakeTask().

Reimplemented from DynExpInstr::NetworkDataStreamInstrumentT< BaseInstr, 0, gRPCStubs... >.

Definition at line 294 of file NetworkAnalogOutInstr.h.

◆ Name()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
constexpr static auto DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::Name ( )
inlinestaticconstexprnoexcept

Definition at line 176 of file NetworkAnalogOutInstr.h.

◆ ReadData()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual void DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::ReadData ( DynExp::TaskBase::CallbackType  CallbackFunc = nullptr) const
inlineoverridevirtual

◆ ResetImpl() [1/2]

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual void DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::ResetImpl ( DynExp::Object::dispatch_tag< NetworkAnalogOutT< BaseInstr,, gRPCStubs > >  )
inlineprivatevirtual

Definition at line 288 of file NetworkAnalogOutInstr.h.

◆ ResetImpl() [2/2]

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
void DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::ResetImpl ( DynExp::Object::dispatch_tag< NetworkDataStreamInstrumentT< BaseInstr, 0, gRPCStubs... >>  )
inlinefinaloverrideprivate

Definition at line 283 of file NetworkAnalogOutInstr.h.

◆ Set()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual void DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::Set ( AnalogOutData::SampleStreamType::SampleType  Sample,
DynExp::TaskBase::CallbackType  CallbackFunc = nullptr 
) const
inlineoverridevirtual

Definition at line 265 of file NetworkAnalogOutInstr.h.

◆ SetDefault()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual void DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::SetDefault ( DynExp::TaskBase::CallbackType  CallbackFunc = nullptr) const
inlineoverridevirtual

Definition at line 266 of file NetworkAnalogOutInstr.h.

◆ SetSync()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< AnalogOut, BaseInstr >, int > , typename... gRPCStubs>
virtual void DynExpInstr::NetworkAnalogOutT< BaseInstr,, gRPCStubs >::SetSync ( AnalogOutData::SampleStreamType::SampleType  Sample) const
inlineoverridevirtual

Definition at line 268 of file NetworkAnalogOutInstr.h.


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