7 #include "PlusConfigure.h" 16 static const std::string VERSION_CMD =
"Version";
23 this->SetName(VERSION_CMD);
35 this->SetName(VERSION_CMD);
42 cmdNames.push_back(VERSION_CMD);
49 if (commandName.empty() || igsioCommon::IsEqualInsensitive(commandName, VERSION_CMD))
52 desc +=
": Send and receive version to/from the device.";
60 igtl::MessageBase::MetaDataMap metadata;
62 #if defined(_MSC_VER) && _MSC_VER < 1700 virtual PlusStatus Execute()
virtual int GetIGTLProtocolVersion()
virtual ~vtkPlusVersionCommand()
virtual std::string GetDescription(const std::string &commandName)
std::string to_string(ClariusAvailability avail)
virtual vtkPlusOpenIGTLinkServer * GetPlusServer()
vtkStandardNewMacro(vtkPlusVersionCommand)
vtkPlusCommandProcessor * CommandProcessor
virtual int GetIGTLHeaderVersion()
void QueueCommandResponse(PlusStatus status, const std::string &message, const std::string &error="", const igtl::MessageBase::MetaDataMap *metaData=nullptr)
virtual void GetCommandNames(std::list< std::string > &cmdNames)
This command sends and receives version information to/from a client.
vtkPlusCommonExport std::string GetPlusLibVersionString()