Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::channels::EnumDataFlowParameter Class Reference

#include <EnumDataFlowParameter.hpp>

Public Types

enum class  eParameterJ1939 {
  Type , Pgn , SourceAddress , Spn ,
  DataType , ExtraIdentifier
}
 
enum class  eParameterModbus {
  Description , Direction , Type , IsExtended ,
  Address , DataType , EndianType , RegisterBitsLength ,
  BitPosition , SlaveId
}
 
enum class  eParameterNmea0183 { Description , Header , FieldPosition , FieldType }
 
enum class  eParameterVdr { Description , id }
 
enum class  eParameterNmea2k {
  Pgn , SourceAddress , FieldPosition , DataType ,
  ExtraIdentifier
}
 

Static Public Member Functions

static std::string getJ1939ParameterName (eParameterJ1939 param, bool shortName=true)
 Get the name of the parameter for the J1939 network.
 
static std::string getJ1939ParameterColumnName (eParameterJ1939 param)
 Get the name of the parameter for the J1939 network to display in the column.
 
static uint16_t getJ1939ParameterColumnWidth (eParameterJ1939 param)
 Get the width of the column in DataFlow's sheet for the J1939 network.
 
static uint16_t getJ1939ParameterMaxChars (eParameterJ1939 param)
 Get the maximum number of characters for the parameter for the J1939 network.
 
static std::string getJ1939ParameterValueAsString (const std::shared_ptr< INetworkInfo > &networkInfo, iv::channels::EnumDataFlowParameter::eParameterJ1939 param)
 Get the value for the parameter of the J1939 network as a string.
 
static std::string getModbusParameterName (eParameterModbus param, bool shortName=true)
 Get the name of the parameter for the Modbus network.
 
static uint16_t getModbusParameterColumnWidth (eParameterModbus param)
 Get the width of the column in DataFlow's sheet for the Modbus network.
 
static uint16_t getModbusParameterMaxChars (eParameterModbus param)
 Get the width of the column in DataFlow's sheet for the Modbus network.
 
static std::string getModbusParameterValueAsString (const std::shared_ptr< iv::channels::INetworkInfo > &networkInfo, const std::shared_ptr< iv::channels::AbstractChannel > &channel, iv::eLanguage language, eParameterModbus param)
 Get the value for the parameter of the Modbus network as a string.
 
static std::set< iv::comms::modbus::eRegisterTypegetModbusRegisterTypesForDirection (iv::channels::INetworkInfo::eDirection modbusRegisterDirection)
 Get the register types for the direction of the Modbus network.
 
static std::set< iv::eDataTypegetModbusDataTypesForRegisterType (iv::comms::modbus::eRegisterType modbusType)
 Get the data types for the register type of the Modbus network.
 
static std::string getNmea0183ParameterName (eParameterNmea0183 param, bool shortName=true)
 Get the name of the parameter for the NMEA0183 network.
 
static uint16_t getNmea0183ParameterMaxChars (eParameterNmea0183 param)
 Get the name of the parameter for the NMEA0183 network to display in the column.
 
static uint16_t getNmea0183ParameterColumnWidth (eParameterNmea0183 param)
 Get the width of the column in DataFlow's sheet for the NMEA0183 network.
 
static std::string getNmea0183ParameterValueAsString (const std::shared_ptr< iv::channels::INetworkInfo > &networkInfo, const std::shared_ptr< iv::channels::AbstractChannel > &channel, iv::eLanguage language, eParameterNmea0183 param)
 Get the value for the parameter of the NMEA0183 network as a string.
 
static std::string getVdrParameterName (eParameterVdr param, bool shortName=true)
 
static uint16_t getVdrParameterMaxChars (eParameterVdr param)
 
static uint16_t getVdrParameterColumnWidth (eParameterVdr param)
 
static std::string getVdrParameterValueAsString (const std::shared_ptr< iv::channels::INetworkInfo > &networkInfo, const std::shared_ptr< iv::channels::AbstractChannel > &channel, iv::eLanguage language, eParameterVdr param)
 
static std::string getNmea2kParameterColumnName (eParameterNmea2k param)
 
static std::string getNmea2kParameterName (eParameterNmea2k param, bool shortName=true)
 
static uint16_t getNmea2kParameterMaxChars (eParameterNmea2k param)
 
