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

Functions

uint32_t getGlobalId (iv::types::channelOrder channelOrder, iv::types::unitId unitId, iv::channels::eChannelSpecificType channelSpecificType)
 
iv::types::indexChannel generateIndexChannel (uint16_t id, iv::channels::eChannelSpecificType type)
 
std::pair< iv::alarms::eAlarmState, iv::alarms::eAlarmTypeunpackedStateAlarmAndTypeAlarm (unsigned char stateAndType)
 
bool hasToShowRawValue (const iv::channels::eChannelBaseType baseType)
 
bool isSerialLine (const iv::channels::eChannelSpecificType type)
 
std::vector< iv::channels::eAnalogSensorTypesensorTypeByUnitTypeAndChOrder (const iv::units::eUnitType &unitType, const iv::types::channelOrder &chOrder)
 
bool isDefaultChannelId (const types::channelId &chId)
 
bool isChannelWithoutAlarm (iv::channels::eChannelSpecificType channelType)
 
void formatTag (iv::types::channelId &id)
 
std::string formatValue (const iv::types::channelValue &value, const iv::channels::eChannelBaseType type, const std::optional< uint8_t > numberOfDecimals=0, const std::optional< iv::eMeasurementUnit > measurementUnit=std::nullopt)
 
iv::types::Range< uint16_t > stationHeartbeatAndFailureChannelOrderRange ()
 
iv::types::Range< uint16_t > watchcallNodeHearbeatAndFailureChannelOrderRange ()
 
iv::types::Range< iv::types::channelOrderunitHeartbeatAndCanFailureChannelOrderRange (const iv::types::unitId unitId)
 
iv::types::channelOrder networkHeartbeatAndFailureChannelOrder (const iv::types::channelOrder stationOrder, const iv::types::channelOrder commOrder)
 
std::string generateDefaultChannelId (iv::types::unitId unitId, iv::types::channelOrder channelOrder)
 
std::string generateDefaultLomHeartbeatChannelId (iv::types::unitId unitId)
 
std::string generateDefaultStationHeartbeatChannelId (const iv::types::stationId &stationId)
 
std::string generateDefaultStationFailChannelId (const iv::types::stationId &stationId)
 
std::string generateDefaultWatchcallNodeFailChannelId (const iv::types::repeaterId &repeaterId)
 
std::string generateDefaultWatchcallNodeHearbeatChannelId (const iv::types::repeaterId &repeaterId)
 
std::string generateDefaultCanAFailChannelId (iv::types::unitId unitId)
 
std::string generateDefaultCanBFailChannelId (iv::types::unitId unitId)
 
std::string generateDefaultCanCFailChannelId (iv::types::unitId unitId)
 
std::string generateDefaultLomOfflineChannelId (iv::types::unitId unitId)
 

Function Documentation

◆ formatTag()

void iv::channels::utils::formatTag ( iv::types::channelId & id)
inline

◆ formatValue()

std::string iv::channels::utils::formatValue ( const iv::types::channelValue & value,
const iv::channels::eChannelBaseType type,
const std::optional< uint8_t > numberOfDecimals = 0,
const std::optional< iv::eMeasurementUnit > measurementUnit = std::nullopt )
inline

◆ generateDefaultCanAFailChannelId()

std::string iv::channels::utils::generateDefaultCanAFailChannelId ( iv::types::unitId unitId)
inline

◆ generateDefaultCanBFailChannelId()

std::string iv::channels::utils::generateDefaultCanBFailChannelId ( iv::types::unitId unitId)
inline

◆ generateDefaultCanCFailChannelId()

std::string iv::channels::utils::generateDefaultCanCFailChannelId ( iv::types::unitId unitId)
inline

◆ generateDefaultChannelId()

std::string iv::channels::utils::generateDefaultChannelId ( iv::types::unitId unitId,
iv::types::channelOrder channelOrder )
inline

◆ generateDefaultLomHeartbeatChannelId()

std::string iv::channels::utils::generateDefaultLomHeartbeatChannelId ( iv::types::unitId unitId)
inline

◆ generateDefaultLomOfflineChannelId()

std::string iv::channels::utils::generateDefaultLomOfflineChannelId ( iv::types::unitId unitId)
inline

◆ generateDefaultStationFailChannelId()

std::string iv::channels::utils::generateDefaultStationFailChannelId ( const iv::types::stationId & stationId)
inline

◆ generateDefaultStationHeartbeatChannelId()

std::string iv::channels::utils::generateDefaultStationHeartbeatChannelId ( const iv::types::stationId & stationId)
inline

◆ generateDefaultWatchcallNodeFailChannelId()

std::string iv::channels::utils::generateDefaultWatchcallNodeFailChannelId ( const iv::types::repeaterId & repeaterId)
inline

◆ generateDefaultWatchcallNodeHearbeatChannelId()

std::string iv::channels::utils::generateDefaultWatchcallNodeHearbeatChannelId ( const iv::types::repeaterId & repeaterId)
inline

◆ generateIndexChannel()

iv::types::indexChannel iv::channels::utils::generateIndexChannel ( uint16_t id,
iv::channels::eChannelSpecificType type )

◆ getGlobalId()

uint32_t iv::channels::utils::getGlobalId ( iv::types::channelOrder channelOrder,
iv::types::unitId unitId,
iv::channels::eChannelSpecificType channelSpecificType )

◆ hasToShowRawValue()

bool iv::channels::utils::hasToShowRawValue ( const iv::channels::eChannelBaseType baseType)

◆ isChannelWithoutAlarm()

bool iv::channels::utils::isChannelWithoutAlarm ( iv::channels::eChannelSpecificType channelType)

◆ isDefaultChannelId()

bool iv::channels::utils::isDefaultChannelId ( const types::channelId & chId)

◆ isSerialLine()

bool iv::channels::utils::isSerialLine ( const iv::channels::eChannelSpecificType type)

◆ networkHeartbeatAndFailureChannelOrder()

iv::types::channelOrder iv::channels::utils::networkHeartbeatAndFailureChannelOrder ( const iv::types::channelOrder stationOrder,
const iv::types::channelOrder commOrder )
inline

◆ sensorTypeByUnitTypeAndChOrder()

std::vector< iv::channels::eAnalogSensorType > iv::channels::utils::sensorTypeByUnitTypeAndChOrder ( const iv::units::eUnitType & unitType,
const iv::types::channelOrder & chOrder )

◆ stationHeartbeatAndFailureChannelOrderRange()

iv::types::Range< uint16_t > iv::channels::utils::stationHeartbeatAndFailureChannelOrderRange ( )
inline

◆ unitHeartbeatAndCanFailureChannelOrderRange()

iv::types::Range< iv::types::channelOrder > iv::channels::utils::unitHeartbeatAndCanFailureChannelOrderRange ( const iv::types::unitId unitId)
inline

◆ unpackedStateAlarmAndTypeAlarm()

std::pair< iv::alarms::eAlarmState, iv::alarms::eAlarmType > iv::channels::utils::unpackedStateAlarmAndTypeAlarm ( unsigned char stateAndType)

◆ watchcallNodeHearbeatAndFailureChannelOrderRange()

iv::types::Range< uint16_t > iv::channels::utils::watchcallNodeHearbeatAndFailureChannelOrderRange ( )
inline