|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/Graph/GraphSocket.hpp>
Public Member Functions | |
| GraphSocket (GraphNode &node, const GraphSocketDirection direction, const GraphValueType type) | |
| GraphConnection * | getConnectionTo (GraphSocket &targetSocket) const |
| const Vector< GraphConnectionPtr > & | getConnections () const noexcept |
| GraphConnection * | connectWith (GraphSocket &targetSocket) |
| void | disconnectWith (GraphSocket &targetSocket) |
| GraphConnection * | connectWith (GraphNode &targetNode, StringView targetSocketName) |
| GraphConnection * | disconnectWith (GraphNode &targetNode, StringView targetSocketName) |
| GraphNode & | getNode () const noexcept |
| A reference to the node that owns this socket. | |
| GraphSocketDirection | getDirection () const noexcept |
| Determines the connection direction of the socket. | |
| const GraphSocketFlags & | getFlags () const noexcept |
| A set of user-defined flags that customize behavior of the socket. | |
| void | setFlags (const GraphSocketFlags &flags) |
| A set of user-defined flags that customize behavior of the socket. | |
| GraphValueType | getType () const noexcept |
| Determines the type of this socket. | |
Public Member Functions inherited from CeresEngine::RefCounted< GraphSocket > | |
| RefCounted (Args &&... args) | |
Creates a new RefCounted object and constructs a new Deleter by forwarding Args to it. | |
| void | retain () noexcept |
| Retains the object by increment it's reference count by one. | |
| bool | release () noexcept |
| Relases the object by decrementing it's reference count by one. | |
Public Attributes | |
| Event< void()> | onChange |
| Event< void(GraphConnection &)> | onConnect |
| Event< void(GraphConnection &)> | onDisconnect |
Private Attributes | |
| GraphNode & | mNode |
| A reference to the node that owns this socket. | |
| GraphSocketDirection | mDirection |
| Determines the connection direction of the socket. | |
| GraphValueType | mType |
| Determines the type of this socket. | |
| GraphSocketFlags | mFlags |
| A set of user-defined flags that customize behavior of the socket. | |
| Vector< GraphConnectionPtr > | mConnections |
| A vector of all connections on this socket. | |
|
inlineexplicit |
| GraphConnection * CeresEngine::GraphSocket::connectWith | ( | GraphNode & | targetNode, |
| StringView | targetSocketName | ||
| ) |
| GraphConnection * CeresEngine::GraphSocket::connectWith | ( | GraphSocket & | targetSocket | ) |
| GraphConnection * CeresEngine::GraphSocket::disconnectWith | ( | GraphNode & | targetNode, |
| StringView | targetSocketName | ||
| ) |
| void CeresEngine::GraphSocket::disconnectWith | ( | GraphSocket & | targetSocket | ) |
|
inlinenoexcept |
| GraphConnection * CeresEngine::GraphSocket::getConnectionTo | ( | GraphSocket & | targetSocket | ) | const |
|
inlinenoexcept |
Determines the connection direction of the socket.
|
inlinenoexcept |
A set of user-defined flags that customize behavior of the socket.
|
inlinenoexcept |
A reference to the node that owns this socket.
|
inlinenoexcept |
Determines the type of this socket.
| void CeresEngine::GraphSocket::setFlags | ( | const GraphSocketFlags & | flags | ) |
A set of user-defined flags that customize behavior of the socket.
|
private |
A vector of all connections on this socket.
|
private |
Determines the connection direction of the socket.
|
private |
A set of user-defined flags that customize behavior of the socket.
|
private |
A reference to the node that owns this socket.
|
private |
Determines the type of this socket.
| Event<void(GraphConnection&)> CeresEngine::GraphSocket::onConnect |
| Event<void(GraphConnection&)> CeresEngine::GraphSocket::onDisconnect |