BusBoy
2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
cpp
api
error
ErrorReporter.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_ERROR_REPORTER_H__
18
#define __BUSBOY_ERROR_REPORTER_H__
19
20
#include <string>
21
22
#include "
context/context_api.h
"
23
#include "
Error.h
"
24
25
namespace
BUSBOY {
26
27
class
ErrorReporterImpl;
28
29
class
ErrorReporter
{
30
31
public
:
32
33
ErrorReporter
(
AlgorithmContext
& context,
const
std::string& topic =
"errors"
);
34
35
std::string
getTopic
()
const
;
36
37
void
reportError
(
const
Error
& error)
const
;
38
39
~ErrorReporter
();
40
41
42
private
:
43
44
ErrorReporterImpl
* m_impl;
45
46
// prevent calling these
47
ErrorReporter
(
const
ErrorReporter
& reporter);
48
ErrorReporter
& operator=(
const
ErrorReporter
& reporter);
49
50
};
51
52
}
53
#endif
54
55
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.