Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::units::builders::pmm Namespace Reference

Classes

struct  PmmAndChannelNames
 

Functions

bool hasPmmChIdStructure (iv::types::channelId chId)
 
std::optional< PmmAndChannelNamesgetPmmAndChannelNames (const iv::types::channelId &channelId)
 
std::optional< std::string > getPmmName (const iv::units::Unit &pmmUnit)
 Get the name of the PMM from a unit.
 
std::pair< bool, std::shared_ptr< iv::channels::AbstractChannel > > hasPmmChannelByChName (const iv::units::Unit &pmmUnit, const std::string &channelName)
 

Function Documentation

◆ getPmmAndChannelNames()

std::optional< PmmAndChannelNames > iv::units::builders::pmm::getPmmAndChannelNames ( const iv::types::channelId & channelId)
inline

◆ getPmmName()

std::optional< std::string > iv::units::builders::pmm::getPmmName ( const iv::units::Unit & pmmUnit)
inline

Get the name of the PMM from a unit.

Parameters
pmmUnitThe PMM unit
Returns
The name of the PMM if it is a PMM unit, otherwise nullopt
Note
At the moment, the name will be set as the PMM name if at least two channels in a row have the same PMM name

◆ hasPmmChannelByChName()

std::pair< bool, std::shared_ptr< iv::channels::AbstractChannel > > iv::units::builders::pmm::hasPmmChannelByChName ( const iv::units::Unit & pmmUnit,
const std::string & channelName )
inline

◆ hasPmmChIdStructure()

bool iv::units::builders::pmm::hasPmmChIdStructure ( iv::types::channelId chId)
inline