#include <ssMultibeamInstrumentFactory.h>
Inheritance diagram for ssMultibeamInstrumentFactory:
Public Member Functions | |
vtkTypeMacro (ssMultibeamInstrumentFactory, vtkObject) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Print the state of this object. | |
MultibeamInstrument * | Instrument () |
Give the Instrument. | |
Static Public Member Functions | |
static ssMultibeamInstrumentFactory * | New () |
Instantiate a new object of this type. | |
Protected Member Functions | |
ssMultibeamInstrumentFactory () | |
Ctor. | |
~ssMultibeamInstrumentFactory () | |
Dtor. |
There can be only one instrument in the system so the generated object is a singleton. I.e. If there is no instrument on the system generate one otherwise supply the preexisting one.
Definition at line 21 of file ssMultibeamInstrumentFactory.h.
ssMultibeamInstrumentFactory::ssMultibeamInstrumentFactory | ( | ) | [protected] |
Ctor.
ssMultibeamInstrumentFactory::~ssMultibeamInstrumentFactory | ( | ) | [protected] |
Dtor.
static ssMultibeamInstrumentFactory* ssMultibeamInstrumentFactory::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.
ssMultibeamInstrumentFactory::vtkTypeMacro | ( | ssMultibeamInstrumentFactory | , | |
vtkObject | ||||
) |
void ssMultibeamInstrumentFactory::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.
MultibeamInstrument* ssMultibeamInstrumentFactory::Instrument | ( | ) |
Give the Instrument.
If the Instrument does not yet exist create it, otherwise give the instance that is in existance.