~ubuntu-branches/ubuntu/lucid/igstk/lucid

« back to all changes in this revision

Viewing changes to Examples/NeedleBiopsy/igstkTrackerConfigurationGUIBase.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Dominique Belhachemi
  • Date: 2009-10-07 17:35:43 UTC
  • mfrom: (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091007173543-69eyhyjrh0bfoqe5
Tags: 4.2.0-2
* Fixed link issue (Closes: #549799)
* switch to quilt

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*=========================================================================
 
2
 
 
3
Program:   Image Guided Surgery Software Toolkit
 
4
Module:    $RCSfile: igstkTrackerConfigurationGUIBase.cxx,v $
 
5
Language:  C++
 
6
Date:      $Date: 2009-01-30 20:49:52 $
 
7
Version:   $Revision: 1.1 $
 
8
 
 
9
Copyright (c) ISC  Insight Software Consortium.  All rights reserved.
 
10
  See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
 
11
 
 
12
This software is distributed WITHOUT ANY WARRANTY; without even
 
13
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 
14
PURPOSE.  See the above copyright notices for more information.
 
15
 
 
16
=========================================================================*/
 
17
 
 
18
#include "igstkTrackerConfigurationGUIBase.h"
 
19
 
 
20
namespace igstk
 
21
{
 
22
 
 
23
/** Constructor: Initializes all internal variables. */
 
24
TrackerConfigurationGUIBase::TrackerConfigurationGUIBase()
 
25
{
 
26
  m_Reporter = ::itk::Object::New();
 
27
}
 
28
 
 
29
/** Destructor */
 
30
TrackerConfigurationGUIBase::~TrackerConfigurationGUIBase()
 
31
{
 
32
}
 
33
 
 
34
unsigned long TrackerConfigurationGUIBase::AddObserver( 
 
35
  const ::itk::EventObject & event, ::itk::Command * observer )
 
36
{
 
37
  return m_Reporter->AddObserver( event, observer );
 
38
}
 
39
 
 
40
void TrackerConfigurationGUIBase::RemoveObserver( unsigned long tag )
 
41
{
 
42
  m_Reporter->RemoveObserver( tag );
 
43
}
 
44
 
 
45
void TrackerConfigurationGUIBase::RemoveAllObservers()
 
46
{
 
47
  m_Reporter->RemoveAllObservers();
 
48
}
 
49
 
 
50
} // end of name space