#include <instetcDriver.h>
Public Member Functions | |
instetcDriver (const char *portName, const char *filePath, const int lineCount, double pollingPeriod) | |
Constructor for the lvDCOMDriver class. More... | |
Static Public Member Functions | |
static void | pollerThreadC (void *arg) |
Private Member Functions | |
int | getLastLines (std::string &the_lines) |
void | updateText (const std::string &text) |
void | pollerThread (const std::string &filePath, int lineCount, double pollingPeriod) |
Private Attributes | |
std::string | filePath |
int | lineCount |
double | pollingPeriod |
time_t | file_mod |
int | P_Text |
Definition at line 6 of file instetcDriver.h.
instetcDriver::instetcDriver | ( | const char * | portName, |
const char * | filePath, | ||
const int | lineCount, | ||
double | pollingPeriod | ||
) |
Constructor for the lvDCOMDriver class.
Calls constructor for the asynPortDriver base class.
[in] | dcomint | DCOM interface pointer created by lvDCOMConfigure() |
[in] | portName | The name of the asyn driver port we will create. |
Definition at line 39 of file instetcDriver.cpp.
References driverName, P_Text, P_TextString, and pollerThreadC().
|
private |
Definition at line 65 of file instetcDriver.cpp.
References file_mod, filePath, and lineCount.
Referenced by pollerThread().
|
private |
Definition at line 131 of file instetcDriver.cpp.
References getLastLines(), LEN_BUFFER, and updateText().
Referenced by pollerThreadC().
|
static |
Definition at line 123 of file instetcDriver.cpp.
References filePath, lineCount, pollerThread(), and pollingPeriod.
Referenced by instetcDriver().
|
private |
|
private |
Definition at line 16 of file instetcDriver.h.
Referenced by getLastLines().
|
private |
Definition at line 13 of file instetcDriver.h.
Referenced by getLastLines(), and pollerThreadC().
|
private |
Definition at line 14 of file instetcDriver.h.
Referenced by getLastLines(), and pollerThreadC().
|
private |
Definition at line 18 of file instetcDriver.h.
Referenced by instetcDriver(), and updateText().
|
private |
Definition at line 15 of file instetcDriver.h.
Referenced by pollerThreadC().