7 #ifndef __vtkPlusSendTextCommand_h 8 #define __vtkPlusSendTextCommand_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);
52 virtual std::string GetText()
const;
53 virtual void SetText(
const std::string&
text);
56 virtual std::string GetResponseText()
const;
57 virtual void SetResponseText(
const std::string& responseText);
62 vtkSetMacro(ResponseExpected,
bool);
63 vtkGetMacro(ResponseExpected,
bool);
64 vtkBooleanMacro(ResponseExpected,
bool);
66 void SetNameToSendText();
75 std::string ResponseText;
76 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)
This command send text to a device and optionally return with a response textThis command is used for...
virtual vtkPlusCommand * Clone()
virtual void GetCommandNames(std::list< std::string > &cmdNames)=0
PhidgetLCD_Font int int const char * text