PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusRequestIdsCommand.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 __vtkPlusRequestIdsCommand_h
8 #define __vtkPlusRequestIdsCommand_h
9 
10 #include "vtkPlusServerExport.h"
11 
12 #include "vtkPlusCommand.h"
13 
19 class vtkPlusServerExport vtkPlusRequestIdsCommand : public vtkPlusCommand
20 {
21 public:
22 
23  static vtkPlusRequestIdsCommand* New();
25  virtual void PrintSelf(ostream& os, vtkIndent indent);
26  virtual vtkPlusCommand* Clone() { return New(); }
27 
29  virtual PlusStatus Execute();
30 
32  virtual void GetCommandNames(std::list<std::string>& cmdNames);
33 
35  virtual std::string GetDescription(const std::string& commandName);
36 
37  void SetNameToRequestChannelIds();
38  void SetNameToRequestDeviceIds();
39  void SetNameToRequestInputDeviceIds();
40  void SetNameToRequestDeviceChannelIds();
41 
43  virtual PlusStatus ReadConfiguration(vtkXMLDataElement* aConfig);
44 
46  virtual PlusStatus WriteConfiguration(vtkXMLDataElement* aConfig);
47 
51 
52  vtkGetStdStringMacro(DeviceId);
53  vtkSetStdStringMacro(DeviceId);
54 
55 protected:
56 
58  virtual ~vtkPlusRequestIdsCommand();
59 
60  std::string DeviceType;
61  std::string DeviceId;
62 
63 private:
64 
66  void operator=(const vtkPlusRequestIdsCommand&);
67 
68 };
69 
70 
71 #endif
72 
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.
igsioStatus PlusStatus
Definition: PlusCommon.h:40
vtkGetStdStringMacro(Name)
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *aConfig)
vtkSetStdStringMacro(Name)
virtual void GetCommandNames(std::list< std::string > &cmdNames)=0
virtual vtkPlusCommand * Clone()
AtracsysTracker::DEVICE_TYPE DeviceType