DynExp
Highly flexible laboratory automation for dynamically changing experiments.
DynExpHardware::gRPCHardwareAdapterConfigurator< gRPCStub > Class Template Reference

Configurator class for gRPCHardwareAdapter. More...

+ Inheritance diagram for DynExpHardware::gRPCHardwareAdapterConfigurator< gRPCStub >:

Public Types

using ObjectType = gRPCHardwareAdapter< gRPCStub >
 
using ParamsType = gRPCHardwareAdapterParams< gRPCStub >
 
- Public Types inherited from DynExp::HardwareAdapterConfiguratorBase
using ObjectType = HardwareAdapterBase
 
using ParamsType = HardwareAdapterParamsBase
 
- Public Types inherited from DynExp::ConfiguratorBase
using ObjectType = Object
 
using ParamsType = ParamsBase
 

Public Member Functions

 gRPCHardwareAdapterConfigurator ()=default
 
virtual ~gRPCHardwareAdapterConfigurator ()=default
 
- Public Member Functions inherited from DynExp::HardwareAdapterConfiguratorBase
 HardwareAdapterConfiguratorBase ()=default
 
virtual ~HardwareAdapterConfiguratorBase ()=0
 
- Public Member Functions inherited from DynExp::ConfiguratorBase
 ConfiguratorBase ()=default
 
virtual ~ConfiguratorBase ()=0
 
ParamsBasePtrType MakeConfigFromDialog (ItemIDType ID, const DynExpCore &Core, QWidget *const DialogParent) const
 Sets up and displays a configuration dialog. The user input is used to create an instance of the related Object's parameter class. More...
 
ParamsBasePtrType MakeConfigFromXML (ItemIDType ID, const DynExpCore &Core, const QDomElement &XMLElement) const
 Retrieves the configuration from an XML node to create an instance of the related Object's parameter class. Refer to ParamsBase::ConfigFromXM(). More...
 
UpdateConfigFromDialogResult UpdateConfigFromDialog (Object *Obj, const DynExpCore &Core, QWidget *const DialogParent) const
 Updates an Object's Obj parameters from a configuration dialog. Sets up and displays this dialog. More...
 

Private Member Functions

virtual DynExp::ParamsBasePtrType MakeParams (DynExp::ItemIDType ID, const DynExp::DynExpCore &Core) const override
 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. More...
 

Detailed Description

template<typename gRPCStub>
class DynExpHardware::gRPCHardwareAdapterConfigurator< gRPCStub >

Configurator class for gRPCHardwareAdapter.

Definition at line 69 of file HardwareAdaptergRPC.h.

Member Typedef Documentation

◆ ObjectType

template<typename gRPCStub >
using DynExpHardware::gRPCHardwareAdapterConfigurator< gRPCStub >::ObjectType = gRPCHardwareAdapter<gRPCStub>

Definition at line 72 of file HardwareAdaptergRPC.h.

◆ ParamsType

template<typename gRPCStub >
using DynExpHardware::gRPCHardwareAdapterConfigurator< gRPCStub >::ParamsType = gRPCHardwareAdapterParams<gRPCStub>

Definition at line 73 of file HardwareAdaptergRPC.h.

Constructor & Destructor Documentation

◆ gRPCHardwareAdapterConfigurator()

template<typename gRPCStub >
DynExpHardware::gRPCHardwareAdapterConfigurator< gRPCStub >::gRPCHardwareAdapterConfigurator ( )
default

◆ ~gRPCHardwareAdapterConfigurator()

template<typename gRPCStub >
virtual DynExpHardware::gRPCHardwareAdapterConfigurator< gRPCStub >::~gRPCHardwareAdapterConfigurator ( )
virtualdefault

Member Function Documentation

◆ MakeParams()

template<typename gRPCStub >
virtual DynExp::ParamsBasePtrType DynExpHardware::gRPCHardwareAdapterConfigurator< gRPCStub >::MakeParams ( DynExp::ItemIDType  ID,
const DynExp::DynExpCore Core 
) const
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
IDID to assign to the new Object this configurator class instance belongs to
CoreReference to DynExp's core
Returns
Pointer to the created parameter class instance

Implements DynExp::ConfiguratorBase.

Reimplemented in DynExpHardware::SIPulseStreamerHardwareAdapterConfigurator.

Definition at line 79 of file HardwareAdaptergRPC.h.


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