Cortex
10.0.0-a4
|
#include <NodeHandle.h>
Public Member Functions | |
NodeHandle (const OP_Node *node) | |
bool | alive () const |
Returns True if the OP_Node represented by this handle is still alive. | |
OP_Node * | node () const |
Returns a pointer to the OP_Node represented by this handle, or 0 if alive is false. | |
The NodeHandle is a class that may be used to verify the existence of an OP_Node. Use a NodeHandle if you want a raw pointer to an OP_Node, but are concerned about the lifespan of that OP_Node.