Jpp
15.0.0
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
struct
JRegulator
:
19
public
JDefault
<JRegulator>
20
{
21
/**
22
* Virtual destructor.
23
*/
24
virtual
~JRegulator
()
25
{}
26
27
28
/**
29
* Accept.
30
*
31
* \return true if accepted; else false
32
*/
33
virtual
bool
accept
()
const
34
{
35
return
true
;
36
}
37
};
38
}
39
40
#endif
JLANG::JRegulator::~JRegulator
virtual ~JRegulator()
Virtual destructor.
Definition:
JRegulator.hh:24
JLANG::JRegulator
Interface for controlling object throughput.
Definition:
JRegulator.hh:18
JLANG::JRegulator::accept
virtual bool accept() const
Accept.
Definition:
JRegulator.hh:33
JDefault.hh
JLANG::JDefault
Simple default class.
Definition:
JDefault.hh:18
Generated by
1.8.5