#include <AbstractLogicsElement.hpp>
|
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 |
|
◆ TId
◆ TIndex
◆ TMapDrawingModePartsDrawingMode
◆ TMapIndexPartType
◆ TMapPartTypeDrawingMode
◆ TPairIndexPartType
◆ TPosition2d
◆ TTupleDrawingMode
◆ EMarkMode
Enumeration defining the different modes to mark a logic element or a part of a logic element.
◆ EPartType
Enumeration defining the types of parts a logic element can be made of.
Enumerator |
---|
MainShape | |
MainText | |
SubText1 | |
SubText2 | |
SubText3 | |
◆ EStandOutMode
Enumeration defining the different modes to stand out a logic element or a part of a logic element.
Enumerator |
---|
Highlighted | |
Warning | |
None | |
◆ AbstractLogicsElement() [1/5]
◆ AbstractLogicsElement() [2/5]
◆ AbstractLogicsElement() [3/5]
AbstractLogicsElement::AbstractLogicsElement |
( |
| ) |
|
|
delete |
◆ ~AbstractLogicsElement()
AbstractLogicsElement::~AbstractLogicsElement |
( |
| ) |
|
|
overridedefault |
◆ AbstractLogicsElement() [4/5]
◆ AbstractLogicsElement() [5/5]
◆ addListenerClick()
◆ addListenerEnter()
◆ addListenerLeave()
◆ addListenerMove()
◆ enumLogicsElementType()
◆ getCanvasItem() [1/2]
◆ getCanvasItem() [2/2]
const ICanvasItem * AbstractCanvasItem::getCanvasItem |
( |
| ) |
const |
|
nodiscardinherited |
◆ getCurrentDrawingMode()
◆ getDefaultSize()
std::optional< iv::types::Size > AbstractLogicsElement::getDefaultSize |
( |
| ) |
const |
|
virtual |
◆ getDescriptiveText()
std::string AbstractLogicsElement::getDescriptiveText |
( |
| ) |
const |
|
nodiscardvirtual |
◆ getElementName()
const std::string & AbstractLogicsElement::getElementName |
( |
| ) |
const |
|
nodiscard |
◆ getElementType()
◆ getGlobalPosition2d()
◆ getId()
◆ getLinkedItems()
std::vector< std::shared_ptr< AbstractCanvasItem > > AbstractLogicsElement::getLinkedItems |
( |
| ) |
|
|
overridevirtual |
◆ getMainText()
std::string AbstractLogicsElement::getMainText |
( |
| ) |
const |
|
nodiscardvirtual |
◆ getRedrawFlag()
bool AbstractCanvasItem::getRedrawFlag |
( |
| ) |
const |
|
nodiscardinherited |
◆ maxText()
std::string AbstractLogicsElement::maxText |
( |
| ) |
const |
|
nodiscardvirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ read()
Implements AbstractCanvasItem.
Reimplemented in CLogicsComponent, CLogicsComponentChannel, CLogicsComponentConstant, CLogicsComponentExec, CLogicsComponentLabel, CLogicsComponentLibrary, CLogicsComponentLibraryInOutBlock, CLogicsComponentOthers, CLogicsConnection, CLogicsConnectionPoint, iv::logic::component::LogicRectangle, iv::logic::component::LogicText, and LogicComponentBroadCastChannel.
◆ readLogicsElementType()
◆ resetLinkedItems()
void AbstractLogicsElement::resetLinkedItems |
( |
| ) |
|
|
overridevirtual |
◆ runListenersClick()
◆ runListenersEnter()
void AbstractCanvasItem::runListenersEnter |
( |
| ) |
|
|
inherited |
◆ runListenersLeave()
void AbstractCanvasItem::runListenersLeave |
( |
| ) |
|
|
inherited |
◆ runListenersMove()
◆ save()
Implements AbstractCanvasItem.
Reimplemented in CLogicsComponent, CLogicsComponentChannel, CLogicsComponentConstant, CLogicsComponentExec, CLogicsComponentLabel, CLogicsComponentLibrary, CLogicsComponentLibraryInOutBlock, CLogicsComponentOthers, CLogicsConnection, CLogicsConnectionPoint, iv::logic::component::LogicRectangle, iv::logic::component::LogicText, and LogicComponentBroadCastChannel.
◆ setCanvasItem()
void AbstractCanvasItem::setCanvasItem |
( |
ICanvasItem * | canvasItem | ) |
|
|
inherited |
◆ setCurrentMarkMode()
void AbstractCanvasItem::setCurrentMarkMode |
( |
EMarkMode | markMode | ) |
|
|
inherited |
◆ setCurrentStandoutMode()
void AbstractCanvasItem::setCurrentStandoutMode |
( |
EStandOutMode | standoutMode | ) |
|
|
inherited |
◆ setGlobalPosition2d()
void AbstractCanvasItem::setGlobalPosition2d |
( |
const TPosition2d & | position2d | ) |
|
|
inherited |
◆ setId()
void AbstractCanvasItem::setId |
( |
TId | id | ) |
|
|
inherited |
◆ setRedrawFlag()
void AbstractCanvasItem::setRedrawFlag |
( |
bool | redraw | ) |
|
|
inherited |
◆ strLogicsElementType()
◆ updateLinkedItems()
void AbstractLogicsElement::updateLinkedItems |
( |
| ) |
|
|
overridevirtual |
◆ kInvalidCanvasItemId
const TId AbstractCanvasItem::kInvalidCanvasItemId = 0 |
|
inlinestaticinherited |
◆ kPrvKeySectionLogicsElementData
std::string_view AbstractLogicsElement::kPrvKeySectionLogicsElementData = "LogicsElementData" |
|
inlinestaticconstexpr |
◆ kStartingCanvasItemId
const TId AbstractCanvasItem::kStartingCanvasItemId = 1 |
|
inlinestaticinherited |
◆ kZeroPosition
const TPosition2d AbstractCanvasItem::kZeroPosition = {0., 0.} |
|
inlinestaticinherited |
◆ m_canvasItem
◆ m_currentDrawingMode
◆ m_globalPosition2d
◆ m_id
TId AbstractCanvasItem::m_id |
|
privateinherited |
◆ m_listenersItemClick
◆ m_listenersItemEnter
◆ m_listenersItemLeave
◆ m_listenersItemMove
◆ m_logicsElementType
◆ m_name
std::string AbstractLogicsElement::m_name |
|
private |
◆ m_redrawFlag
bool AbstractCanvasItem::m_redrawFlag |
|
privateinherited |
The documentation for this class was generated from the following files: