#include <MyTool.h>
This is a balnk template for a Tool used by the script to generate a new custom tool. Please fill out the descripton and author information.
- Author:
- B.Richards
- Date:
- 2019/05/28 10:44:00
Contact: b.ric.nosp@m.hard.nosp@m.s@qmu.nosp@m.l.ac.nosp@m..uk
Definition at line 20 of file MyTool.h.
Log level enumerations.
Enumerator |
---|
FATAL |
|
ERROR |
|
WARN |
|
INFO |
|
DEBUG1 |
|
DEBUG2 |
|
DEBUG3 |
|
Definition at line 53 of file MyTool.h.
Simple constructor.
Definition at line 3 of file MyTool.cpp.
Executre function used to perform Tool perpose.
Definition at line 40 of file MyTool.cpp.
bool MyTool::Finalise |
( |
| ) |
|
Finalise funciton used to clean up resorces.
Definition at line 52 of file MyTool.cpp.
bool MyTool::Initialise |
( |
std::string |
configfile, |
|
|
DataModel & |
data |
|
) |
| |
Initialise Function for setting up Tool resorces.
- Parameters
-
configfile | The path and name of the dynamic configuration file to read in. |
data | A reference to the transient data class used to pass information between Tools. |
YOUR CODE HERE
Definition at line 6 of file MyTool.cpp.
void MyTool::StreamToLog |
( |
int |
level | ) |
|
|
inlineprivate |
Print the current value of the streamer at the set log level, then clear the streamer
Definition at line 47 of file MyTool.h.
std::stringstream MyTool::m_ss |
|
private |
For easy formatting of Log messages.
Definition at line 43 of file MyTool.h.
The stopwatch, if we're using one.
Definition at line 35 of file MyTool.h.
std::string MyTool::m_stopwatch_file |
|
private |
Image filename to save the histogram to, if required.
Definition at line 37 of file MyTool.h.
Verbosity level, as defined in tool parameter file.
Definition at line 40 of file MyTool.h.
The documentation for this class was generated from the following files: