Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <CUnitPatterns.hpp>
Classes | |
struct | SChannelType |
struct | SChannelTypeWired |
Public Types | |
typedef std::pair< iv::types::channelOrder, iv::types::channelOrder > | TChannelRange |
typedef std::map< TChannelRange, SChannelType * > | TMapChannelRangeType |
Public Member Functions | |
CUnitPattern (iv::units::eUnitType unitType, int32_t maxWiredChannels) | |
CUnitPattern ()=delete | |
~CUnitPattern () | |
CUnitPattern (const CUnitPattern &other) | |
CUnitPattern (CUnitPattern &&other)=delete | |
CUnitPattern & | operator= (const CUnitPattern &other)=default |
CUnitPattern & | operator= (CUnitPattern &&other)=delete |
const TMapChannelRangeType & | getWiredChannelRangeType () const |
const SChannelTypeWired * | getWiredChannelType (uint16_t channelId) const |
const std::vector< SChannelType * > & | getNonWiredChannelTypesAllowed () const |
bool | canHaveChannels () const |
bool | hasUnitInfo () const |
bool | isWiredChannelWATankChangeable (uint16_t channelId) const |
Static Public Member Functions | |
static std::vector< iv::types::Range< iv::types::channelOrder > > | getRangeChannelOrder (iv::channels::eChannelSpecificType channelSpecificType, iv::units::eUnitType unitType) |
static void | getRangeUnitId (iv::units::eUnitType unitType, iv::types::unitId &start, iv::types::unitId &end) |
static bool | isUnitIdValid (iv::units::eUnitType unitType, const iv::types::unitId &unitId) |
static iv::channels::eChannelBaseType | getBaseType (iv::channels::eChannelSpecificType chSpecificType) |
Private Member Functions | |
void | prvAddNonWiredChannelTypeAllowed (iv::channels::eChannelSpecificType chSpecificType) |
void | prvAddWiredChannelTypeRange (iv::channels::eChannelSpecificType chSpecificType, TChannelRange range, iv::channels::WiredAttributes::eIOType ioType) |
void | prvBuildPatternAIM18 () |
void | prvBuildPatternDIM36 () |
void | prvBuildPatternDIOM24 () |
void | prvBuildPatternLUM () |
void | prvBuildPatternPMM () |
void | prvBuildPatternTIM28 () |
void | prvAddCommonNonWiredChannelTypesAllowed (iv::units::eUnitType unitType) |
void | prvBuildPattern (iv::units::eUnitType unitType) |
Static Private Member Functions | |
static void | prvBuildPatternRMS () |
static void | prvBuildPatternSlim () |
Private Attributes | |
iv::units::eUnitType | m_unitType |
int32_t | m_maxWiredChannels |
TMapChannelRangeType | m_wiredChannelsType |
std::vector< SChannelType * > | m_nonWiredChannelTypesAllowed |
TODO RAG: ¿Habría que cambiar esto en un futuro a puntero inteligente? | |
Class defining the channel types for each type of unit.
std::map<TChannelRange, SChannelType *> CUnitPattern::TMapChannelRangeType |
CUnitPattern::CUnitPattern | ( | iv::units::eUnitType | unitType, |
int32_t | maxWiredChannels ) |
|
delete |
CUnitPattern::~CUnitPattern | ( | ) |
CUnitPattern::CUnitPattern | ( | const CUnitPattern & | other | ) |
|
delete |
|
nodiscard |
True if the type of module supports any type of channel (wired or virtual); false otherwise.
|
static |
|
nodiscard |
|
static |
|
static |
|
nodiscard |
|
nodiscard |
|
nodiscard |
True if the type of module holds unit information; false otherwise.
|
static |
|
nodiscard |
|
default |
|
delete |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
TODO RAG: ¿Habría que cambiar esto en un futuro a puntero inteligente?
|
private |
|
private |