Panda3D
pipelineCyclerBase.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 pipelineCyclerBase.h
10  * @author drose
11  * @date 2002-02-21
12  */
13 
14 #ifndef PIPELINECYCLERBASE_H
15 #define PIPELINECYCLERBASE_H
16 
17 #include "pandabase.h"
18 #include "selectThreadImpl.h" // for THREADED_PIPELINE definition
19 
20 #if defined(THREADED_PIPELINE)
21 
22 // With DO_PIPELINING and threads available, we want the true cycler
23 // implementation.
24 #include "pipelineCyclerTrueImpl.h"
25 typedef PipelineCyclerTrueImpl PipelineCyclerBase;
26 
27 #elif defined(DO_PIPELINING)
28 
29 // With DO_PIPELINING but no threads available, we want the dummy, self-
30 // validating cycler implementation.
32 typedef PipelineCyclerDummyImpl PipelineCyclerBase;
33 
34 #else // !DO_PIPELINING
35 
36 // Without DO_PIPELINING, we only want the trivial, do-nothing implementation.
39 
40 #endif // DO_PIPELINING
41 
42 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the trivial, non-threaded implementation of PipelineCyclerBase.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.