TuttleOFX
1
|
An utility class to use as function argument. It allows to create a list of nodes from multiple inputs. More...
#include <NodeListArg.hpp>
Public Member Functions | |
NodeListArg () | |
NodeListArg (const std::list< std::string > &nodes) | |
NodeListArg (const std::list< INode * > &nodes) | |
NodeListArg (const std::string &node) | |
NodeListArg (const INode &node) | |
const std::list< std::string > & | getNodes () const |
Private Attributes | |
std::list< std::string > | _nodes |
An utility class to use as function argument. It allows to create a list of nodes from multiple inputs.
All constructors are not "explicit", so we could automatically convert the input inside when we use it as a function argument.
Definition at line 18 of file NodeListArg.hpp.
tuttle::host::NodeListArg::NodeListArg | ( | ) | [inline] |
Definition at line 21 of file NodeListArg.hpp.
tuttle::host::NodeListArg::NodeListArg | ( | const std::list< std::string > & | nodes | ) | [inline] |
Definition at line 23 of file NodeListArg.hpp.
tuttle::host::NodeListArg::NodeListArg | ( | const std::list< INode * > & | nodes | ) |
Definition at line 9 of file NodeListArg.cpp.
References _nodes, and tuttle::host::INode::getName().
tuttle::host::NodeListArg::NodeListArg | ( | const std::string & | node | ) | [inline] |
Definition at line 28 of file NodeListArg.hpp.
References _nodes.
tuttle::host::NodeListArg::NodeListArg | ( | const INode & | node | ) |
Definition at line 17 of file NodeListArg.cpp.
References _nodes, and tuttle::host::INode::getName().
const std::list<std::string>& tuttle::host::NodeListArg::getNodes | ( | ) | const [inline] |
Definition at line 35 of file NodeListArg.hpp.
References _nodes.
Referenced by tuttle::host::ThreadEnv::compute(), tuttle::host::Graph::compute(), tuttle::host::Graph::computeGlobalHashAtTime(), and tuttle::host::Graph::setupAtTime().
std::list<std::string> tuttle::host::NodeListArg::_nodes [private] |
Definition at line 38 of file NodeListArg.hpp.
Referenced by getNodes(), and NodeListArg().