14 #ifndef ATTRIBNODEREGISTRY_H 15 #define ATTRIBNODEREGISTRY_H 38 void add_node(
const NodePath &attrib_node);
39 bool remove_node(
const NodePath &attrib_node);
42 int get_num_nodes()
const;
44 MAKE_SEQ(get_nodes, get_num_nodes, get_node);
46 std::string get_node_name(
int n)
const;
48 int find_node(
const NodePath &attrib_node)
const;
49 int find_node(
TypeHandle type,
const std::string &name)
const;
50 void remove_node(
int n);
53 void output(std::ostream &out)
const;
54 void write(std::ostream &out)
const;
59 static void make_global_ptr();
64 INLINE Entry(
TypeHandle type,
const std::string &name);
65 INLINE
bool operator < (
const Entry &other)
const;
This global object records NodePaths that are referenced by scene graph attribs, such as ClipPlaneAtt...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...