cachenonemethod.h

Go to the documentation of this file.
00001 #ifndef TPPROTO_CACHENONEMETHOD_H
00002 #define TPPROTO_CACHENONEMETHOD_H
00003 /*  CacheNoneMethod - Method of caching Frames that doesn't do any caching class
00004  *
00005  *  Copyright (C) 2006, 2008  Lee Begg and the Thousand Parsec Project
00006  *
00007  *  This program is free software; you can redistribute it and/or modify
00008  *  it under the terms of the GNU General Public License as published by
00009  *  the Free Software Foundation; either version 2 of the License, or
00010  *  (at your option) any later version.
00011  *
00012  *  This program is distributed in the hope that it will be useful,
00013  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  *  GNU General Public License for more details.
00016  *
00017  *  You should have received a copy of the GNU General Public License
00018  *  along with this program; if not, write to the Free Software
00019  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020  *
00021  */
00022 
00027 #include "tpproto/cachemethod.h"
00028 
00029 namespace TPProto{
00030 
00033     class CacheNoneMethod : public CacheMethod{
00034     public:
00035     CacheNoneMethod();
00036     CacheNoneMethod(const CacheNoneMethod& rhs);
00037     virtual ~CacheNoneMethod();
00038 
00039     virtual void update();
00040 
00041     virtual void getById(uint32_t id);
00042     virtual void markInvalid(uint32_t id);
00043 
00044     virtual CacheMethod* clone();
00045     
00046         protected:
00047             void getIdList();
00048             void receiveItem(Frame* frame);
00049             void receiveIdList(Frame* frame);
00050 
00051     };
00052 
00053 }
00054 
00055 #endif
00056 

Generated on Tue Jan 6 07:00:48 2009 for libtpproto-cpp by  doxygen 1.5.1