#include <Node.h>
Inheritance diagram for FD::Node:
Public Member Functions | |
Node (std::string nodeName, const ParameterSet ¶ms) | |
virtual | ~Node () |
virtual ObjectRef | getOutput (int output_id, int count)=0 |
virtual ObjectRef | getOutputNamed (const std::string &outputName, int count) |
virtual void | connectToNode (std::string in, Node *inputNode, std::string out) |
virtual void | initialize () |
virtual bool | hasOutput (int output_id) const |
ObjectRef | getInput (int inputID, int count) |
virtual void | stop () |
virtual void | cleanupNotify () |
virtual void | reset () |
std::string | getName () |
virtual void | request (int outputID, const ParameterSet &req) |
virtual void | verifyConnect () |
void | printOn (std::ostream &out=std::cout) const |
void | setUINode (UINode *_uinode) |
Static Public Member Functions | |
static int | addFactory (const std::string &factoryName, _NodeFactory *const factory) |
static int | addXPM (const std::string &nodeName, char **XPMData) |
static char ** | getXPM (const std::string &nodeName) |
static _NodeFactory * | getFactoryNamed (const std::string &name) |
static std::map< std::string, _NodeFactory * > & | factoryDictionary () |
static std::vector< std::string > & | nodeInfo () |
static std::map< std::string, char ** > & | XPMDictionary () |
static int | addNodeInfo (const std::string &info) |
Protected Member Functions | |
virtual void | connectToNode (unsigned int in, Node *inputNode, unsigned int out) |
virtual int | addOutput (const std::string &outputName) |
virtual int | addInput (const std::string &inputName) |
virtual std::vector< NodeInput > & | getInputs () |
Node () | |
virtual int | translateInput (std::string inputName) |
virtual int | translateOutput (std::string inputName) |
virtual void | rt_assert (bool cond, std::string message="", char *_file="unknown", int _line=0) |
virtual void | construct_assert (bool cond, std::string message="", char *_file="unknown", int _line=0) |
virtual void | throw_error (bool send_ptr, std::string message, char *_file, int _line) |
Protected Attributes | |
std::string | name |
std::vector< NodeInput > | inputs |
std::vector< std::string > | outputNames |
ParameterSet | parameters |
UINode * | uinode |
Friends | |
class | Network |
class | Iterator |
|
Constructor, takes the name of the node and a set of parameters |
|
Destructor |
|
Default constructor, should not be used |
|
Adding a factory into the static dictionary |
|
Adding an input to a node Reimplemented in FD::BufferedNode, and FD::InputTranslator. |
|
Routine to add info for a node |
|
Adding an output to a node Reimplemented in FD::BufferedNode. |
|
Adding a XPM representation into the XPM dictionary |
|
Notify the node that is will be destroyed shortly Reimplemented in FD::Network. |
|
Connect an input node using symbolic (strings) input/output names Reimplemented in FD::Iterator, and FD::Network. |
|
Connect an input node using numeric (integer) input/output names Reimplemented in FD::Iterator, and FD::Network. |
|
Construct-time assertions |
|
The node instance factory |
|
The factory lookup function |
|
Returns the inputs vector Reimplemented in FD::Network. |
|
Returns the node name Reimplemented in FD::Network. |
|
Ask for the node's output which ID (number) is output_id and for the 'count' iteration Implemented in FD::BufferedNode, FD::Constant, FD::InputTranslator, FD::Iterator, and FD::Network. |
|
Ask for the node's output (named) and for the count iteration |
|
Get the XPM representation from the XPM dictionary |
|
Checks whether node really has a certain output Reimplemented in FD::InputTranslator, and FD::Network. |
|
Initialize a node Reimplemented in FD::BufferedNode, FD::Constant, FD::Iterator, and FD::Network. |
|
The node information map |
|
A node can print itself Implements FD::Object. |
|
Standard request-passing method between nodes during initialization Reimplemented in FD::BufferedNode, FD::InputTranslator, FD::Iterator, and FD::Network. |
|
Resets the node internal values and buffers Reimplemented in FD::BufferedNode, FD::Constant, FD::Iterator, and FD::Network. |
|
Run-time assertions |
|
Asks the node to stop what it is doing to allow processing termination Reimplemented in FD::Iterator, and FD::Network. |
|
Error with the node |
|
symbolic to numeric translation for input names Reimplemented in FD::InputTranslator, and FD::Network. |
|
symbolic to numeric translation for output names Reimplemented in FD::InputTranslator, and FD::Network. |
|
Verify input connections for the node Reimplemented in FD::Network. |
|
The node visual representation map (XPM) |
|
A network can have access to private members of Node |
|
Node's inputs |
|
Node's name |
|
Node's outputs |
|
Parameters given to the node at construction time |
|
Corresponding UINode |