#include <ssInstrumentRecordTail.h>
Inheritance diagram for ssInstrumentRecordTail:
Public Member Functions | |
vtkTypeMacro (ssInstrumentRecordTail, vtkObject) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Print the state of this object. | |
void | SetFileName (const char *name) |
Specify the name of the file to monitor. | |
virtual void | Run () |
Monitor the file and issue notifies as required. | |
void | Break () |
Break the Run() loop. | |
virtual bool | RecordPending () |
Give the status of the disk file. | |
Static Public Member Functions | |
static ssInstrumentRecordTail * | New () |
Instantiate a new object of this type. | |
Protected Member Functions | |
ssInstrumentRecordTail () | |
Ctor. | |
virtual | ~ssInstrumentRecordTail () |
Dtor. | |
SP (vtkMutexLock) pendingLock | |
Access lock for pending. | |
Protected Attributes | |
std::string | name |
The FQFN that we are monitoring. | |
int | pending |
Count of pending records. | |
bool | breaker |
Whether a Break() has been requested,. |
Definition at line 21 of file ssInstrumentRecordTail.h.
ssInstrumentRecordTail::ssInstrumentRecordTail | ( | ) | [protected] |
Ctor.
virtual ssInstrumentRecordTail::~ssInstrumentRecordTail | ( | ) | [protected, virtual] |
Dtor.
static ssInstrumentRecordTail* ssInstrumentRecordTail::New | ( | ) | [static] |
Instantiate a new object of this type.
This is the only method that objects of this type may be created.
Reimplemented from vtkObject.
Reimplemented in ssPolyDataRecordTail.
ssInstrumentRecordTail::vtkTypeMacro | ( | ssInstrumentRecordTail | , | |
vtkObject | ||||
) |
void ssInstrumentRecordTail::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Print the state of this object.
os | The output stream. | |
indent | The indentation level. Used for formating output. |
Reimplemented from vtkObject.
Reimplemented in ssPolyDataRecordTail.
void ssInstrumentRecordTail::SetFileName | ( | const char * | name | ) |
Specify the name of the file to monitor.
name | The FQFN of the file. |
virtual void ssInstrumentRecordTail::Run | ( | ) | [virtual] |
Monitor the file and issue notifies as required.
If all goes well then this function will not return until Break() is called. However, if there is some sort of error this function will return and the state of this object will be NOGO.
Reimplemented in ssPolyDataRecordTail.
void ssInstrumentRecordTail::Break | ( | ) |
Break the Run() loop.
virtual bool ssInstrumentRecordTail::RecordPending | ( | ) | [virtual] |
Give the status of the disk file.
ssInstrumentRecordTail::SP | ( | vtkMutexLock | ) | [protected] |
Access lock for pending.
std::string ssInstrumentRecordTail::name [protected] |
int ssInstrumentRecordTail::pending [protected] |
bool ssInstrumentRecordTail::breaker [protected] |