CppCMS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cppcms
cache_pool.h
1
//
3
// Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com>
4
//
5
// See accompanying file COPYING.TXT file for licensing details.
6
//
8
#ifndef CPPCMS_CACHE_POOL_H
9
#define CPPCMS_CACHE_POOL_H
10
11
#include <cppcms/defs.h>
12
#include <booster/noncopyable.h>
13
#include <booster/intrusive_ptr.h>
14
#include <booster/hold_ptr.h>
15
#include <cppcms/base_cache_fwd.h>
16
17
namespace
cppcms
{
18
namespace
json {
class
value; }
19
namespace
impl {
class
base_cache; }
20
22
class
CPPCMS_API cache_pool {
23
public
:
24
cache_pool(json::value
const
&settings);
25
~cache_pool();
26
booster::intrusive_ptr<impl::base_cache>
get
();
27
private
:
28
struct
_data;
29
booster::hold_ptr<_data>
d;
30
};
32
}
33
34
#endif
booster::hold_ptr< _data >
cppcms
This is the namespace where all CppCMS functionality is placed.
Definition:
application.h:19
booster::intrusive_ptr< impl::base_cache >
Generated on Sun Dec 3 2017 22:47:16 for CppCMS by
1.8.11