7 #ifndef __vtkPlusSaveConfigCommand_h 8 #define __vtkPlusSaveConfigCommand_h 10 #include "vtkPlusServerExport.h" 27 virtual void PrintSelf(ostream& os, vtkIndent indent);
43 virtual std::string
GetDescription(
const std::string& commandName);
48 void SetNameToSaveConfig();
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.
vtkGetStdStringMacro(Name)
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *aConfig)
vtkSetStdStringMacro(Name)
virtual void GetCommandNames(std::list< std::string > &cmdNames)=0
virtual vtkPlusCommand * Clone()
This command forces the data collector to save the config file.