Rev | Line | |
---|
[2576] | 1 | #ifndef __LOGWRITER_H
|
---|
| 2 | #define __LOGWRITER_H
|
---|
| 3 |
|
---|
| 4 | #include <iostream>
|
---|
| 5 | #include <fstream>
|
---|
| 6 | #include <string>
|
---|
| 7 | #include "common.h"
|
---|
| 8 | #include "Containers.h"
|
---|
| 9 | #include "LogReader.h"
|
---|
| 10 |
|
---|
| 11 |
|
---|
| 12 | namespace GtpVisibilityPreprocessor
|
---|
| 13 | {
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | class LogWriter
|
---|
| 17 | {
|
---|
[2580] | 18 | public:
|
---|
| 19 |
|
---|
| 20 | LogWriter();
|
---|
| 21 | LogWriter(const std::string &filename);
|
---|
[2576] | 22 | void SetFilename(const std::string &filename);
|
---|
| 23 |
|
---|
[2584] | 24 | void Write(const int numSamples, const ViewCellContainer &viewcells);
|
---|
| 25 |
|
---|
[2576] | 26 |
|
---|
| 27 | protected:
|
---|
| 28 |
|
---|
| 29 | std::string mFilename;
|
---|
| 30 | };
|
---|
| 31 |
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.