CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::GraphConnection Class Reference

#include <CeresEngine/Graph/GraphConnection.hpp>

Inheritance diagram for CeresEngine::GraphConnection:
CeresEngine::RefCounted< GraphConnection >

Public Member Functions

 GraphConnection (GraphSocket &input, GraphSocket &output)
 
void disconnect ()
 
const GraphSocketPtrgetInput () const noexcept
 
const GraphSocketPtrgetOutput () const noexcept
 
- Public Member Functions inherited from CeresEngine::RefCounted< GraphConnection >
 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()> onDisconnect
 

Private Attributes

GraphSocketPtr mInput
 
GraphSocketPtr mOutput
 

Constructor & Destructor Documentation

◆ GraphConnection()

CeresEngine::GraphConnection::GraphConnection ( GraphSocket input,
GraphSocket output 
)
inlineexplicit

Member Function Documentation

◆ disconnect()

void CeresEngine::GraphConnection::disconnect ( )

◆ getInput()

const GraphSocketPtr & CeresEngine::GraphConnection::getInput ( ) const
inlinenoexcept

◆ getOutput()

const GraphSocketPtr & CeresEngine::GraphConnection::getOutput ( ) const
inlinenoexcept

Member Data Documentation

◆ mInput

GraphSocketPtr CeresEngine::GraphConnection::mInput
private

◆ mOutput

GraphSocketPtr CeresEngine::GraphConnection::mOutput
private

◆ onChange

Event<void()> CeresEngine::GraphConnection::onChange

◆ onDisconnect

Event<void()> CeresEngine::GraphConnection::onDisconnect

The documentation for this class was generated from the following file: