Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkUSAbstractControlInterface.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkUSAbstractControlInterface_h
14 #define mitkUSAbstractControlInterface_h
15 
16 #include <mitkCommon.h>
17 #include <MitkUSExports.h>
18 
19 #include <itkWeakPointer.h>
20 
21 namespace itk {
22  template<class T> class SmartPointer;
23 }
24 
25 namespace mitk {
26  class USDevice;
27 
32 class MITKUS_EXPORT USAbstractControlInterface : public itk::Object
33 {
34 public:
36 
43  virtual void SetIsActive( bool isActive ) = 0;
44 
50  virtual bool GetIsActive( ) = 0;
51 
52 protected:
54  ~USAbstractControlInterface( ) override;
55 
56  itk::WeakPointer<USDevice> m_Device;
57 };
58 } // namespace mitk
59 
60 #endif
itk::SmartPointer
Definition: mitkIFileReader.h:30
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitkCommon.h
itk
SET FUNCTIONS.
Definition: itkIntelligentBinaryClosingFilter.h:30
mitk::USAbstractControlInterface::m_Device
itk::WeakPointer< USDevice > m_Device
Definition: mitkUSAbstractControlInterface.h:56
mitk::USAbstractControlInterface
Superclass for all ultrasound device control interfaces. Defines an interface for activating and deac...
Definition: mitkUSAbstractControlInterface.h:32