Panda3D
panda
src
pgraph
pandaNodeChain.I
1
// Filename: pandaNodeChain.I
2
// Created by: drose (21Apr06)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
16
////////////////////////////////////////////////////////////////////
17
// Function: PandaNodeChain::Constructor
18
// Access: Public
19
// Description:
20
////////////////////////////////////////////////////////////////////
21
INLINE PandaNodeChain::
22
PandaNodeChain(
const
char
*lock_name) :
23
LinkedListNode
(true),
// This object is the root of a list of PandaNodes.
24
_lock(lock_name)
25
{
26
}
27
28
////////////////////////////////////////////////////////////////////
29
// Function: PandaNodeChain::Destructor
30
// Access: Public
31
// Description:
32
////////////////////////////////////////////////////////////////////
33
INLINE PandaNodeChain::
34
~PandaNodeChain() {
35
_next = NULL;
36
_prev = NULL;
37
}
LinkedListNode
This just stores the pointers to implement a doubly-linked list of some kind of object.
Definition:
linkedListNode.h:35
Generated on Wed May 17 2017 23:44:47 for Panda3D by
1.8.13