PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkPlusAddRecordingDeviceCommand Class Reference

This command adds a virtual capture device with the attached arguments as input channels. More...

#include <src/PlusServer/Commands/vtkPlusAddRecordingDeviceCommand.h>

Inheritance diagram for vtkPlusAddRecordingDeviceCommand:
Inheritance graph
[legend]
Collaboration diagram for vtkPlusAddRecordingDeviceCommand:
Collaboration graph
[legend]

Public Types

typedef vtkPlusCommand Superclass
 

Public Member Functions

virtual vtkPlusCommandClone ()
 
virtual PlusStatus Execute ()
 
virtual const char * GetClassName ()
 
virtual void GetCommandNames (std::list< std::string > &cmdNames)
 
virtual std::string GetDescription (const std::string &commandName)
 
virtual int IsA (const char *type)
 
void SetNameToAddRecordingDevice ()
 
- Public Member Functions inherited from vtkPlusCommand
virtual int GetClientId ()
 
virtual uint32_t GetId ()
 
virtual bool GetRespondWithCommandMessage ()
 
void PopCommandResponses (PlusCommandResponseList &responses)
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 
virtual PlusStatus ReadConfiguration (vtkXMLDataElement *aConfig)
 
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)
 
virtual PlusStatus WriteConfiguration (vtkXMLDataElement *aConfig)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkPlusAddRecordingDeviceCommandNew ()
 
static vtkPlusAddRecordingDeviceCommandSafeDownCast (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

 vtkPlusAddRecordingDeviceCommand ()
 
virtual ~vtkPlusAddRecordingDeviceCommand ()
 
- Protected Member Functions inherited from vtkPlusCommand
virtual vtkPlusDataCollectorGetDataCollector ()
 
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
 
vtkPlusCommandProcessorCommandProcessor
 
PlusCommandResponseList CommandResponseQueue
 
std::string DeviceName
 
uint32_t Id
 
igtl::MessageBase::MetaDataMap MetaData
 
std::string Name
 
bool RespondWithCommandMessage
 

Detailed Description

This command adds a virtual capture device with the attached arguments as input channels.

Definition at line 19 of file vtkPlusAddRecordingDeviceCommand.h.

Member Typedef Documentation

◆ Superclass

Definition at line 23 of file vtkPlusAddRecordingDeviceCommand.h.

Constructor & Destructor Documentation

◆ vtkPlusAddRecordingDeviceCommand()

vtkPlusAddRecordingDeviceCommand::vtkPlusAddRecordingDeviceCommand ( )
protected

Definition at line 30 of file vtkPlusAddRecordingDeviceCommand.cxx.

◆ ~vtkPlusAddRecordingDeviceCommand()

vtkPlusAddRecordingDeviceCommand::~vtkPlusAddRecordingDeviceCommand ( )
protectedvirtual

Definition at line 37 of file vtkPlusAddRecordingDeviceCommand.cxx.

Member Function Documentation

◆ Clone()

virtual vtkPlusCommand* vtkPlusAddRecordingDeviceCommand::Clone ( )
inlinevirtual

Implements vtkPlusCommand.

Definition at line 24 of file vtkPlusAddRecordingDeviceCommand.h.

◆ Execute()

PlusStatus vtkPlusAddRecordingDeviceCommand::Execute ( )
virtual

Executes the command

Implements vtkPlusCommand.

Definition at line 68 of file vtkPlusAddRecordingDeviceCommand.cxx.

◆ GetClassName()

virtual const char* vtkPlusAddRecordingDeviceCommand::GetClassName ( )
virtual

◆ GetCommandNames()

void vtkPlusAddRecordingDeviceCommand::GetCommandNames ( std::list< std::string > &  cmdNames)
virtual

Get all the command names that this class can execute

Implements vtkPlusCommand.

Definition at line 49 of file vtkPlusAddRecordingDeviceCommand.cxx.

◆ GetDescription()

std::string vtkPlusAddRecordingDeviceCommand::GetDescription ( const std::string &  commandName)
virtual

Gets the description for the specified command name.

Implements vtkPlusCommand.

Definition at line 56 of file vtkPlusAddRecordingDeviceCommand.cxx.

◆ IsA()

virtual int vtkPlusAddRecordingDeviceCommand::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkPlusAddRecordingDeviceCommand::IsTypeOf ( const char *  type)
static

◆ New()

static vtkPlusAddRecordingDeviceCommand* vtkPlusAddRecordingDeviceCommand::New ( )
static

◆ SafeDownCast()

static vtkPlusAddRecordingDeviceCommand* vtkPlusAddRecordingDeviceCommand::SafeDownCast ( vtkObject *  o)
static

◆ SetNameToAddRecordingDevice()

void vtkPlusAddRecordingDeviceCommand::SetNameToAddRecordingDevice ( )

Definition at line 43 of file vtkPlusAddRecordingDeviceCommand.cxx.


The documentation for this class was generated from the following files: