![]()  | 
  
    PeriDyno 1.2.1
    
   | 
 
#include <WtNode.h>

Public Types | |
| enum | ReactToConnectionState { REACTING , NOT_REACTING } | 
| using | ConnectionPtrSet = std::unordered_map<Wt::Guid, WtConnection*> | 
Public Member Functions | |
| WtNodeState (std::unique_ptr< WtNodeDataModel > const &model) | |
| std::vector< ConnectionPtrSet > const & | getEntries (PortType) const | 
| std::vector< ConnectionPtrSet > & | getEntries (PortType) | 
| ConnectionPtrSet | connections (PortType portType, PortIndex portIndex) const | 
| void | setConnection (PortType portType, PortIndex portIndex, WtConnection &connection) | 
| void | eraseConnection (PortType portType, PortIndex portIndex, Wt::Guid id) | 
| ReactToConnectionState | reaction () const | 
| PortType | reactingPortType () const | 
| NodeDataType | reactingDataType () const | 
| void | setReaction (ReactToConnectionState reaction, PortType reactingPortType=PortType::None, NodeDataType reactingDataType=NodeDataType()) | 
| bool | isReacting () const | 
| void | setResizing (bool resizing) | 
| bool | resizing () const | 
Private Attributes | |
| std::vector< ConnectionPtrSet > | _inConnections | 
| std::vector< ConnectionPtrSet > | _outConnections | 
| ReactToConnectionState | _reaction | 
| PortType | _reactingPortType | 
| NodeDataType | _reactingDataType | 
| bool | _resizing | 
| using WtNodeState::ConnectionPtrSet = std::unordered_map<Wt::Guid, WtConnection*> | 
| WtNodeState::WtNodeState | ( | std::unique_ptr< WtNodeDataModel > const & | model | ) | 
Definition at line 574 of file WtNode.cpp.
| WtNodeState::ConnectionPtrSet WtNodeState::connections | ( | PortType | portType, | 
| PortIndex | portIndex ) const | 
Definition at line 598 of file WtNode.cpp.


| std::vector< WtNodeState::ConnectionPtrSet > & WtNodeState::getEntries | ( | PortType | portType | ) | 
Definition at line 590 of file WtNode.cpp.
| std::vector< WtNodeState::ConnectionPtrSet > const & WtNodeState::getEntries | ( | PortType | portType | ) | const | 
Returns vector of connections ID. Some of them can be empty (null)
Definition at line 582 of file WtNode.cpp.

| bool WtNodeState::isReacting | ( | ) | const | 
| NodeDataType WtNodeState::reactingDataType | ( | ) | const | 
| PortType WtNodeState::reactingPortType | ( | ) | const | 
| WtNodeState::ReactToConnectionState WtNodeState::reaction | ( | ) | const | 
| bool WtNodeState::resizing | ( | ) | const | 
| void WtNodeState::setConnection | ( | PortType | portType, | 
| PortIndex | portIndex, | ||
| WtConnection & | connection ) | 
Definition at line 605 of file WtNode.cpp.


| void WtNodeState::setReaction | ( | ReactToConnectionState | reaction, | 
| PortType | reactingPortType = PortType::None, | ||
| NodeDataType | reactingDataType = NodeDataType() ) | 
| void WtNodeState::setResizing | ( | bool | resizing | ) | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |