Skip to content

Workspace::DataOutPinScreen

#include "GUI/Workspace/Nodes/Basic/CorePins.h"

Inherits from Workspace::DataOutPin, Workspace::CoreOutPin, Workspace::CorePin, DIWNE::Pin, DIWNE::DiwneObject, std::enable_shared_from_this< DiwneObject >

Public Functions

Name
DataOutPinScreen(DIWNE::Diwne & diwne, DIWNE::ID const id, Core::Pin const & pin, CoreNode & node)
virtual booldrawData() override
virtual intmaxLengthOfData() override

Additional inherited members

Public Functions inherited from Workspace::DataOutPin

Name
DataOutPin(DIWNE::Diwne & diwne, DIWNE::ID const id, Core::Pin const & pin, CoreNode & node)
virtual boolcontent() override<br>draw data, label, and pin

Public Functions inherited from Workspace::CoreOutPin

Name
CoreOutPin(DIWNE::Diwne & diwne, DIWNE::ID const id, Core::Pin const & pin, CoreNode & node)
virtual boolcontent() override<br>Draw the output Pin: label and icon [float >].
virtual voidupdateConnectionPointDiwne() override

Public Functions inherited from Workspace::CorePin

Name
CorePin(DIWNE::Diwne & diwne, DIWNE::ID const id, Core::Pin const & pin, CoreNode & node)
virtual boolbypassFocusForInteractionAction() override
virtual boolcontent() override<br>Draw the pin icon.
Core::Pin const &getCorePin() const
intgetIndex() const
PinKindgetKind() const
CoreNode &getNode()
const CoreNode &getNode() const
Core::EValueTypegetType() const
boolisConnected() const
virtual voidpopupContent() override<br>Content of popup menu raise on this object.
virtual boolprocessConnectionPrepared() override
virtual boolprocessDrag() override

Public Attributes inherited from Workspace::CorePin

Name
DIWNE::IconTypem_iconType

Protected Attributes inherited from Workspace::CorePin

Name
ImRectm_iconRectDiwne
CoreNode &m_node
Core::Pin const &m_pin

Public Functions inherited from DIWNE::Pin

Name
Pin(DIWNE::Diwne & diwne, DIWNE::ID id, std::string const labelDiwne ="DiwnePin")<br>Default constructor.
virtual~Pin()<br>Default destructor.
virtual boolallowProcessPin_Pre_ConnectLink()
virtual voidbegin() override
virtual boolbypassPinLinkConnectionPreparedAction()
virtual boolcontent()
virtual voidend() override
virtual DIWNE::DiwneActiongetDragActionType() const
virtual DIWNE::DiwneActiongetHoldActionType() const
DIWNE::ID constgetId() const
virtual const ImVec2 &getLinkConnectionPointDiwne()
virtual ImRectgetRectDiwne() const override
virtual DIWNE::DiwneActiongetTouchActionType() const
virtual boolprocessConnectionPrepared()
virtual boolprocessDrag() override
virtual boolprocessInteractionsAlways() override
virtual boolprocessPin_Pre_ConnectLinkDiwne()<br>Wrapper is run when new link is created and goal pin is hovered but action not released yet.
virtual voidsetConnectionPointDiwne(const ImVec2 value)
virtual voidupdateSizes() override

Protected Functions inherited from DIWNE::Pin

Name
virtual voidupdateConnectionPointDiwne()

Protected Attributes inherited from DIWNE::Pin

Name
ImVec2m_connectionPointDiwne
ImRectm_pinRectDiwne <br>PIN bounding rectangle.

Public Functions inherited from DIWNE::DiwneObject

