Panda3D
Loading...
Searching...
No Matches
pandaNodeChain.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file pandaNodeChain.h
10 * @author drose
11 * @date 2006-04-21
12 */
13
14#ifndef PANDANODECHAIN_H
15#define PANDANODECHAIN_H
16
17#include "pandabase.h"
18#include "linkedListNode.h"
19#include "lightMutex.h"
20
21class PandaNode;
22
23/**
24 * This class maintains a linked list of PandaNodes. It's used to maintain a
25 * list of PandaNodes whose _prev_transform is different from their _transform
26 * (in pipeline stage 0).
27 */
28class EXPCL_PANDA_PGRAPH PandaNodeChain : private LinkedListNode {
29public:
30 INLINE PandaNodeChain(const char *lock_name);
31 INLINE ~PandaNodeChain();
32
33 LightMutex _lock;
34
35 friend class PandaNode;
36};
37
38#include "pandaNodeChain.I"
39
40#endif
This is a standard, non-reentrant mutex, similar to the Mutex class.
Definition lightMutex.h:41
This just stores the pointers to implement a doubly-linked list of some kind of object.
This class maintains a linked list of PandaNodes.
A basic node of the scene graph or data graph.
Definition pandaNode.h:65
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.