static uint16_t getNmea2kParameterColumnWidth (eParameterNmea2k param)
 
static std::string getNmea2kParameterValueAsString (const std::shared_ptr< iv::channels::INetworkInfo > &networkInfo, eParameterNmea2k param)
 

Member Enumeration Documentation

◆ eParameterJ1939

Enumerator
Type 
Pgn 
SourceAddress 
Spn 
DataType 
ExtraIdentifier 

◆ eParameterModbus

Enumerator
Description 
Direction 
Type 
IsExtended 
Address 
DataType 
EndianType 
RegisterBitsLength 
BitPosition 
SlaveId 

◆ eParameterNmea0183

Enumerator
Description 
Header 
FieldPosition 
FieldType 

◆ eParameterNmea2k

Enumerator
Pgn 
SourceAddress 
FieldPosition 
DataType 
ExtraIdentifier 

◆ eParameterVdr

Enumerator
Description 
id 

Member Function Documentation

◆ getJ1939ParameterColumnName()

std::string iv::channels::EnumDataFlowParameter::getJ1939ParameterColumnName ( eParameterJ1939 param)
static

Get the name of the parameter for the J1939 network to display in the column.

Parameters
paramThe parameter to get the name.
Returns
The name of the parameter.

◆ getJ1939ParameterColumnWidth()

uint16_t iv::channels::EnumDataFlowParameter::getJ1939ParameterColumnWidth ( eParameterJ1939 param)
static

Get the width of the column in DataFlow's sheet for the J1939 network.

Parameters
paramThe parameter to get the width.
Returns
The width of the column.

◆ getJ1939ParameterMaxChars()

uint16_t iv::channels::EnumDataFlowParameter::getJ1939ParameterMaxChars ( eParameterJ1939 param)
static

Get the maximum number of characters for the parameter for the J1939 network.

Parameters
paramThe parameter to get the maximum number of characters.
Returns
The maximum number of characters.

◆ getJ1939ParameterName()

std::string iv::channels::EnumDataFlowParameter::getJ1939ParameterName ( eParameterJ1939 param,
bool shortName = true )
static

Get the name of the parameter for the J1939 network.

Parameters
paramThe parameter to get the name.
shortNameIf short name is requested.
Returns
The name of the parameter.

◆ getJ1939ParameterValueAsString()

std::string iv::channels::EnumDataFlowParameter::getJ1939ParameterValueAsString ( const std::shared_ptr< INetworkInfo > & networkInfo,
iv::channels::EnumDataFlowParameter::eParameterJ1939 param )
static

Get the value for the parameter of the J1939 network as a string.

Parameters
networkInfoThe network information.
paramThe parameter to get the value.
Returns
The value of the parameter as a string.

◆ getModbusDataTypesForRegisterType()

std::set< iv::eDataType > iv::channels::EnumDataFlowParameter::getModbusDataTypesForRegisterType ( iv::comms::modbus::eRegisterType modbusType)
static

Get the data types for the register type of the Modbus network.

Parameters
modbusTypeThe register type.
Returns
The data types for the register type.

◆ getModbusParameterColumnWidth()

uint16_t iv::channels::EnumDataFlowParameter::getModbusParameterColumnWidth ( eParameterModbus param)
static

Get the width of the column in DataFlow's sheet for the Modbus network.

Parameters
paramThe parameter to get the width.
Returns
The width of the column.

◆ getModbusParameterMaxChars()

uint16_t iv::channels::EnumDataFlowParameter::getModbusParameterMaxChars ( eParameterModbus param)
static

Get the width of the column in DataFlow's sheet for the Modbus network.

Parameters
paramThe parameter to get the width.
Returns
The width of the column.

◆ getModbusParameterName()

std::string iv::channels::EnumDataFlowParameter::getModbusParameterName ( eParameterModbus param,
bool shortName = true )
static

Get the name of the parameter for the Modbus network.

Parameters
paramThe parameter to get the name.
shortNameIf short name is requested.
Returns
The name of the parameter.

◆ getModbusParameterValueAsString()

std::string iv::channels::EnumDataFlowParameter::getModbusParameterValueAsString ( const std::shared_ptr< iv::channels::INetworkInfo > & networkInfo,
const std::shared_ptr< iv::channels::AbstractChannel > & channel,
iv::eLanguage language,
eParameterModbus param )
static

