MINT2
Mint
IEventGenerator.h
Go to the documentation of this file.
1
#ifndef IEVENT_GENERATOR_HH
2
#define IEVENT_GENERATOR_HH
3
// author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4
// status: Mon 9 Feb 2009 19:17:54 GMT
5
6
#include "
Mint/counted_ptr.h
"
7
8
namespace
MINT
{
9
10
template
<
typename
RETURN_TYPE>
11
class
IEventGenerator
{
12
public
:
13
virtual
counted_ptr<RETURN_TYPE>
newEvent
()=0;
14
virtual
bool
exhausted
()
const
=0;
15
virtual
bool
ensureFreshEvents
()=0;
// will normally randomise the seed
16
virtual
~IEventGenerator
(){}
17
};
18
19
}
//namespace MINT
20
#endif
21
//
counted_ptr.h
MINT::IEventGenerator::exhausted
virtual bool exhausted() const =0
MINT::counted_ptr
Definition:
counted_ptr.h:39
MINT::IEventGenerator::newEvent
virtual counted_ptr< RETURN_TYPE > newEvent()=0
MINT::IEventGenerator::ensureFreshEvents
virtual bool ensureFreshEvents()=0
MINT
Definition:
BasicComplex.h:7
MINT::IEventGenerator::~IEventGenerator
virtual ~IEventGenerator()
Definition:
IEventGenerator.h:16
MINT::IEventGenerator
Definition:
IEventGenerator.h:11
Generated by
1.8.15