14 #ifndef NODEPATHCOMPONENT_H 15 #define NODEPATHCOMPONENT_H 45 int pipeline_stage,
Thread *current_thread);
56 INLINE
bool has_key()
const;
58 bool is_top_node(
int pipeline_stage,
Thread *current_thread)
const;
61 int get_length(
int pipeline_stage,
Thread *current_thread)
const;
63 bool fix_length(
int pipeline_stage,
Thread *current_thread);
65 void output(std::ostream &out)
const;
69 void set_top_node(
int pipeline_stage,
Thread *current_thread);
78 class EXPCL_PANDA_PGRAPH CData :
public CycleData {
81 CData(
const CData ©);
82 ALLOC_DELETED_CHAIN(CData);
85 return NodePathComponent::get_class_type();
95 static void init_type() {
110 static int _next_key;
117 static void init_type() {
118 ReferenceCount::init_type();
120 ReferenceCount::get_class_type());
134 INLINE std::ostream &operator << (std::ostream &out,
const NodePathComponent &comp);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A basic node of the scene graph or data graph.
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.
This class is similar to CycleDataWriter, except it allows writing to a particular stage of the pipel...
A single page of data maintained by a PipelineCycler.
This is the base class for PointerTo and ConstPointerTo.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual TypeHandle get_parent_type() const
Returns the type of the container that owns the CycleData.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This template class calls PipelineCycler::read_unlocked(), and then provides a transparent read-only ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This template class calls PipelineCycler::write() in the constructor and PipelineCycler::release_writ...
This class is similar to CycleDataLockedReader, except it allows reading from a particular stage of t...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class is similar to CycleDataReader, except it allows reading from a particular stage of the pip...
A base class for all things that want to be reference-counted.
A thread; that is, a lightweight process.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is one component of a NodePath.