7 #ifndef __vtkPlusGenericSerialCommand_h 8 #define __vtkPlusGenericSerialCommand_h 10 #include "vtkPlusServerExport.h" 29 virtual void PrintSelf(ostream& os, vtkIndent indent);
45 virtual std::string
GetDescription(
const std::string& commandName);
48 virtual std::string GetDeviceId()
const;
49 virtual void SetDeviceId(
const std::string& deviceId);
54 vtkSetMacro(ResponseExpected,
bool);
55 vtkGetMacro(ResponseExpected,
bool);
56 vtkBooleanMacro(ResponseExpected,
bool);
58 void SetNameToSerial();
64 std::string GetCommandName()
const;
65 void SetCommandName(
const std::string&
text);
66 std::string GetCommandValue()
const;
67 void SetCommandValue(
const std::string&
text);
71 std::string CommandName;
72 std::string CommandValue;
73 bool ResponseExpected;
virtual vtkPlusCommand * Clone()
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 void GetCommandNames(std::list< std::string > &cmdNames)=0
PhidgetLCD_Font int int const char * text
This command is for communicating with vtkPlusGenericSerialDevices.This command is used for communica...