00001
00003 //
00004 // -= ani::Memory =-
00005 //
00006 // Definition: "Base class for all DynamicSystem objects"
00007 //
00009 //
00010 // $RCSfile: Memory.h,v $
00011 // $Date: 2001/11/21 23:34:18 $
00012 // $Revision: 1.4 $
00013 // Copyright (C) 1998, 1999, 2000 Kevin Meinert, kevin@vrsource.org
00014 //
00015 // This library is free software; you can redistribute it and/or
00016 // modify it under the terms of the GNU Library General Public
00017 // License as published by the Free Software Foundation; either
00018 // version 2 of the License, or (at your option) any later version.
00019 //
00020 // This library is distributed in the hope that it will be useful,
00021 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00022 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00023 // Library General Public License for more details.
00024 //
00025 // You should have received a copy of the GNU Library General Public
00026 // License along with this library; if not, write to the Free
00027 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00028 //
00030 #ifndef COMMON_STUFF_FOR_THE_DYN_SYSTEM
00031 #define COMMON_STUFF_FOR_THE_DYN_SYSTEM
00032
00033 // particle system memory...
00034 namespace ani
00035 {
00036 class Memory
00037 {
00038 public:
00039 Memory() : mInSystem( false ) {}
00040 virtual ~Memory() {}
00041 bool isInSystem() const { return mInSystem; }
00042 void isInSystem( bool setting ) { mInSystem = setting; }
00043
00044 private:
00045 bool mInSystem;
00046 };
00047
00048 }; // namespace ani
00049
00050
00051 #endif
1.2.15