|
Public Member Functions |
| UINode (UINetwork *_net, std::string _name, std::string _type, double x, double y, bool doInit=1) |
| UINode (UINetwork *_net, xmlNodePtr def, bool doInit=1) |
virtual | ~UINode () |
const std::string & | getName () |
const std::string & | getType () |
UINetwork * | getNetwork () |
virtual void | rename (const std::string &newName) |
virtual void | addTerminal (const std::string &_name, UINetTerminal::NetTermType _type, const std::string &_objType="any", const std::string &_description="No description available") |
virtual void | removeTerminal (const std::string &_name, UINetTerminal::NetTermType _type) |
void | saveXML (xmlNode *root) |
UITerminal * | getInputNamed (std::string n) |
UITerminal * | getOutputNamed (std::string n) |
void | getPos (double &xx, double &yy) |
void | setPos (double new_x, double new_y) |
void | setNodeParameters (UINodeParameters *params) |
void | insertNetParams (std::vector< ItemInfo * > ¶ms) |
void | updateNetParams (std::vector< ItemInfo * > ¶ms) |
virtual void | notifyError (const std::string &message) |
virtual UILink * | newLink (UITerminal *_from, UITerminal *_to) |
virtual UINetTerminal * | newNetTerminal (UITerminal *_terminal, UINetTerminal::NetTermType _type, const std::string &_name, const std::string &_objType="any", const std::string &_description="No description available") |
virtual UINodeParameters * | newNodeParameters (UINode *_node, std::string type) |
virtual void | redraw () |
Node * | build (const ParameterSet ¶ms) |
void | genCode (std::ostream &out, int &id, std::set< std::string > &nodeList) |
std::vector< UITerminal * > | getInputs () |
std::vector< UITerminal * > | getOutputs () |
UINodeParameters * | getParameters () |
std::string | getDescription () |
std::string | getComments () const |
Protected Attributes |
bool | destroyed |
std::string | name |
UINetwork * | net |
std::string | type |
std::string | description |
double | x |
double | y |
double | xtmp |
double | ytmp |
std::vector< UITerminal * > | inputs |
std::vector< UITerminal * > | outputs |
UINodeParameters * | parameters |
Friends |
class | UINetwork |