7 #ifndef __vtkPlusUSDigitalEncodersCommand_h 8 #define __vtkPlusUSDigitalEncodersCommand_h 10 #include "vtkPlusServerExport.h" 30 virtual void PrintSelf(ostream& os, vtkIndent indent);
46 virtual std::string
GetDescription(
const std::string& commandName);
49 virtual std::string GetDeviceId()
const;
50 virtual void SetDeviceId(
const std::string& deviceId);
55 vtkSetMacro(ResponseExpected,
bool);
56 vtkGetMacro(ResponseExpected,
bool);
57 vtkBooleanMacro(ResponseExpected,
bool);
59 void SetNameToEncoderCommand();
69 bool ResponseExpected;
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.
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *aConfig)
virtual vtkPlusCommand * Clone()
This command controls USDigitalEncodersTracker devices.This command is used for controlling a USDigit...
virtual void GetCommandNames(std::list< std::string > &cmdNames)=0
std::list< std::pair< std::string, std::string > > CommandList