Chombo + EB + MF
3.2
src
BaseTools
Callbacks.H
Go to the documentation of this file.
1
#ifdef CH_LANG_CC
2
/*
3
* _______ __
4
* / ___/ / ___ __ _ / / ___
5
* / /__/ _ \/ _ \/ V \/ _ \/ _ \
6
* \___/_//_/\___/_/_/_/_.__/\___/
7
* Please refer to Copyright.txt, in Chombo's root directory.
8
*/
9
#endif
10
11
#ifndef _CALLBACKS_H_
12
#define _CALLBACKS_H_
13
14
#include <vector>
15
#include "
BaseNamespaceHeader.H
"
16
17
class
Callbacks
18
{
19
public
:
20
typedef
void (*
PVF
)();
21
void
add
(
PVF
f );
22
void
run
()
const
;
23
24
private
:
25
std::vector<PVF>
m_funcPointers
;
26
};
27
#include "
BaseNamespaceFooter.H
"
28
29
#endif // include guard
Callbacks::m_funcPointers
std::vector< PVF > m_funcPointers
Definition:
Callbacks.H:25
Callbacks
Definition:
Callbacks.H:17
BaseNamespaceHeader.H
Callbacks::add
void add(PVF f)
Callbacks::run
void run() const
Callbacks::PVF
void(* PVF)()
Definition:
Callbacks.H:20
BaseNamespaceFooter.H
Generated by
1.8.13