DynExp
Highly flexible laboratory automation for dynamically changing experiments.
DynExpInstr::NetworkSpectrometerParams Class Reference
+ Inheritance diagram for DynExpInstr::NetworkSpectrometerParams:

Public Member Functions

 NetworkSpectrometerParams (DynExp::ItemIDType ID, const DynExp::DynExpCore &Core)
 
virtual ~NetworkSpectrometerParams ()=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::gRPCInstrumentParams< Spectrometer, 0, DynExpProto::NetworkSpectrometer::NetworkSpectrometer >
 gRPCInstrumentParams (DynExp::ItemIDType ID, const DynExp::DynExpCore &Core)
 Constructs the parameters for a gRPCInstrument instance. More...
 
virtual ~gRPCInstrumentParams ()=default
 

Private Member Functions

void ConfigureParamsImpl (dispatch_tag< gRPCInstrumentParams< Spectrometer, 0, DynExpProto::NetworkSpectrometer::NetworkSpectrometer >>) override final
 
virtual void ConfigureParamsImpl (dispatch_tag< NetworkSpectrometerParams >)
 

Private Attributes

DummyParam Dummy = { *this }
 

Additional Inherited Members

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

Detailed Description

Definition at line 180 of file NetworkSpectrometer.h.

Constructor & Destructor Documentation

◆ NetworkSpectrometerParams()

DynExpInstr::NetworkSpectrometerParams::NetworkSpectrometerParams ( DynExp::ItemIDType  ID,
const DynExp::DynExpCore Core 
)
inline

Definition at line 183 of file NetworkSpectrometer.h.

◆ ~NetworkSpectrometerParams()

virtual DynExpInstr::NetworkSpectrometerParams::~NetworkSpectrometerParams ( )
virtualdefault

Member Function Documentation

◆ ConfigureParamsImpl() [1/2]

void DynExpInstr::NetworkSpectrometerParams::ConfigureParamsImpl ( dispatch_tag< gRPCInstrumentParams< Spectrometer, 0, DynExpProto::NetworkSpectrometer::NetworkSpectrometer >>  )
inlinefinaloverrideprivate

Definition at line 189 of file NetworkSpectrometer.h.

◆ ConfigureParamsImpl() [2/2]

virtual void DynExpInstr::NetworkSpectrometerParams::ConfigureParamsImpl ( dispatch_tag< NetworkSpectrometerParams )
inlineprivatevirtual

Definition at line 190 of file NetworkSpectrometer.h.

◆ GetParamClassTag()

virtual const char* DynExpInstr::NetworkSpectrometerParams::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::gRPCInstrumentParams< Spectrometer, 0, DynExpProto::NetworkSpectrometer::NetworkSpectrometer >.

Definition at line 186 of file NetworkSpectrometer.h.

Member Data Documentation

◆ Dummy

DummyParam DynExpInstr::NetworkSpectrometerParams::Dummy = { *this }
private

Definition at line 192 of file NetworkSpectrometer.h.


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