|
CeresEngine 0.2.0
A game development framework
|
A class that describes the connection between an input and an output slot. More...
#include <CeresEngine/Renderer/RenderGraph/RenderGraphSlot.hpp>
Public Types | |
| enum class | Status { Connected , Disconnected } |
Public Member Functions | |
| Connection (InputSlot &input, OutputSlot &output) | |
| ~Connection () | |
| InputSlot & | getInput () const |
| The slot connected to the input end of the connection. | |
| OutputSlot & | getOutput () const |
| The slot connected to the output end of the connection. | |
| Status | getStatus () const noexcept |
| A value that indicates the connection status. | |
| bool | isConnected () const noexcept |
| bool | isDisconnected () const noexcept |
| void | disconnect () |
| Disconnects the connection. | |
Public Member Functions inherited from CeresEngine::RefCounted< Connection > | |
| 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. | |
Protected Member Functions | |
| void | didConnect () |
| void | didDisconnect () |
Private Attributes | |
| InputSlot & | mInput |
| The slot connected to the input end of the connection. | |
| OutputSlot & | mOutput |
| The slot connected to the output end of the connection. | |
| Status | mStatus = Status::Disconnected |
| A value that indicates the connection status. | |
Friends | |
| class | Slot |
A class that describes the connection between an input and an output slot.
|
inlineexplicit |
| CeresEngine::Connection::~Connection | ( | ) |
|
protected |
|
protected |
| void CeresEngine::Connection::disconnect | ( | ) |
Disconnects the connection.
|
inline |
The slot connected to the input end of the connection.
|
inline |
The slot connected to the output end of the connection.
|
inlinenoexcept |
A value that indicates the connection status.
|
inlinenoexcept |
true if the connection is active.
|
inlinenoexcept |
true if the connection is not active.
|
private |
The slot connected to the input end of the connection.
|
private |
The slot connected to the output end of the connection.
|
private |
A value that indicates the connection status.