Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <CLogicsComponentLabel.hpp>
Public Types | |
enum class | ELabelIOType { Input , Output , Without } |
typedef uint16_t | TUniqueLabelDefaultIdNumber |
enum class | ECPPosition { Bottom , Left , Right , Top , Without } |
typedef std::map< AbstractCanvasItem::TId, std::shared_ptr< CLogicsConnectionPoint > > | TMapIdConnPoint |
enum class | EPartType { MainShape , MainText , SubText1 , SubText2 , SubText3 } |
typedef std::pair< TIndex, EPartType > | TPairIndexPartType |
typedef std::map< TIndex, EPartType > | TMapIndexPartType |
typedef std::map< TPairIndexPartType, AbstractCanvasItem::TTupleDrawingMode > | TMapPartTypeDrawingMode |
typedef std::map< AbstractCanvasItem::TTupleDrawingMode, TMapPartTypeDrawingMode > | TMapDrawingModePartsDrawingMode |
enum class | EMarkMode { None , Selected } |
enum class | EStandOutMode { Highlighted , Warning , None } |
typedef uint32_t | TId |
typedef std::pair< double, double > | TPosition2d |
typedef uint32_t | TIndex |
typedef std::tuple< EMarkMode, EStandOutMode > | TTupleDrawingMode |
Static Public Attributes | |
static const TUniqueLabelDefaultIdNumber | kInitialUniqueLabelIdNumber = 1 |
static const std::string | kDefaultUniqueLabelName = "LB_" |
static const std::string | kUnsetLabel = "???" |
static constexpr std::string_view | kPrvKeySectionLogicsElementData = "LogicsElementData" |
static const TId | kInvalidCanvasItemId = 0 |
static const TId | kStartingCanvasItemId = 1 |
static const TPosition2d | kZeroPosition = {0., 0.} |
Protected Member Functions | |
virtual std::optional< uint32_t > | getIndexOfConnectionForParam (iv::logic::eDBBlockParamType type, iv::types::logic::paramNumber number) const |
Private Attributes | |
ELabelIOType | m_labelIOType |
std::string | m_labelName |
std::string | m_labelDescription |
ECPPosition | m_cPPosition |
iv::types::logic::ComponentType | m_componentTypeTuple |
TMapIdConnPoint | m_inputRefs |
TMapIdConnPoint | m_outputRefs |
iv::logic::eLogicsElementType | m_logicsElementType |
std::string | m_name |
TId | m_id |
TPosition2d | m_globalPosition2d |
TTupleDrawingMode | m_currentDrawingMode |
bool | m_redrawFlag |
ICanvasItem * | m_canvasItem |
std::vector< std::unique_ptr< IListenerCanvasItemClick > > | m_listenersItemClick |
std::vector< std::unique_ptr< IListenerCanvasItemMove > > | m_listenersItemMove |
std::vector< std::unique_ptr< IListenerCanvasItemEnter > > | m_listenersItemEnter |
std::vector< std::unique_ptr< IListenerCanvasItemLeave > > | m_listenersItemLeave |
class CLogicsComponentLabel
Labels in the logic diagram will be unique when connected to output of logic components. They will be used as the input of logic components, where duplication will be allowed.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
stronginherited |
|
strong |
|
stronginherited |
|
stronginherited |
|
stronginherited |
|
explicit |
CLogicsComponentLabel::CLogicsComponentLabel | ( | AbstractCanvasItem::TId | id, |
const iv::types::logic::ComponentType & | componentType, | ||
const std::string & | name ) |
|
delete |
|
overridedefault |
|
delete |
|
delete |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
staticinherited |
|
static |
|
staticinherited |
|
inherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
virtualinherited |
Reimplemented in iv::logic::component::LogicRectangle.
|
nodiscardoverridevirtual |
Reimplemented from AbstractLogicsElement.
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
protectedvirtualinherited |
Reimplemented in CLogicsComponentExec.
|
nodiscardinherited |
|
inherited |
|
nodiscardinherited |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
overridevirtualinherited |
Reimplemented from AbstractLogicsElement.
|
nodiscardvirtualinherited |
Reimplemented in CLogicsComponentChannel, and iv::logic::component::LogicText.
|
nodiscardinherited |
|
inherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
staticinherited |
|
nodiscardinherited |
|
staticinherited |
|
staticinherited |
|
nodiscardoverridevirtual |
Reimplemented from AbstractLogicsElement.
|
nodiscardinherited |
|
nodiscardinherited |
|
delete |
|
delete |
|
overridevirtual |
Reimplemented from CLogicsComponent.
|
staticinherited |
|
staticinherited |
|
overridevirtualinherited |
Reimplemented from AbstractLogicsElement.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
overridevirtual |
Reimplemented from CLogicsComponent.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
void CLogicsComponentLabel::setLabelDescription | ( | const std::string & | description | ) |
void CLogicsComponentLabel::setLabelIOTYpe | ( | ELabelIOType | labelIOType | ) |
void CLogicsComponentLabel::setLabelName | ( | const std::string & | labelName | ) |
|
inherited |
|
staticinherited |
|
staticinherited |
|
static |
|
staticinherited |
|
overridevirtualinherited |
Reimplemented from AbstractLogicsElement.
|
inlinestatic |
|
inlinestatic |
|
inlinestaticinherited |
|
inlinestaticconstexprinherited |
|
inlinestaticinherited |
|
inlinestatic |
|
inlinestaticinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
private |
|
private |
|
private |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |