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

Bundles several parameters to describe a network connection. Use in parameter classes. More...

Public Member Functions

 NetworkParamsExtension (DynExp::ParamsBase &Owner)
 Constructs a NetworkParamsExtension instance. More...
 
std::string MakeAddress () const
 Builds a network address from the parameters' content. More...
 

Public Attributes

DynExp::ParamsBase::Param< ParamsConfigDialog::TextTypeServerName
 IP address. More...
 
DynExp::ParamsBase::Param< ParamsConfigDialog::NumberTypePort
 Network port. More...
 

Detailed Description

Bundles several parameters to describe a network connection. Use in parameter classes.

Definition at line 42 of file HardwareAdapterEthernet.h.

Constructor & Destructor Documentation

◆ NetworkParamsExtension()

DynExp::NetworkParamsExtension::NetworkParamsExtension ( DynExp::ParamsBase Owner)
inline

Constructs a NetworkParamsExtension instance.

Parameters
OwnerParameter class owning the parameters bundled by this instance

Definition at line 49 of file HardwareAdapterEthernet.h.

Member Function Documentation

◆ MakeAddress()

std::string DynExp::NetworkParamsExtension::MakeAddress ( ) const
inline

Builds a network address from the parameters' content.

Returns
Network address as a string in the format [ip]:[port]

Definition at line 60 of file HardwareAdapterEthernet.h.

Member Data Documentation

◆ Port

DynExp::ParamsBase::Param<ParamsConfigDialog::NumberType> DynExp::NetworkParamsExtension::Port

Network port.

Definition at line 63 of file HardwareAdapterEthernet.h.

◆ ServerName

DynExp::ParamsBase::Param<ParamsConfigDialog::TextType> DynExp::NetworkParamsExtension::ServerName

IP address.

Definition at line 62 of file HardwareAdapterEthernet.h.


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