PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
This command controls USDigitalEncodersTracker devices.This command is used for controlling a USDigitalEncodersTracker device to reset or retrieve the positions of its individual encoders. More...
#include <src/PlusServer/Commands/vtkPlusUSDigitalEncoderCommand.h>
Public Types | |
typedef vtkPlusCommand | Superclass |
Public Member Functions | |
virtual vtkPlusCommand * | Clone () |
virtual PlusStatus | Execute () |
virtual const char * | GetClassName () |
virtual void | GetCommandNames (std::list< std::string > &cmdNames) |
virtual std::string | GetDescription (const std::string &commandName) |
virtual std::string | GetDeviceId () const |
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 | SetDeviceId (const std::string &deviceId) |
void | SetNameToEncoderCommand () |
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 vtkPlusUSDigitalEncoderCommand * | New () |
static vtkPlusUSDigitalEncoderCommand * | 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 | |
vtkPlusUSDigitalEncoderCommand () | |
virtual | ~vtkPlusUSDigitalEncoderCommand () |
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 () |
Protected Attributes | |
std::list< std::pair< std::string, std::string > > | CommandList |
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 |
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" |
This command controls USDigitalEncodersTracker devices.
This command is used for controlling a USDigitalEncodersTracker device to reset or retrieve the positions of its individual encoders.
Definition at line 24 of file vtkPlusUSDigitalEncoderCommand.h.
Definition at line 29 of file vtkPlusUSDigitalEncoderCommand.h.
|
protected |
Definition at line 21 of file vtkPlusUSDigitalEncoderCommand.cxx.
|
protectedvirtual |
Definition at line 28 of file vtkPlusUSDigitalEncoderCommand.cxx.
|
inlinevirtual |
Implements vtkPlusCommand.
Definition at line 31 of file vtkPlusUSDigitalEncoderCommand.h.
|
virtual |
Executes the command
Implements vtkPlusCommand.
Definition at line 133 of file vtkPlusUSDigitalEncoderCommand.cxx.
|
virtual |
|
virtual |
Get all the command names that this class can execute
Implements vtkPlusCommand.
Definition at line 39 of file vtkPlusUSDigitalEncoderCommand.cxx.
|
virtual |
Gets the description for the specified command name.
Implements vtkPlusCommand.
Definition at line 46 of file vtkPlusUSDigitalEncoderCommand.cxx.
|
virtual |
Id of the device that the command will be sent to
Definition at line 58 of file vtkPlusUSDigitalEncoderCommand.cxx.
|
virtual |
|
virtual |
|
static |
|
static |
|
virtual |
Reimplemented from vtkPlusCommand.
Definition at line 70 of file vtkPlusUSDigitalEncoderCommand.cxx.
|
virtual |
Read command parameters from XML
Reimplemented from vtkPlusCommand.
Definition at line 77 of file vtkPlusUSDigitalEncoderCommand.cxx.
|
virtual |
|
virtual |
|
static |
|
virtual |
Definition at line 64 of file vtkPlusUSDigitalEncoderCommand.cxx.
void vtkPlusUSDigitalEncoderCommand::SetNameToEncoderCommand | ( | ) |
Definition at line 33 of file vtkPlusUSDigitalEncoderCommand.cxx.
|
virtual |
If true then the command waits for a response and returns with the received command response.
|
virtual |
Write command parameters to XML
Reimplemented from vtkPlusCommand.
Definition at line 122 of file vtkPlusUSDigitalEncoderCommand.cxx.
|
protected |
Definition at line 65 of file vtkPlusUSDigitalEncoderCommand.h.