Name
DiwneObject(DIWNE::Diwne & diwne, DIWNE::ID id, std::string const labelDiwne)<br>Constructor.
virtual~DiwneObject() =default
virtual boolafterContent()
virtual boolafterContentDiwne()
virtual boolafterEnd()
virtual boolafterEndDiwne()
virtual boolallowDrawing()<br>Decision maker whether object should be drawn (not outside of window for example)
virtual boolallowInteraction()<br>Decision maker whether object can interact (not include content elements)
virtual boolallowProcessDrag()
virtual boolallowProcessFocused()
virtual boolallowProcessFocusedForInteraction()
virtual boolallowProcessHold()
virtual boolallowProcessRaisePopup()
virtual boolallowProcessSelect()
virtual boolallowProcessUnhold()
virtual boolallowProcessUnselect()
virtual boolbeforeBegin()
virtual boolbeforeBeginDiwne()
virtual boolbeforeContent()
virtual boolbeforeContentDiwne()
virtual voidbegin() =0
virtual boolbypassDragAction()
virtual boolbypassFocusAction()
virtual boolbypassFocusForInteractionAction()
virtual boolbypassHoldAction()
virtual boolbypassRaisePopupAction()
virtual boolbypassSelectAction()
virtual boolbypassTouchAction()
virtual boolbypassUnholdAction()
virtual boolbypassUnselectAction()
virtual boolcontent()
virtual boolcontentDiwne()
virtual booldrawDiwne(DrawMode drawMode =DrawMode::Interacting)<br>Main function for drawing object and deal with interactions.
virtual voidend() =0
virtual boolfinalize()
virtual boolfinalizeDiwne()
virtual DIWNE::DiwneActiongetDragActionType() const =0
virtual DIWNE::DiwneActiongetHoldActionType() const =0
DIWNE::ID constgetIdDiwne() const
virtual ImRectgetRectDiwne() const =0
virtual boolgetSelectable()
virtual boolgetSelected() const<br>Getter of selection state.
virtual DIWNE::DiwneActiongetTouchActionType() const =0
virtual boolinitialize()
virtual boolinitializeDiwne()
virtual boolinteractionBeginInLastDraw()
virtual boolinteractionEndInLastDraw()
virtual voidpopupContent()<br>Content of popup menu raise on this object.
virtual boolprocessDrag()
boolprocessDragDiwne()
virtual boolprocessFocused()
boolprocessFocusedDiwne()
virtual boolprocessFocusedForInteraction()
boolprocessFocusedForInteractionDiwne()
virtual boolprocessHold()
boolprocessHoldDiwne()
virtual boolprocessInteractions()
virtual boolprocessInteractionsAlways()
virtual boolprocessInteractionsDiwne()
virtual boolprocessRaisePopupDiwne()
virtual boolprocessSelect()
boolprocessSelectDiwne()
virtual boolprocessShowPopupDiwne()
virtual boolprocessUnhold()
boolprocessUnholdDiwne()
virtual boolprocessUnselect()
boolprocessUnselectDiwne()
virtual voidsetSelectable(bool const selectable)
virtual boolsetSelected(bool const selected)
voidshowTooltipLabel(std::string const & label, ImColor const && color)<br>Show a colored text for example for immediate hints.
virtual voidupdateSizes()

Public Attributes inherited from DIWNE::DiwneObject

Name
DIWNE::Diwne &diwne
DrawModem_drawMode
boolm_focused
boolm_focusedForInteraction
DIWNE::ID constm_idDiwne
boolm_inner_interaction_happen
boolm_inner_interaction_happen_previous_draw
boolm_isActive
boolm_isDragged
boolm_isHeld
std::string constm_labelDiwne
std::string constm_popupIDDiwne
boolm_selectable
boolm_selected

Public Functions Documentation

function DataOutPinScreen

cpp
DataOutPinScreen(
    DIWNE::Diwne & diwne,
    DIWNE::ID const id,
    Core::Pin const & pin,
    CoreNode & node
)
DataOutPinScreen(
    DIWNE::Diwne & diwne,
    DIWNE::ID const id,
    Core::Pin const & pin,
    CoreNode & node
)

function drawData

cpp
virtual bool drawData() override
virtual bool drawData() override

Reimplements: Workspace::DataOutPin::drawData

function maxLengthOfData

cpp
virtual int maxLengthOfData() override
virtual int maxLengthOfData() override

Reimplements: Workspace::DataOutPin::maxLengthOfData


Updated on 2024-11-06 at 20:16:53 +0000