![]() |
QElectroTech 0.100.0-dev
|
The RealTerminal class Represent a real terminal. A real terminal can be a drawn terminal in a folio or a terminal set by user but not present on any folio (for example a reserved terminal). More...
#include <realterminal.h>

Public Member Functions | |
| ~RealTerminal () | |
| TerminalStrip * | parentStrip () const noexcept |
| parentStrip | |
| QSharedPointer< PhysicalTerminal > | physicalTerminal () const noexcept |
| RealTerminal::physicalTerminal. | |
| QDomElement | toXml (QDomDocument &parent_document) const |
| toXml | |
| int | level () const |
| RealTerminal::level. | |
| QString | label () const |
| label | |
| QString | Xref () const |
| RealTerminal::Xref. | |
| QString | cable () const |
| RealTerminal::cable. | |
| QString | cableWire () const |
| RealTerminal::cableWire. | |
| QString | conductor () const |
| RealTerminal::conductor. | |
| ElementData::TerminalType | type () const |
| RealTerminal::type. | |
| ElementData::TerminalFunction | function () const |
| RealTerminal::function. | |
| bool | isLed () const |
| RealTerminal::isLed. | |
| bool | isElement () const |
| isElement | |
| bool | isBridged () const |
| RealTerminal::isBridged. | |
| QSharedPointer< TerminalStripBridge > | bridge () const |
| RealTerminal::bridge. | |
| Element * | element () const |
| element | |
| QUuid | elementUuid () const |
| elementUuid | |
Static Public Member Functions | |
| static QString | xmlTagName () |
Private Member Functions | |
| RealTerminal (Element *element) | |
| RealTerminal. | |
| QSharedPointer< RealTerminal > | sharedRef () |
| RealTerminal::sharedRef. | |
| QSharedPointer< RealTerminal > | sharedRef () const |
| RealTerminal::sharedRef. | |
| QWeakPointer< RealTerminal > | weakRef () |
| RealTerminal::weakRef. | |
| void | setPhysicalTerminal (const QSharedPointer< PhysicalTerminal > &phy_t) |
| RealTerminal::setPhysicalTerminal Set the parent physical terminal of this real terminal. | |
Private Attributes | |
| QPointer< Element > | m_element |
| QWeakPointer< RealTerminal > | m_this_weak |
| QSharedPointer< PhysicalTerminal > | m_physical_terminal |
Friends | |
| class | TerminalElement |
| class | PhysicalTerminal |
The RealTerminal class Represent a real terminal. A real terminal can be a drawn terminal in a folio or a terminal set by user but not present on any folio (for example a reserved terminal).
When create a new instance of RealTerminal you must call sharedRef() and only use the returned QSharedPointer instead of the raw pointer
|
private |
| parent_strip | : parent terminal strip |
| terminal | : terminal element (if any) in a folio |
| RealTerminal::~RealTerminal | ( | ) |

| QSharedPointer< TerminalStripBridge > RealTerminal::bridge | ( | ) | const |
| QString RealTerminal::cable | ( | ) | const |
| QString RealTerminal::cableWire | ( | ) | const |
| QString RealTerminal::conductor | ( | ) | const |
| Element * RealTerminal::element | ( | ) | const |
element
| QUuid RealTerminal::elementUuid | ( | ) | const |
elementUuid

| ElementData::TerminalFunction RealTerminal::function | ( | ) | const |
| bool RealTerminal::isBridged | ( | ) | const |

| bool RealTerminal::isElement | ( | ) | const |
isElement
| bool RealTerminal::isLed | ( | ) | const |
| QString RealTerminal::label | ( | ) | const |
label
| int RealTerminal::level | ( | ) | const |
|
noexcept |
parentStrip

|
noexcept |
RealTerminal::physicalTerminal.
|
private |
RealTerminal::setPhysicalTerminal Set the parent physical terminal of this real terminal.
| phy_t |
|
private |


|
private |
| QDomElement RealTerminal::toXml | ( | QDomDocument & | parent_document | ) | const |
toXml
| parent_document |

| ElementData::TerminalType RealTerminal::type | ( | ) | const |
|
private |

|
static |

| QString RealTerminal::Xref | ( | ) | const |

|
friend |
|
friend |
|
private |
|
private |
|
private |