Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/putil/pipeline.h

Go to the documentation of this file.
00001 // Filename: pipeline.h
00002 // Created by:  drose (21Feb02)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #ifndef PIPELINE_H
00020 #define PIPELINE_H
00021 
00022 #include "pandabase.h"
00023 #include "namable.h"
00024 
00025 ////////////////////////////////////////////////////////////////////
00026 //       Class : Pipeline
00027 // Description : This class manages a staged pipeline of data, for
00028 //               instance the render pipeline, so that each stage of
00029 //               the pipeline can simultaneously access different
00030 //               copies of the same data.  It actually maintains a
00031 //               collection of PipelineCycler objects, and manages the
00032 //               turning of all of them at once.
00033 //
00034 //               There is one default Pipeline object, the render
00035 //               pipeline.  Other specialty pipelines may be created
00036 //               as needed.
00037 ////////////////////////////////////////////////////////////////////
00038 class EXPCL_PANDA Pipeline : public Namable {
00039 public:
00040   Pipeline(const string &name);
00041   virtual ~Pipeline();
00042 
00043   INLINE static Pipeline *get_render_pipeline();
00044 
00045   virtual void cycle();
00046 
00047 private:
00048   static void make_render_pipeline();
00049   static Pipeline *_render_pipeline;
00050 };
00051 
00052 #include "pipeline.I"
00053 
00054 #endif
00055 

Generated on Fri May 2 00:43:41 2003 for Panda by doxygen1.3