|
PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
This command returns the current frame rate from a vtkPlusChannel's DataSource.This command is used for communicating with a vtkPlusChannel. More...
#include <src/PlusServer/Commands/vtkPlusGetFrameRateCommand.h>


Public Types | |
| typedef vtkPlusCommand | Superclass |
Public Member Functions | |
| virtual vtkPlusCommand * | Clone () |
| virtual PlusStatus | Execute () |
| virtual std::string | GetChannelId () const |
| virtual const char * | GetClassName () |
| virtual void | GetCommandNames (std::list< std::string > &cmdNames) |
| virtual std::string | GetDescription (const std::string &commandName) |
| virtual bool | GetResponseExpected () |
| virtual int | IsA (const char *type) |
| virtual void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual PlusStatus | ReadConfiguration (vtkXMLDataElement *aConfig) |
| virtual void | ResponseExpectedOff () |
| virtual void | ResponseExpectedOn () |
| virtual void | SetChannelId (const std::string &channelId) |
| void | SetNameToGetFrameRate () |
| virtual void | SetResponseExpected (bool) |
| virtual PlusStatus | WriteConfiguration (vtkXMLDataElement *aConfig) |
Public Member Functions inherited from vtkPlusCommand | |
| virtual int | GetClientId () |
| virtual uint32_t | GetId () |
| virtual bool | GetRespondWithCommandMessage () |
| void | PopCommandResponses (PlusCommandResponseList &responses) |
| virtual void | SetClientId (int) |
| virtual void | SetCommandProcessor (vtkPlusCommandProcessor *processor) |
| virtual void | SetId (uint32_t) |
| void | SetMetaData (const igtl::MessageBase::MetaDataMap &metaData) |
| virtual void | SetRespondWithCommandMessage (bool) |
| vtkGetStdStringMacro (Name) | |
| vtkGetStdStringMacro (DeviceName) | |
| vtkSetStdStringMacro (Name) | |
| vtkSetStdStringMacro (DeviceName) | |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkPlusGetFrameRateCommand * | New () |
| static vtkPlusGetFrameRateCommand * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkPlusCommand | |
| static PlusStatus | GenerateCommandDeviceName (const std::string &uid, std::string &outDeviceName) |
| static std::string | GenerateReplyDeviceName (uint32_t uid) |
| static std::string | GetPrefixFromCommandDeviceName (const std::string &deviceName) |
| static std::string | GetUidFromCommandDeviceName (const std::string &deviceName) |
| static bool | IsCommandDeviceName (const std::string &deviceName) |
| static bool | IsReplyDeviceName (const std::string &deviceName, const std::string &uid=std::string("")) |
Protected Member Functions | |
| vtkPlusGetFrameRateCommand () | |
| virtual | ~vtkPlusGetFrameRateCommand () |
Protected Member Functions inherited from vtkPlusCommand | |
| virtual vtkPlusDataCollector * | GetDataCollector () |
| virtual vtkIGSIOTransformRepository * | GetTransformRepository () |
| void | QueueCommandResponse (PlusStatus status, const std::string &message, const std::string &error="", const igtl::MessageBase::MetaDataMap *metaData=nullptr) |
| PlusStatus | ValidateName () |
| vtkPlusCommand () | |
| virtual | ~vtkPlusCommand () |
Additional Inherited Members | |
Static Public Attributes inherited from vtkPlusCommand | |
| static const std::string | DEVICE_NAME_COMMAND = "CMD" |
| static const std::string | DEVICE_NAME_REPLY = "ACK" |
Protected Attributes inherited from vtkPlusCommand | |
| int | ClientId |
| vtkPlusCommandProcessor * | CommandProcessor |
| PlusCommandResponseList | CommandResponseQueue |
| std::string | DeviceName |
| uint32_t | Id |
| igtl::MessageBase::MetaDataMap | MetaData |
| std::string | Name |
| bool | RespondWithCommandMessage |
This command returns the current frame rate from a vtkPlusChannel's DataSource.
This command is used for communicating with a vtkPlusChannel.
Definition at line 23 of file vtkPlusGetFrameRateCommand.h.
Definition at line 28 of file vtkPlusGetFrameRateCommand.h.
|
protected |
Definition at line 22 of file vtkPlusGetFrameRateCommand.cxx.
|
protectedvirtual |
Definition at line 30 of file vtkPlusGetFrameRateCommand.cxx.
|
inlinevirtual |
Implements vtkPlusCommand.
Definition at line 30 of file vtkPlusGetFrameRateCommand.h.
|
virtual |
Executes the command
Implements vtkPlusCommand.
Definition at line 100 of file vtkPlusGetFrameRateCommand.cxx.
|
virtual |
Id of the channel to pull frame rate information from.
Definition at line 60 of file vtkPlusGetFrameRateCommand.cxx.
|
virtual |
|
virtual |
Get all the command names that this class can execute
Implements vtkPlusCommand.
Definition at line 41 of file vtkPlusGetFrameRateCommand.cxx.
|
virtual |
Gets the description for the specified command name.
Implements vtkPlusCommand.
Definition at line 48 of file vtkPlusGetFrameRateCommand.cxx.
|
virtual |
|
virtual |
|
static |
|
static |
|
virtual |
Reimplemented from vtkPlusCommand.
Definition at line 72 of file vtkPlusGetFrameRateCommand.cxx.
|
virtual |
Read command parameters from XML
Reimplemented from vtkPlusCommand.
Definition at line 78 of file vtkPlusGetFrameRateCommand.cxx.
|
virtual |
|
virtual |
|
static |
|
virtual |
Definition at line 66 of file vtkPlusGetFrameRateCommand.cxx.
| void vtkPlusGetFrameRateCommand::SetNameToGetFrameRate | ( | ) |
Definition at line 35 of file vtkPlusGetFrameRateCommand.cxx.
|
virtual |
If true then the command waits for a response and returns with the received frame rate in the command response.
|
virtual |
Write command parameters to XML
Reimplemented from vtkPlusCommand.
Definition at line 89 of file vtkPlusGetFrameRateCommand.cxx.
1.8.15