IGSTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
igstk::Object Class Reference

Base class for all the IGSTK classes. More...

#include <igstkObject.h>

Inheritance diagram for igstk::Object:
Inheritance graph
[legend]

Public Types

typedef Object Self
 General Typedefs. More...
 
typedef ::itk::Object Superclass
 
typedef ::itk::SmartPointer< SelfPointer
 
typedef ::itk::SmartPointer
< const Self
ConstPointer
 
typedef igstk::Logger LoggerType
 

Public Member Functions

virtual const char * GetNameOfClass () const
 
void SetLogger (LoggerType *logger)
 Connect the Logger for this class. More...
 
void RemoveObserver (unsigned long tag) const
 

Static Public Member Functions

static Pointer New (void)
 

Protected Member Functions

LoggerTypeGetLogger () const
 
 Object (void)
 Constructor is protected in order to enforce the use of the New() operator. More...
 
virtual ~Object (void)
 
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 Print the object information. More...
 
void RegisterObservedObject (const ::igstk::Object *object, unsigned long tag)
 Register observed objects in an internal array so that they can be disconnected upon destruction. More...
 
void RemoveFromObservedObjects ()
 Remove observers that this object may have connected to other objects. More...
 

Detailed Description

Base class for all the IGSTK classes.

This class derives from the ITK Object and it is used for introducion additional elemets that are common to IGSTK Objects.

Definition at line 40 of file igstkObject.h.

Member Typedef Documentation

General Typedefs.

Note that the igstkStandardClassTraitsMacro() cannot be used here because that macro invokes calls in the superclass, for example SetLogger, that will not be available in the ITK Object class.

Definition at line 48 of file igstkObject.h.

typedef ::itk::Object igstk::Object::Superclass

Definition at line 49 of file igstkObject.h.

typedef ::itk::SmartPointer< Self > igstk::Object::Pointer

Definition at line 50 of file igstkObject.h.

typedef ::itk::SmartPointer< const Self > igstk::Object::ConstPointer

Definition at line 51 of file igstkObject.h.

Definition at line 54 of file igstkObject.h.

Constructor & Destructor Documentation

igstk::Object::Object ( void  )
protected

Constructor is protected in order to enforce the use of the New() operator.

virtual igstk::Object::~Object ( void  )
protectedvirtual

Member Function Documentation

virtual const char* igstk::Object::GetNameOfClass ( ) const
virtual
static Pointer igstk::Object::New ( void  )
static
void igstk::Object::SetLogger ( LoggerType logger)

Connect the Logger for this class.

void igstk::Object::RemoveObserver ( unsigned long  tag) const
LoggerType* igstk::Object::GetLogger ( ) const
protected
virtual void igstk::Object::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

Print the object information.

Reimplemented in igstk::NDICommandInterpreter, igstk::AscensionCommandInterpreter, igstk::SerialCommunication, igstk::Tracker, igstk::VideoImager, igstk::DICOMImageReader< TImageSpatialObject >, igstk::DICOMImageReader< PETImageSpatialObject >, igstk::DICOMImageReader< USImageObject >, igstk::DICOMImageReader< MRImageSpatialObject >, igstk::DICOMImageReader< CTImageSpatialObject >, igstk::ReslicerPlaneSpatialObject, igstk::ImageSpatialObject< TPixelType, TDimension >, igstk::ImageSpatialObject< unsigned short, 3 >, igstk::ImageSpatialObject< float, 3 >, igstk::ImageSpatialObject< unsigned char, 3 >, igstk::ImageSpatialObject< signed short, 3 >, igstk::Landmark3DRegistration, igstk::View, igstk::CoordinateSystem, igstk::CoordinateSystemDelegator, igstk::MR3DImageToUS3DImageRegistration, igstk::VideoImagerTool, igstk::ObjectRepresentation, igstk::PivotCalibration, igstk::MicronTracker, igstk::MeshObject, igstk::TrackerTool, igstk::InfiniTrackTracker, igstk::UltrasoundImageSimulator< TImageGeometricModel >, igstk::MeshReader, igstk::TubeReader, igstk::ImageResliceObjectRepresentation< TImageSpatialObject >, igstk::AuroraTrackerTool, igstk::SerialCommunicationForWindows, igstk::Annotation2D, igstk::ImageSpatialObjectRepresentation< TImageSpatialObject >, igstk::WebcamWinVideoImager, igstk::ImageSpatialObjectRepresentation< PETImageSpatialObject >, igstk::ImageSpatialObjectRepresentation< USImageObject >, igstk::ImageSpatialObjectRepresentation< MRImageSpatialObject >, igstk::ImageSpatialObjectRepresentation< CTImageSpatialObject >, igstk::OpenIGTLinkVideoImager, igstk::Communication, igstk::SpatialObject, igstk::SerialCommunicationSimulator, igstk::SerialCommunicationForPosix, igstk::CrossHairSpatialObject, igstk::PulseGenerator, igstk::ToolProjectionObjectRepresentation, igstk::Landmark3DRegistrationErrorEstimator, igstk::CircularSimulatedTracker, igstk::MeshResliceObjectRepresentation, igstk::SimulatedTracker, igstk::TubeObject, igstk::QMouseTracker, igstk::MouseTracker, igstk::UltrasoundProbeObjectRepresentation, igstk::BoxObject, igstk::CrossHairObjectRepresentation, igstk::ConeObjectRepresentation, igstk::BoxObjectRepresentation, igstk::AxesObjectRepresentation, igstk::CylinderObjectRepresentation, igstk::GroupObject, igstk::ConeObject, igstk::EllipsoidObjectRepresentation, igstk::TubeObjectRepresentation, igstk::CylinderObject, igstk::TrackerToolObserverToOpenIGTLinkRelay, igstk::AxesObject, igstk::EllipsoidObject, igstk::MeshObjectRepresentation, igstk::USImageObject, igstk::PETImageSpatialObject, igstk::CTImageSpatialObject, igstk::ToolProjectionSpatialObject, igstk::MRImageSpatialObject, igstk::CTImageSpatialObjectRepresentation, igstk::PETImageSpatialObjectRepresentation, igstk::USImageObjectRepresentation, igstk::USImageReader, igstk::UltrasoundProbeObject, igstk::CTImageReader, igstk::MRImageReader, igstk::MRImageSpatialObjectRepresentation, and igstk::PETImageReader.

void igstk::Object::RegisterObservedObject ( const ::igstk::Object object,
unsigned long  tag 
)
protected

Register observed objects in an internal array so that they can be disconnected upon destruction.

void igstk::Object::RemoveFromObservedObjects ( )
protected

Remove observers that this object may have connected to other objects.


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