ssPolyDataRecordTail Class Reference
[C++/Common/Vtk/ReaderWriter]

The purpose of this class is to monitor a named disk file in order to determine if, and when, a complete PolyDataRecord is fully avaliable for reading. More...

#include <ssPolyDataRecordTail.h>

Inheritance diagram for ssPolyDataRecordTail:

Inheritance graph
[legend]
Collaboration diagram for ssPolyDataRecordTail:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeMacro (ssPolyDataRecordTail, ssInstrumentRecordTail)
void PrintSelf (ostream &os, vtkIndent indent)
 Print the state of this object.
void Run ()
 Monitor the file and issue notifies as required.

Static Public Member Functions

static ssPolyDataRecordTailNew ()
 Instantiate a new object of this type.

Protected Member Functions

 ssPolyDataRecordTail ()
 Ctor.
virtual ~ssPolyDataRecordTail ()
 Dtor.

Detailed Description

The purpose of this class is to monitor a named disk file in order to determine if, and when, a complete PolyDataRecord is fully avaliable for reading.

When a record becomes avaliable a notification is sent to an interested class. Objects of this class would normally be run in their own thread.

This is all a bit of a kuldge. A more rational input schema for instrument data input needs to be constructed.

Definition at line 24 of file ssPolyDataRecordTail.h.


Constructor & Destructor Documentation

ssPolyDataRecordTail::ssPolyDataRecordTail (  )  [protected]

Ctor.

virtual ssPolyDataRecordTail::~ssPolyDataRecordTail (  )  [protected, virtual]

Dtor.


Member Function Documentation

static ssPolyDataRecordTail* ssPolyDataRecordTail::New (  )  [static]

Instantiate a new object of this type.

This is the only method that objects of this type may be created.

Returns:
The new object.

Reimplemented from ssInstrumentRecordTail.

ssPolyDataRecordTail::vtkTypeMacro ( ssPolyDataRecordTail  ,
ssInstrumentRecordTail   
)

void ssPolyDataRecordTail::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Print the state of this object.

Parameters:
os The output stream.
indent The indentation level. Used for formating output.

Reimplemented from ssInstrumentRecordTail.

void ssPolyDataRecordTail::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 from ssInstrumentRecordTail.


The documentation for this class was generated from the following file: