15 #ifndef ATTRIBNODEREGISTRY_H 16 #define ATTRIBNODEREGISTRY_H 18 #include "pandabase.h" 20 #include "ordered_vector.h" 21 #include "lightMutex.h" 43 void add_node(
const NodePath &attrib_node);
44 bool remove_node(
const NodePath &attrib_node);
47 int get_num_nodes()
const;
49 MAKE_SEQ(get_nodes, get_num_nodes, get_node);
51 string get_node_name(
int n)
const;
53 int find_node(
const NodePath &attrib_node)
const;
54 int find_node(
TypeHandle type,
const string &name)
const;
55 void remove_node(
int n);
58 void output(ostream &out)
const;
59 void write(ostream &out)
const;
64 static void make_global_ptr();
69 INLINE Entry(
TypeHandle type,
const string &name);
70 INLINE
bool operator < (
const Entry &other)
const;
85 #include "attribNodeRegistry.I" This global object records NodePaths that are referenced by scene graph attribs, such as ClipPlaneAtt...
TypeHandle is the identifier used to differentiate C++ class types.
This is a standard, non-reentrant mutex, similar to the Mutex class.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...