IGSTK
igstkWebcamWinVideoImagerTool.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Image Guided Surgery Software Toolkit
4  Module: $RCSfile: igstkWebcamWinVideoImagerTool.h,v $
5  Language: C++
6  Date: $Date: 2009-06-18 18:40:55 $
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 #ifndef __igstkWebcamWinVideoImagerTool_h
19 #define __igstkWebcamWinVideoImagerTool_h
20 
21 #include "igstkVideoImagerTool.h"
22 
23 namespace igstk
24 {
25 
26 class WebcamWinVideoImager;
27 
39 {
40 public:
41 
44 
45 
46  igstkGetStringMacro( VideoImagerToolName );
47 
49  void RequestSetVideoImagerToolName( const std::string &);
50 
51 protected:
52 
54  virtual ~WebcamWinVideoImagerTool();
55 
57  virtual void PrintSelf( std::ostream& os, ::itk::Indent indent ) const;
58 
59 private:
60  WebcamWinVideoImagerTool(const Self&); //purposely not implemented
61  void operator=(const Self&); //purposely not implemented
62 
64  igstkDeclareStateMacro( Idle );
65  igstkDeclareStateMacro( VideoImagerToolNameSpecified );
66 
68  igstkDeclareInputMacro( ValidVideoImagerToolName );
69  igstkDeclareInputMacro( InValidVideoImagerToolName );
70 
73  virtual bool CheckIfVideoImagerToolIsConfigured() const;
74 
76  void ReportInvalidVideoImagerToolNameSpecifiedProcessing( );
77 
79  void ReportInvalidRequestProcessing();
80 
82  void SetVideoImagerToolNameProcessing();
83 
84  std::string m_VideoImagerToolName;
85  std::string m_VideoImagerToolNameToBeSet;
86 
87  bool m_VideoImagerToolConfigured;
88 
89 };
90 
91 } // namespace igstk
92 
93 #endif // __igstk_WebcamWinVideoImagerTool_h_
Base class for all the IGSTK classes.
Definition: igstkObject.h:40
A WebcamWin -specific VideoImagerTool class.
#define igstkGetStringMacro(name)
Get character string.
Definition: igstkMacros.h:180
igstkStandardClassTraitsMacro(WebcamWinVideoImagerTool, VideoImagerTool) igstkGetStringMacro(VideoImagerToolName)
Macro with standard traits declarations.
Abstract superclass for concrete IGSTK VideoImagerTool classes.
virtual void PrintSelf(std::ostream &os,::itk::Indent indent) const
Print object information.
void RequestSetVideoImagerToolName(const std::string &)
Set imager tool VideoImagerTool name.