/usr/include/IGSTK/igstkAscensionTrackerTool.h is in libigstk4-dev 4.4.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | /*=========================================================================
Program: Image Guided Surgery Software Toolkit
Module: $RCSfile: igstkAscensionTrackerTool.h,v $
Language: C++
Date: $Date: 2009-01-30 19:33:49 $
Version: $Revision: 1.1 $
Copyright (c) ISC Insight Software Consortium. All rights reserved.
See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __igstkAscensionTrackerTool_h
#define __igstkAscensionTrackerTool_h
#include "igstkTrackerTool.h"
namespace igstk
{
/** \class AscensionTrackerTool
*
* \brief A Ascension-specific TrackerTool class.
*
* This class is a for providing Ascension-specific functionality
* for TrackerTools, and also to allow compile-time type enforcement
* for other classes and functions that specifically require
* an Ascension tool.
*
* \ingroup Tracker
*
*/
class AscensionTrackerTool : public TrackerTool
{
public:
/** Macro with standard traits declarations. */
igstkStandardClassTraitsMacro( AscensionTrackerTool, TrackerTool )
/** Get tracker tool port number */
igstkGetMacro( PortNumber, unsigned int );
/** Request setting the port number. The tool can only be attached to a
* tracker after its port number has been defined. Valid port numbers are
* in [1,4]. */
void RequestSetPortNumber( unsigned int portNumber );
protected:
AscensionTrackerTool();
~AscensionTrackerTool();
/** Print object information */
virtual void PrintSelf( std::ostream& os, ::itk::Indent indent ) const;
private:
AscensionTrackerTool(const Self&); //purposely not implemented
void operator=(const Self&); //purposely not implemented
/** States for the State Machine */
igstkDeclareStateMacro( Idle );
igstkDeclareStateMacro( PortNumberSpecified );
/** Inputs to the State Machine */
igstkDeclareInputMacro( ValidPortNumber );
igstkDeclareInputMacro( InValidPortNumber );
/** Get boolean variable to check if the tracker tool is
* configured or not */
virtual bool CheckIfTrackerToolIsConfigured() const;
/** Report Invalid bird name specified*/
void ReportInvalidPortNumberSpecifiedProcessing( );
/** Report any invalid request to the logger */
void ReportInvalidRequestProcessing();
/** Set bird name */
void SetPortNumberProcessing();
unsigned int m_PortNumber;
unsigned int m_PortNumberToBeSet;
bool m_TrackerToolConfigured;
};
} // namespace igstk
#endif // __igstk_AscensionTrackerTool_h_
|