PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
#include <src/PlusDataCollection/BrachyTracking/PlusCivcoBrachyStepper.h>
Public Member Functions | |
virtual PlusStatus | Connect () |
virtual PlusStatus | Disconnect () |
virtual PlusStatus | GetDeviceModelInfo (std::string &version, std::string &model, std::string &serial) |
virtual PlusStatus | GetEncoderValues (double &PPosition, double &GPosition, double &RPosition, unsigned long &PositionRequestNumber) |
virtual PlusStatus | InitializeStepper (std::string &CalibMsg) |
virtual PlusStatus | IsStepperAlive () |
PlusCivcoBrachyStepper (unsigned long COMPort=1, unsigned long BaudRate=9600) | |
virtual PlusStatus | ResetStepper () |
virtual PlusStatus | SetBaudRate (unsigned long BaudRate) |
virtual PlusStatus | SetCOMPort (unsigned long COMPort) |
virtual | ~PlusCivcoBrachyStepper () |
Public Member Functions inherited from PlusBrachyStepper | |
BRACHY_STEPPER_TYPE | GetBrachyStepperType () const |
PlusBrachyStepper () | |
void | SetBrachyStepperType (BRACHY_STEPPER_TYPE type) |
virtual | ~PlusBrachyStepper () |
Protected Member Functions | |
double | ConvertFloatToDecimal (long floatPoint) |
long | GetNumberOfSeiDevices () |
PlusStatus | GetSeiDeviceInfo (long devnum, long &model, long &serialnum, long &version, long &addr) |
Protected Attributes | |
long | m_BaudRate |
long | m_COMPort |
long | m_DeviceAddress |
long | m_DeviceNumber |
Protected Attributes inherited from PlusBrachyStepper | |
BRACHY_STEPPER_TYPE | m_BrachyStepperType |
unsigned long | m_PositionRequestNumber |
Additional Inherited Members | |
Public Types inherited from PlusBrachyStepper | |
enum | BRACHY_STEPPER_TYPE { UNDEFINED_STEPPER, BURDETTE_MEDICAL_SYSTEMS_DIGITAL_STEPPER, BURDETTE_MEDICAL_SYSTEMS_DIGITAL_MOTORIZED_STEPPER, CMS_ACCUSEED_DS300, CIVCO_STEPPER } |
Static Public Member Functions inherited from PlusBrachyStepper | |
static std::string | GetBrachyStepperTypeInString (BRACHY_STEPPER_TYPE stepperType) |
Definition at line 24 of file PlusCivcoBrachyStepper.h.
PlusCivcoBrachyStepper::PlusCivcoBrachyStepper | ( | unsigned long | COMPort = 1 , |
unsigned long | BaudRate = 9600 |
||
) |
Constructor
Definition at line 14 of file PlusCivcoBrachyStepper.cxx.
|
virtual |
Destructor
Definition at line 27 of file PlusCivcoBrachyStepper.cxx.
|
virtual |
Connect to CIVCO stepper
Implements PlusBrachyStepper.
Definition at line 33 of file PlusCivcoBrachyStepper.cxx.
|
protected |
IEEE Standard 754 floating point to double conversion
Definition at line 146 of file PlusCivcoBrachyStepper.cxx.
|
virtual |
Disconnect from CIVCO stepper
Implements PlusBrachyStepper.
Definition at line 86 of file PlusCivcoBrachyStepper.cxx.
|
virtual |
Get device mode information
Implements PlusBrachyStepper.
Definition at line 185 of file PlusCivcoBrachyStepper.cxx.
|
virtual |
Get raw encoder values from stepper
Implements PlusBrachyStepper.
Definition at line 104 of file PlusCivcoBrachyStepper.cxx.
|
protected |
Returns number of devices found on the SEI bus
Definition at line 279 of file PlusCivcoBrachyStepper.cxx.
|
protected |
Get information about the SEI device
Definition at line 285 of file PlusCivcoBrachyStepper.cxx.
|
virtual |
Initialize stepper
Implements PlusBrachyStepper.
Definition at line 228 of file PlusCivcoBrachyStepper.cxx.
|
virtual |
Return whether stepper is alive
Implements PlusBrachyStepper.
Definition at line 236 of file PlusCivcoBrachyStepper.cxx.
|
virtual |
Reset stepper
Implements PlusBrachyStepper.
Definition at line 216 of file PlusCivcoBrachyStepper.cxx.
|
virtual |
Set baud rate of communication
Implements PlusBrachyStepper.
Definition at line 248 of file PlusCivcoBrachyStepper.cxx.
|
virtual |
Set used COM port for communication
Implements PlusBrachyStepper.
Definition at line 265 of file PlusCivcoBrachyStepper.cxx.
|
protected |
Baud rate
Definition at line 74 of file PlusCivcoBrachyStepper.h.
|
protected |
Used COM port number
Definition at line 71 of file PlusCivcoBrachyStepper.h.
|
protected |
Device address
Definition at line 80 of file PlusCivcoBrachyStepper.h.
|
protected |
Device number
Definition at line 77 of file PlusCivcoBrachyStepper.h.