DynExp
Highly flexible laboratory automation for dynamically changing experiments.
DynExp::HardwareAdapterSerialPortConfigurator Class Reference

Configurator class for HardwareAdapterSerialPort. More...

+ Inheritance diagram for DynExp::HardwareAdapterSerialPortConfigurator:

Public Types

using ObjectType = HardwareAdapterSerialPort
 
using ParamsType = HardwareAdapterSerialPortParams
 
- Public Types inherited from DynExp::QSerialCommunicationHardwareAdapterConfigurator
using ObjectType = QSerialCommunicationHardwareAdapter
 
using ParamsType = QSerialCommunicationHardwareAdapterParams
 
- Public Types inherited from DynExp::SerialCommunicationHardwareAdapterConfigurator
using ObjectType = SerialCommunicationHardwareAdapter
 
using ParamsType = SerialCommunicationHardwareAdapterParams
 
- 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

 HardwareAdapterSerialPortConfigurator ()=default
 
virtual ~HardwareAdapterSerialPortConfigurator ()=default
 
- Public Member Functions inherited from DynExp::QSerialCommunicationHardwareAdapterConfigurator
 QSerialCommunicationHardwareAdapterConfigurator ()=default
 
virtual ~QSerialCommunicationHardwareAdapterConfigurator ()=0
 
- Public Member Functions inherited from DynExp::SerialCommunicationHardwareAdapterConfigurator
 SerialCommunicationHardwareAdapterConfigurator ()=default
 
virtual ~SerialCommunicationHardwareAdapterConfigurator ()=0
 
- 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 (ItemIDType ID, const 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

Configurator class for HardwareAdapterSerialPort.

Definition at line 80 of file HardwareAdapterSerialPort.h.

Member Typedef Documentation

◆ ObjectType

◆ ParamsType

Constructor & Destructor Documentation

◆ HardwareAdapterSerialPortConfigurator()

DynExp::HardwareAdapterSerialPortConfigurator::HardwareAdapterSerialPortConfigurator ( )
default

◆ ~HardwareAdapterSerialPortConfigurator()

virtual DynExp::HardwareAdapterSerialPortConfigurator::~HardwareAdapterSerialPortConfigurator ( )
virtualdefault

Member Function Documentation

◆ MakeParams()

virtual DynExp::ParamsBasePtrType DynExp::HardwareAdapterSerialPortConfigurator::MakeParams ( ItemIDType  ID,
const 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.

Definition at line 90 of file HardwareAdapterSerialPort.h.


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