Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <CUnitPatterns.hpp>
Public Member Functions | |
const CUnitPattern & | getPattern (iv::units::eUnitType unitType) const |
const CUnitPattern::SChannelTypeWired * | getWiredChannelType (iv::units::eUnitType unitType, uint16_t channelId) const |
std::vector< iv::channels::eChannelSpecificType > | getNonWiredChannelTypesAllowed (iv::units::eUnitType unitType) const |
bool | isWiredChannelWATankChangeable (iv::units::eUnitType unitType, uint16_t channelId) const |
CUnitPatterns (const CUnitPatterns &other)=delete | |
CUnitPatterns (CUnitPatterns &&other)=delete | |
CUnitPatterns & | operator= (const CUnitPatterns &other)=delete |
CUnitPatterns & | operator= (CUnitPatterns &&other)=delete |
Static Public Member Functions | |
static const CUnitPatterns & | getInstance () |
static std::pair< uint16_t, uint16_t > | getEmptyUnitChannel () |
static std::pair< uint16_t, uint16_t > | getDefaultUnitChannel () |
Static Public Attributes | |
static constexpr uint16_t | kUnitsEmptyId = 0 |
static constexpr uint32_t | kUnitsStartId = 1 |
static constexpr uint16_t | kChannelsEmptyId = 0 |
static constexpr uint16_t | kChannelsStartId = 1 |
static constexpr uint16_t | kMaxChannelsAIM18 = 18 |
static constexpr uint16_t | kMaxChannelsDIM36 = 36 |
static constexpr uint16_t | kMaxChannelsDIOM24 = 24 |
static constexpr uint16_t | kMaxChannelsPMM = 27 |
static constexpr uint16_t | kMaxChannelsTIM28 = 32 |
static constexpr uint16_t | kMaxChannelsSLIM = 4 |
Private Member Functions | |
CUnitPatterns () | |
~CUnitPatterns ()=default | |
Static Private Member Functions | |
static int32_t | prvMaxWiredChannels (iv::units::eUnitType unitType) |
Private Attributes | |
std::map< iv::units::eUnitType, CUnitPattern > | m_unitPatterns |
TODO RAG: Pq esta clase no es directamente un map de eUnitType a CUnitPattern? | |
Singleton class defining the patterns for each type of unit and providing only consulting methods.
|
delete |
|
delete |
|
private |
|
privatedefault |
|
static |
|
static |
|
static |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
delete |
|
delete |
|
staticprivate |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
private |
TODO RAG: Pq esta clase no es directamente un map de eUnitType a CUnitPattern?