Planeshift
icachedobject.h
Go to the documentation of this file.
1
/*
2
* cachemanager.h
3
*
4
* Copyright (C) 2003 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
5
*
6
*
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation (version 2 of the License)
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
*
18
*/
19
20
#ifndef __CACHEDOBJECT_H__
21
#define __CACHEDOBJECT_H__
22
23
struct
iCachedObject
24
{
31
virtual
void
ProcessCacheTimeout
() = 0;
32
virtual
void
*
RecoverObject
() = 0;
33
virtual
void
DeleteSelf
() = 0;
34
virtual
~iCachedObject
() {}
35
};
36
37
38
#endif
39
iCachedObject::RecoverObject
virtual void * RecoverObject()=0
iCachedObject::ProcessCacheTimeout
virtual void ProcessCacheTimeout()=0
This function is called by the generic cache if the specified ticks go by and the cache object is not...
iCachedObject
Definition:
icachedobject.h:23
iCachedObject::DeleteSelf
virtual void DeleteSelf()=0
iCachedObject::~iCachedObject
virtual ~iCachedObject()
Definition:
icachedobject.h:34
server
icachedobject.h
Generated on Sat Jun 19 2021 05:00:33 for Planeshift by
1.8.11