Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <CLogicsConnection.hpp>
Public Types | |
typedef std::pair< AbstractCanvasItem::TId, AbstractCanvasItem::TId > | TConnPointsIds |
typedef std::pair< std::weak_ptr< CLogicsConnectionPoint >, std::weak_ptr< CLogicsConnectionPoint > > | TConnPointsRefs |
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 Member Functions | |
static iv::logic::eLogicsElementType | enumLogicsElementType (const std::string &strType) |
static std::string | strLogicsElementType (iv::logic::eLogicsElementType type) |
static iv::logic::eLogicsElementType | readLogicsElementType (const iv::file::xml::node &node) |
Static Public Attributes | |
static const TConnPointsIds | kInvalidConnPointsIds |
static const TConnPointsRefs | kNullConnPointsRefs = {{}, {}} |
static constexpr std::string_view | kPrvKeySectionLogicsElementData = "LogicsElementData" |
static const TId | kInvalidCanvasItemId = 0 |
static const TId | kStartingCanvasItemId = 1 |
static const TPosition2d | kZeroPosition = {0., 0.} |
Private Attributes | |
TConnPointsIds | m_connPointsIds |
TConnPointsRefs | m_connPointsRefs |
std::string | m_pathData |
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 holding two connection points references, which are the base of its existence.
std::pair<std::weak_ptr<CLogicsConnectionPoint>, std::weak_ptr<CLogicsConnectionPoint> > CLogicsConnection::TConnPointsRefs |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
stronginherited |
|
stronginherited |
|
stronginherited |
CLogicsConnection::CLogicsConnection | ( | ) |
|
explicit |
CLogicsConnection::CLogicsConnection | ( | AbstractCanvasItem::TId | id, |
const TConnPointsRefs & | connPointsRefs ) |
|
overridedefault |
|
delete |
|
delete |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
staticinherited |
|
inherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
virtualinherited |
Reimplemented in iv::logic::component::LogicRectangle.
|
nodiscardvirtualinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
overridevirtualinherited |
Implements AbstractCanvasItem.
Reimplemented in CLogicsComponent, and CLogicsConnectionPoint.
|
nodiscardvirtualinherited |
Reimplemented in CLogicsComponentChannel, and iv::logic::component::LogicText.
|
nodiscard |
|
nodiscardinherited |
|
nodiscardvirtualinherited |
|
delete |
|
delete |
|
overridevirtual |
Reimplemented from AbstractLogicsElement.
|
staticinherited |
|
overridevirtual |
Reimplemented from AbstractLogicsElement.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
overridevirtual |
Reimplemented from AbstractLogicsElement.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
staticinherited |
|
overridevirtualinherited |
Implements AbstractCanvasItem.
Reimplemented in CLogicsComponent, and CLogicsConnectionPoint.
void CLogicsConnection::updatePathData | ( | ) |
|
inlinestaticinherited |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticconstexprinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
privateinherited |
|
private |
|
private |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
private |
|
privateinherited |