ssMultibeamInstrumentFactory Class Reference
[C++/Mechanization/SwathInstrument/Multibeam]

Generate a Multibeam Instrument of the appropiate type. More...

#include <ssMultibeamInstrumentFactory.h>

Inheritance diagram for ssMultibeamInstrumentFactory:

Inheritance graph
[legend]
Collaboration diagram for ssMultibeamInstrumentFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeMacro (ssMultibeamInstrumentFactory, vtkObject)
void PrintSelf (ostream &os, vtkIndent indent)
 Print the state of this object.
MultibeamInstrumentInstrument ()
 Give the Instrument.

Static Public Member Functions

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

Protected Member Functions

 ssMultibeamInstrumentFactory ()
 Ctor.
 ~ssMultibeamInstrumentFactory ()
 Dtor.

Detailed Description

Generate a Multibeam Instrument of the appropiate type.

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.


Constructor & Destructor Documentation

ssMultibeamInstrumentFactory::ssMultibeamInstrumentFactory (  )  [protected]

Ctor.

ssMultibeamInstrumentFactory::~ssMultibeamInstrumentFactory (  )  [protected]

Dtor.


Member Function Documentation

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.

Returns:
The new object.

Reimplemented from vtkObject.

ssMultibeamInstrumentFactory::vtkTypeMacro ( ssMultibeamInstrumentFactory  ,
vtkObject   
)

void ssMultibeamInstrumentFactory::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 vtkObject.

MultibeamInstrument* ssMultibeamInstrumentFactory::Instrument (  ) 

Give the Instrument.

If the Instrument does not yet exist create it, otherwise give the instance that is in existance.


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