PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusGetUsParameterCommand.h
Go to the documentation of this file.
1 /*=Plus=header=begin======================================================
2  Program: Plus
3  Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved.
4  See License.txt for details.
5 =========================================================Plus=header=end*/
6 
7 #ifndef __vtkPlusGetUsParameterCommand_h
8 #define __vtkPlusGetUsParameterCommand_h
9 
10 #include "vtkPlusServerExport.h"
11 
12 #include "vtkPlusCommand.h"
13 
14 class vtkPlusUsDevice;
15 
21 class vtkPlusServerExport vtkPlusGetUsParameterCommand : public vtkPlusCommand
22 {
23 public:
24 
25  static vtkPlusGetUsParameterCommand* New();
27  virtual void PrintSelf(ostream& os, vtkIndent indent);
28  virtual vtkPlusCommand* Clone() { return New(); }
29 
31  virtual PlusStatus Execute();
32 
34  virtual PlusStatus ReadConfiguration(vtkXMLDataElement* aConfig);
35 
37  virtual PlusStatus WriteConfiguration(vtkXMLDataElement* aConfig);
38 
40  virtual void GetCommandNames(std::list<std::string>& cmdNames);
41 
43  virtual std::string GetDescription(const std::string& commandName);
44 
46  vtkGetStdStringMacro(UsDeviceId);
47  vtkSetStdStringMacro(UsDeviceId);
48 
49  void SetNameToGetUsParameter();
50 
51 protected:
52  vtkPlusUsDevice* GetUsDevice();
53 
56 
57 protected:
58  std::string UsDeviceId;
59 
65  std::vector<std::string> RequestedParameters;
66 
68  void operator=(const vtkPlusGetUsParameterCommand&);
69 };
70 
71 #endif
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual std::string GetDescription(const std::string &commandName)=0
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *aConfig)
virtual PlusStatus Execute()=0
This is an abstract superclass for commands in the OpenIGTLink network interface for Plus.
This command requests ultrasound parameter change in the client.
igsioStatus PlusStatus
Definition: PlusCommon.h:40
vtkGetStdStringMacro(Name)
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *aConfig)
vtkSetStdStringMacro(Name)
virtual void GetCommandNames(std::list< std::string > &cmdNames)=0
Abstract interface for ultrasound video devices.
std::vector< std::string > RequestedParameters