Public Member Functions | |
DatalogFileWriter () | |
~DatalogFileWriter () | |
void | Write (String *str) |
void | WriteLine (String *str) |
void | WriteNow (String *str) |
This will write regardless of the autostart state. | |
void | WriteLineNow (String *str) |
This will write regardless of the autostart state. | |
void | Flush () |
void | setFileHeader (String *str) |
void | appendFileHeader (String *str) |
String * | getFileHeader () |
void | close () |
Closes the output file if its got one open. | |
void | setFile (String *name) |
Sets the suggested file name and opens that file. | |
String * | getCurrentFile () |
String * | getFile () |
void | setFileWriteEnable (bool enable) |
True if you want it to log to a file. | |
void | setUserGoodToGo (bool good) |
bool | getUserGoodToGo () |
Allows you to see if the user condition is set. | |
void | makeDecision () |
void | setRpm (int r) |
void | setTps (int t) |
void | setSpeed (int s) |
int | getRpm () |
int | getSpeed () |
int | getTps () |
Public Attributes | |
__event EventHandler * | OnFileNameChanged |
|
|
|
|
|
|
|
Closes the output file if its got one open.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Allows you to see if the user condition is set.
|
|
This function takes the entered data and makes a decision whether to turn on or off the file logging. This is called by the Logger after the rules have all been executed. That way we dont get extra stupid files with data that doesnt satisfy the criteria. |
|
Sets the suggested file name and opens that file.
|
|
|
|
True if you want it to log to a file.
|
|
|
|
|
|
|
|
Sets a 'user' condition that is anded with the rest of the built in conditions to determine if auto logging should turn on. This is for scripts! |
|
This will only write to the file if the auto start conditions are satisfied or the autostart is disabled. |
|
This will only write to the file if the auto start conditions are satisfied or the autostart is disabled. |
|
This will write regardless of the autostart state.
|
|
This will write regardless of the autostart state.
|
|
|