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

SceneFilterInterface.h

Go to the documentation of this file.
00001 //------------------------------------------------------------------------------
00002 // Lamp : Open source game middleware
00003 // Copyright (C) 2004  Junpei Ohtani ( Email : junpee@users.sourceforge.jp )
00004 //
00005 // This library is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU Lesser General Public
00007 // License as published by the Free Software Foundation; either
00008 // version 2.1 of the License, or (at your option) any later version.
00009 //
00010 // This library is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 // Lesser General Public License for more details.
00014 //
00015 // You should have received a copy of the GNU Lesser General Public
00016 // License along with this library; if not, write to the Free Software
00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 //------------------------------------------------------------------------------
00019 
00020 /** @file
00021  * シーンフィルタインターフェースヘッダ
00022  * @author Junpee
00023  */
00024 
00025 #ifndef SCENE_FILTER_INTERFACE_H_
00026 #define SCENE_FILTER_INTERFACE_H_
00027 
00028 namespace Lamp{
00029 
00030 class Scene;
00031 class CameraManager;
00032 class SceneNodeManager;
00033 class ModelManager;
00034 class MeshManager;
00035 class MeshDataManager;
00036 class MaterialManager;
00037 class TextureManager;
00038 class PictureManager;
00039 
00040 //------------------------------------------------------------------------------
00041 /**
00042  * シーンフィルタインターフェース
00043  */
00044 class SceneFilterInterface{
00045 friend class SceneFilter;
00046 protected:
00047     /**
00048      * コンストラクタ
00049      * @param scene フィルタをかけるシーン
00050      */
00051     SceneFilterInterface(Scene* scene);
00052 
00053     /**
00054      * デストラクタ
00055      */
00056     virtual ~SceneFilterInterface(){}
00057 
00058     /**
00059      * フィルタ
00060      * @param command コマンド
00061      * @return 成功すればtrue
00062      */
00063     virtual bool filter(const String& command) = 0;
00064 
00065     /// シーン
00066     Scene* scene_;
00067     /// カメラマネージャ
00068     CameraManager* cameraManager_;
00069     /// シーンノードマネージャ
00070     SceneNodeManager* sceneNodeManager_;
00071     /// モデルマネージャ
00072     ModelManager* modelManager_;
00073     /// メッシュマネージャ
00074     MeshManager* meshManager_;
00075     /// メッシュデータマネージャ
00076     MeshDataManager* meshDataManager_;
00077     /// マテリアルマネージャ
00078     MaterialManager* materialManager_;
00079     /// テクスチャマネージャ
00080     TextureManager* textureManager_;
00081     /// ピクチャマネージャ
00082     PictureManager* pictureManager_;
00083 
00084 private:
00085     // コピーコンストラクタの隠蔽
00086     SceneFilterInterface(const SceneFilterInterface& copy);
00087 
00088     // 代入コピーの隠蔽
00089     void operator =(const SceneFilterInterface& copy);
00090 
00091 };
00092 
00093 //------------------------------------------------------------------------------
00094 } // End of namespace Lamp
00095 #endif // End of SCENE_FILTER_INTERFACE_H_
00096 //------------------------------------------------------------------------------

Generated on Wed Mar 16 10:29:35 2005 for Lamp by doxygen 1.3.2