MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkUSAbstractControlInterface.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found 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
21namespace itk {
22 template<class T> class SmartPointer;
23}
24
25namespace mitk {
26 class USDevice;
27
32class MITKUS_EXPORT USAbstractControlInterface : public itk::Object
33{
34public:
36
43 virtual void SetIsActive( bool isActive ) = 0;
44
50 virtual bool GetIsActive( ) = 0;
51
52protected:
55
56 itk::WeakPointer<USDevice> m_Device;
57};
58} // namespace mitk
59
60#endif
Superclass for all ultrasound device control interfaces. Defines an interface for activating and deac...
mitkClassMacroItkParent(USAbstractControlInterface, itk::Object)
virtual void SetIsActive(bool isActive)=0
IGT Exceptions.