Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
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_HEADER_INCLUDED_
14 #define MITKUSAbstractControlInterface_H_HEADER_INCLUDED_
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 // MITKUSAbstractControlInterface_H_HEADER_INCLUDED_
Superclass for all ultrasound device control interfaces. Defines an interface for activating and deac...
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:49
#define MITKUS_EXPORT
Definition: MitkUSExports.h:15