Jpp
master_rocky-40-g5f0272dcd
the software that should make you happy
software
JLang
JRegulator.hh
Go to the documentation of this file.
1
#ifndef __JLANG__JREGULATOR__
2
#define __JLANG__JREGULATOR__
3
4
#include "
JLang/JDefault.hh
"
5
6
/**
7
* \author mdejong
8
*/
9
10
namespace
JLANG
{}
11
namespace
JPP
{
using namespace
JLANG
; }
12
13
namespace
JLANG
{
14
15
/**
16
* Interface for controlling object throughput.
17
*/
18
class
JRegulator
:
19
public
JDefault
<JRegulator>
20
{
21
public
:
22
/**
23
* Virtual destructor.
24
*/
25
virtual
~JRegulator
()
26
{}
27
28
29
/**
30
* Accept.
31
*
32
* \return true if accepted; else false
33
*/
34
virtual
bool
accept
()
const
35
{
36
return
true
;
37
}
38
};
39
}
40
41
#endif
JDefault.hh
JLANG::JRegulator
Interface for controlling object throughput.
Definition:
JRegulator.hh:20
JLANG::JRegulator::~JRegulator
virtual ~JRegulator()
Virtual destructor.
Definition:
JRegulator.hh:25
JLANG::JRegulator::accept
virtual bool accept() const
Accept.
Definition:
JRegulator.hh:34
JLANG
Auxiliary classes and methods for language specific functionality.
Definition:
JAbstractClass.hh:11
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition:
JAAnetToolkit.hh:43
JLANG::JDefault
Simple default class.
Definition:
JDefault.hh:18
Generated by
1.9.1