HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PDG_ApplicationShim::Node Class Referenceabstract

#include <PDG_ApplicationShim.h>

Public Member Functions

 Node ()
 
virtual ~Node ()
 
virtual UT_StringHolder iconName () const =0
 Returns the icon name of the application specific node. More...
 
virtual int nodeID () const =0
 Returns a unique id for the application specific node. More...
 
virtual bool hasCooked () const =0
 
virtual bool push (int thread)=0
 
virtual bool pop (int thread)=0
 Pops the application specific active node. More...
 
virtual bool parmEval (const PDG_Port *port, const PDG_WorkItem *work_item, int index, exint &result, int thread, UT_WorkBuffer &errors) const =0
 Evaluates an integer parameter on the node. More...
 
virtual bool parmEval (const PDG_Port *port, const PDG_WorkItem *work_item, int index, fpreal &result, int thread, UT_WorkBuffer &errors) const =0
 Evaluates a float parameter on the node. More...
 
virtual bool parmEval (const PDG_Port *port, const PDG_WorkItem *work_item, int index, bool expand, UT_StringHolder &result, int thread, UT_WorkBuffer &errors) const =0
 Evaluates a string parameter on the node. More...
 
virtual void path (UT_WorkBuffer &buffer) const =0
 Returns the path to the node. More...
 

Detailed Description

Node class for binding a PDG node to an application-specific node, such as a TOP node.

Definition at line 66 of file PDG_ApplicationShim.h.

Constructor & Destructor Documentation

PDG_ApplicationShim::Node::Node ( )
inline

Definition at line 69 of file PDG_ApplicationShim.h.

virtual PDG_ApplicationShim::Node::~Node ( )
inlinevirtual

Definition at line 70 of file PDG_ApplicationShim.h.

Member Function Documentation

virtual bool PDG_ApplicationShim::Node::hasCooked ( ) const
pure virtual

Returns true if the app node has cooked at least once, using its own definition of cooked

virtual UT_StringHolder PDG_ApplicationShim::Node::iconName ( ) const
pure virtual

Returns the icon name of the application specific node.

virtual int PDG_ApplicationShim::Node::nodeID ( ) const
pure virtual

Returns a unique id for the application specific node.

virtual bool PDG_ApplicationShim::Node::parmEval ( const PDG_Port port,
const PDG_WorkItem work_item,
int  index,
exint result,
int  thread,
UT_WorkBuffer errors 
) const
pure virtual

Evaluates an integer parameter on the node.

virtual bool PDG_ApplicationShim::Node::parmEval ( const PDG_Port port,
const PDG_WorkItem work_item,
int  index,
fpreal result,
int  thread,
UT_WorkBuffer errors 
) const
pure virtual

Evaluates a float parameter on the node.

virtual bool PDG_ApplicationShim::Node::parmEval ( const PDG_Port port,
const PDG_WorkItem work_item,
int  index,
bool  expand,
UT_StringHolder result,
int  thread,
UT_WorkBuffer errors 
) const
pure virtual

Evaluates a string parameter on the node.

virtual void PDG_ApplicationShim::Node::path ( UT_WorkBuffer buffer) const
pure virtual

Returns the path to the node.

virtual bool PDG_ApplicationShim::Node::pop ( int  thread)
pure virtual

Pops the application specific active node.

virtual bool PDG_ApplicationShim::Node::push ( int  thread)
pure virtual

Pushes the application specific node as a the active node, for the specified thread


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