template<typename BaseInstr, typename std::enable_if_t< std::is_base_of_v< DynExp::InstrumentBase, BaseInstr >, int >, typename... gRPCStubs>
class DynExpInstr::gRPCInstrumentConfigurator< BaseInstr,, gRPCStubs >
Configurator class for gRPCInstrument
.
- Template Parameters
-
BaseInstr | Meta instrument this class derives from. |
enable_if_t | Internal check whether BaseInstr is derived from DynExp::InstrumentBase. Pass 0. |
...gRPCStubs | gRPC stub types which this gRPC client expects from the server to be provided. The order of stub types should match the order of service types in the gRPCServices list of the respective DynExpModule::gRPCModule gRPC server. |
Definition at line 261 of file gRPCInstrument.h.
template<typename BaseInstr , typename std::enable_if_t< std::is_base_of_v< DynExp::InstrumentBase, BaseInstr >, int > , typename... gRPCStubs>
|
inlineoverrideprivatevirtual |
Override to make derived classes call DynExp::MakeParams with the correct configurator type derived from ConfiguratorBase
. This lets this factory function create an instance of the correct parameter class.
- Parameters
-
ID | ID to assign to the new Object this configurator class instance belongs to |
Core | Reference to DynExp's core |
- Returns
- Pointer to the created parameter class instance
Reimplemented in DynExpInstr::WidefieldLocalizationConfigurator, DynExpInstr::NetworkTimeTaggerConfigurator< BaseInstr,, gRPCStubs >, DynExpInstr::NetworkSpectrometerConfigurator, DynExpInstr::NetworkDigitalOutConfigurator< BaseInstr,, gRPCStubs >, DynExpInstr::NetworkDigitalInConfigurator< BaseInstr,, gRPCStubs >, DynExpInstr::NetworkDataStreamInstrumentConfigurator< BaseInstr,, gRPCStubs >, DynExpInstr::NetworkDataStreamInstrumentConfigurator< BaseInstr, 0, gRPCStubs... >, DynExpInstr::NetworkAnalogOutConfigurator< BaseInstr,, gRPCStubs >, and DynExpInstr::NetworkAnalogInConfigurator< BaseInstr,, gRPCStubs >.
Definition at line 274 of file gRPCInstrument.h.