SGCT master (487fac4)
Simple Graphics Cluster Toolkit
Loading...
Searching...
No Matches
sgct::Node Class Reference

#include <sgct/node.h>

Public Member Functions

 Node (const config::Node &node, bool initializeWindows)
 Node (const Node &)=delete
 Node (Node &&)=default
Node & operator= (const Node &)=delete
Node & operator= (Node &&)=delete
void addWindow (std::unique_ptr< Window > window)
 Add a window to this node.
bool closeAllWindows ()
 Check if all windows are set to close and close them.
bool isUsingSwapGroups () const
 Is this node using nvidia swap groups for its windows?
const std::vector< std::unique_ptr< Window > > & windows () const
const std::string & address () const
int syncPort () const
int dataTransferPort () const

Constructor & Destructor Documentation

◆ Node() [1/3]

sgct::Node::Node ( const config::Node & node,
bool initializeWindows )

◆ Node() [2/3]

sgct::Node::Node ( const Node & )
delete

◆ Node() [3/3]

sgct::Node::Node ( Node && )
default

Member Function Documentation

◆ address()

const std::string & sgct::Node::address ( ) const
Returns
The address of this node

◆ addWindow()

void sgct::Node::addWindow ( std::unique_ptr< Window > window)

Add a window to this node.

◆ closeAllWindows()

bool sgct::Node::closeAllWindows ( )

Check if all windows are set to close and close them.

◆ dataTransferPort()

int sgct::Node::dataTransferPort ( ) const
Returns
The data transfer port of this node

◆ isUsingSwapGroups()

bool sgct::Node::isUsingSwapGroups ( ) const

Is this node using nvidia swap groups for its windows?

◆ operator=() [1/2]

Node & sgct::Node::operator= ( const Node & )
delete

◆ operator=() [2/2]

Node & sgct::Node::operator= ( Node && )
delete

◆ syncPort()

int sgct::Node::syncPort ( ) const
Returns
The sync port of this node

◆ windows()

const std::vector< std::unique_ptr< Window > > & sgct::Node::windows ( ) const

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