Get the value for the parameter of the Modbus network as a string.

Parameters
networkInfoThe network information.
paramThe parameter to get the value.
Returns
The value of the parameter as a string.

◆ getModbusRegisterTypesForDirection()

std::set< iv::comms::modbus::eRegisterType > iv::channels::EnumDataFlowParameter::getModbusRegisterTypesForDirection ( iv::channels::INetworkInfo::eDirection modbusRegisterDirection)
static

Get the register types for the direction of the Modbus network.

Parameters
modbusRegisterDirectionThe direction of the register.
Returns
The register types for the direction.

◆ getNmea0183ParameterColumnWidth()

uint16_t iv::channels::EnumDataFlowParameter::getNmea0183ParameterColumnWidth ( eParameterNmea0183 param)
static

Get the width of the column in DataFlow's sheet for the NMEA0183 network.

Parameters
paramThe parameter to get the width.
Returns
The width of the column.

◆ getNmea0183ParameterMaxChars()

uint16_t iv::channels::EnumDataFlowParameter::getNmea0183ParameterMaxChars ( eParameterNmea0183 param)
static

Get the name of the parameter for the NMEA0183 network to display in the column.

Parameters
paramThe parameter to get the name.
Returns
The name of the parameter.

◆ getNmea0183ParameterName()

std::string iv::channels::EnumDataFlowParameter::getNmea0183ParameterName ( eParameterNmea0183 param,
bool shortName = true )
static

Get the name of the parameter for the NMEA0183 network.

Parameters
paramThe parameter to get the name.
shortNameIf short name is requested.
Returns
The name of the parameter.

◆ getNmea0183ParameterValueAsString()

std::string iv::channels::EnumDataFlowParameter::getNmea0183ParameterValueAsString ( const std::shared_ptr< iv::channels::INetworkInfo > & networkInfo,
const std::shared_ptr< iv::channels::AbstractChannel > & channel,
iv::eLanguage language,
eParameterNmea0183 param )
static

Get the value for the parameter of the NMEA0183 network as a string.

Parameters
networkInfoThe network information.
paramThe parameter to get the value.
Returns
The value of the parameter as a string.

◆ getNmea2kParameterColumnName()

std::string iv::channels::EnumDataFlowParameter::getNmea2kParameterColumnName ( EnumDataFlowParameter::eParameterNmea2k param)
static

◆ getNmea2kParameterColumnWidth()

uint16_t iv::channels::EnumDataFlowParameter::getNmea2kParameterColumnWidth ( EnumDataFlowParameter::eParameterNmea2k param)
static

◆ getNmea2kParameterMaxChars()

uint16_t iv::channels::EnumDataFlowParameter::getNmea2kParameterMaxChars ( EnumDataFlowParameter::eParameterNmea2k param)
static

◆ getNmea2kParameterName()

std::string iv::channels::EnumDataFlowParameter::getNmea2kParameterName ( EnumDataFlowParameter::eParameterNmea2k param,
bool shortName = true )
static

◆ getNmea2kParameterValueAsString()

std::string iv::channels::EnumDataFlowParameter::getNmea2kParameterValueAsString ( const std::shared_ptr< iv::channels::INetworkInfo > & networkInfo,
EnumDataFlowParameter::eParameterNmea2k param )
static

◆ getVdrParameterColumnWidth()

uint16_t iv::channels::EnumDataFlowParameter::getVdrParameterColumnWidth ( EnumDataFlowParameter::eParameterVdr param)
static

◆ getVdrParameterMaxChars()

uint16_t iv::channels::EnumDataFlowParameter::getVdrParameterMaxChars ( EnumDataFlowParameter::eParameterVdr param)
static

◆ getVdrParameterName()

std::string iv::channels::EnumDataFlowParameter::getVdrParameterName ( EnumDataFlowParameter::eParameterVdr param,
bool shortName = true )
static

◆ getVdrParameterValueAsString()

std::string iv::channels::EnumDataFlowParameter::getVdrParameterValueAsString ( const std::shared_ptr< iv::channels::INetworkInfo > & networkInfo,
const std::shared_ptr< iv::channels::AbstractChannel > & channel,
iv::eLanguage language,
EnumDataFlowParameter::eParameterVdr param )
static

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