Squid Web Cache
master
Loading...
Searching...
No Matches
ActionCreator.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2025 The Squid Software Foundation and contributors
3
*
4
* Squid software is distributed under GPLv2+ license and includes
5
* contributions from numerous individuals and organizations.
6
* Please see the COPYING and CONTRIBUTORS files for details.
7
*/
8
9
/* DEBUG: section 16 Cache Manager API */
10
11
#ifndef SQUID_SRC_MGR_ACTIONCREATOR_H
12
#define SQUID_SRC_MGR_ACTIONCREATOR_H
13
14
#include "
mgr/forward.h
"
15
16
namespace
Mgr
17
{
18
23
class
ActionCreator
:
public
RefCountable
24
{
25
public
:
26
typedef
RefCount<ActionCreator>
Pointer
;
27
28
~ActionCreator
()
override
{}
29
31
virtual
ActionPointer
create
(
const
CommandPointer
&cmd)
const
= 0;
32
};
33
34
}
// namespace Mgr
35
36
#endif
/* SQUID_SRC_MGR_ACTIONCREATOR_H */
37
RefCountable
#define RefCountable
The locking interface for use on Reference-Counted classes.
Definition
Lock.h:66
Mgr::ActionCreator
Definition
ActionCreator.h:24
Mgr::ActionCreator::~ActionCreator
~ActionCreator() override
Definition
ActionCreator.h:28
Mgr::ActionCreator::Pointer
RefCount< ActionCreator > Pointer
Definition
ActionCreator.h:26
Mgr::ActionCreator::create
virtual ActionPointer create(const CommandPointer &cmd) const =0
returns a pointer to the new Action object for cmd; never nil
RefCount
Definition
RefCount.h:28
forward.h
Mgr
Cache Manager API.
Definition
Action.h:21
squid
src
mgr
ActionCreator.h
Generated by
1.9.8