30#ifndef __igtlLightObject_h
31#define __igtlLightObject_h
85 {
return "LightObject";}
89 void*
operator new(size_t);
90 void*
operator new[](size_t);
91 void operator delete(
void*);
92 void operator delete[](
void*, size_t);
97 void Print(std::ostream& os)
const;
111 {
return m_ReferenceCount;}
138 void operator=(
const Self&);
Light weight base class for most igtl classes.
virtual void SetReferenceCount(int)
virtual int GetReferenceCount() const
static void BreakOnError()
virtual void Register() const
volatile int m_ReferenceCount
virtual Pointer CreateAnother() const
void Print(std::ostream &os) const
virtual void PrintSelf(std::ostream &os) const
SimpleFastMutexLock m_ReferenceCountLock
SmartPointer< Self > Pointer
virtual void UnRegister() const
virtual void PrintTrailer(std::ostream &os) const
SmartPointer< const Self > ConstPointer
virtual void PrintHeader(std::ostream &os) const
virtual const char * GetNameOfClass() const
Critical section locking class that can be allocated on the stack.
Implements transparent reference counting.
The "igtl" namespace contains all OpenIGTLink classes. There are several nested namespaces within the...