7 #ifndef __vtkPlusGetFrameRateCommand_h 8 #define __vtkPlusGetFrameRateCommand_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 GetChannelId()
const;
49 virtual void SetChannelId(
const std::string& channelId);
54 vtkSetMacro(ResponseExpected,
bool);
55 vtkGetMacro(ResponseExpected,
bool);
56 vtkBooleanMacro(ResponseExpected,
bool);
58 void SetNameToGetFrameRate();
65 std::string ChannelId;
66 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 command returns the current frame rate from a vtkPlusChannel's DataSource.This command is used f...
This is an abstract superclass for commands in the OpenIGTLink network interface for Plus.
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *aConfig)
virtual vtkPlusCommand * Clone()
virtual void GetCommandNames(std::list< std::string > &cmdNames)=0