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

Public Member Functions

 NetworkDigitalInParams (DynExp::ItemIDType ID, const DynExp::DynExpCore &Core)
 
virtual ~NetworkDigitalInParams ()=default
 
virtual const char * GetParamClassTag () const noexcept override
 This function is intended to be overridden once in each derived class returning the name of the respective class. Parameters defined in any class within the ParamsBase hierarchy will receive a 'this' pointer pointing to ParamsBase when their ParamBase constructors are called. The ParamBase constructors will register the respective parameter in ParamsBase::OwnedParams calling GetParamClassTag() on the given 'this' pointer. This allows the ParamBase constructor to obtain the name of the class where the respective parameter was declared in. The name is used as an XML tag containing related parameters in the project files. Here, it is fully intended that the virtual call to GetParamClassTag() leads only to a call of GetParamClassTag() of the current dynamic type of ParamsBase! More...
 
- Public Member Functions inherited from DynExpInstr::NetworkDataStreamInstrumentParams< BaseInstr, 0, gRPCStubs... >
 NetworkDataStreamInstrumentParams (DynExp::ItemIDType ID, const DynExp::DynExpCore &Core)
 
virtual ~NetworkDataStreamInstrumentParams ()=default
 
- Public Member Functions inherited from DynExpInstr::gRPCInstrumentParams< BaseInstr, 0, gRPCStubs... >
 gRPCInstrumentParams (DynExp::ItemIDType ID, const DynExp::DynExpCore &Core)
 Constructs the parameters for a gRPCInstrument instance. More...
 
virtual ~gRPCInstrumentParams ()=default
 

Private Member Functions

void ConfigureParamsImpl (DynExp::ParamsBase::dispatch_tag< NetworkDataStreamInstrumentParams< BaseInstr, 0, gRPCStubs... >>) override final
 
virtual void ConfigureParamsImpl (DynExp::ParamsBase::dispatch_tag< NetworkDigitalInParams >)
 

Private Attributes

DynExp::ParamsBase::DummyParam Dummy = { *this }
 

Additional Inherited Members

- Public Attributes inherited from DynExpInstr::gRPCInstrumentParams< BaseInstr, 0, gRPCStubs... >
DynExp::NetworkParamsExtension NetworkParams
 Network address of the gRPC server to connect to. More...
 

Detailed Description

template<typename BaseInstr, typename std::enable_if_t< std::is_base_of_v< DigitalIn, BaseInstr >, int >, typename... gRPCStubs>
class DynExpInstr::NetworkDigitalInParams< BaseInstr,, gRPCStubs >

Definition at line 78 of file NetworkDigitalInInstr.h.

Constructor & Destructor Documentation

◆ NetworkDigitalInParams()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< DigitalIn, BaseInstr >, int > , typename... gRPCStubs>
DynExpInstr::NetworkDigitalInParams< BaseInstr,, gRPCStubs >::NetworkDigitalInParams ( DynExp::ItemIDType  ID,
const DynExp::DynExpCore Core 
)
inline

Definition at line 81 of file NetworkDigitalInInstr.h.

◆ ~NetworkDigitalInParams()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< DigitalIn, BaseInstr >, int > , typename... gRPCStubs>
virtual DynExpInstr::NetworkDigitalInParams< BaseInstr,, gRPCStubs >::~NetworkDigitalInParams ( )
virtualdefault

Member Function Documentation

◆ ConfigureParamsImpl() [1/2]

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< DigitalIn, BaseInstr >, int > , typename... gRPCStubs>
void DynExpInstr::NetworkDigitalInParams< BaseInstr,, gRPCStubs >::ConfigureParamsImpl ( DynExp::ParamsBase::dispatch_tag< NetworkDataStreamInstrumentParams< BaseInstr, 0, gRPCStubs... >>  )
inlinefinaloverrideprivate

Definition at line 87 of file NetworkDigitalInInstr.h.

◆ ConfigureParamsImpl() [2/2]

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< DigitalIn, BaseInstr >, int > , typename... gRPCStubs>
virtual void DynExpInstr::NetworkDigitalInParams< BaseInstr,, gRPCStubs >::ConfigureParamsImpl ( DynExp::ParamsBase::dispatch_tag< NetworkDigitalInParams< BaseInstr,, gRPCStubs > >  )
inlineprivatevirtual

Definition at line 95 of file NetworkDigitalInInstr.h.

◆ GetParamClassTag()

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< DigitalIn, BaseInstr >, int > , typename... gRPCStubs>
virtual const char* DynExpInstr::NetworkDigitalInParams< BaseInstr,, gRPCStubs >::GetParamClassTag ( ) const
inlineoverridevirtualnoexcept

This function is intended to be overridden once in each derived class returning the name of the respective class. Parameters defined in any class within the ParamsBase hierarchy will receive a 'this' pointer pointing to ParamsBase when their ParamBase constructors are called. The ParamBase constructors will register the respective parameter in ParamsBase::OwnedParams calling GetParamClassTag() on the given 'this' pointer. This allows the ParamBase constructor to obtain the name of the class where the respective parameter was declared in. The name is used as an XML tag containing related parameters in the project files. Here, it is fully intended that the virtual call to GetParamClassTag() leads only to a call of GetParamClassTag() of the current dynamic type of ParamsBase!

Returns
Name of the class this function is defined in

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

Definition at line 84 of file NetworkDigitalInInstr.h.

Member Data Documentation

◆ Dummy

template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< DigitalIn, BaseInstr >, int > , typename... gRPCStubs>
DynExp::ParamsBase::DummyParam DynExpInstr::NetworkDigitalInParams< BaseInstr,, gRPCStubs >::Dummy = { *this }
private

Definition at line 97 of file NetworkDigitalInInstr.h.


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