PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
#include <src/PlusDataCollection/BrachyTracking/PlusBrachyStepper.h>
Public Types | |
enum | BRACHY_STEPPER_TYPE { UNDEFINED_STEPPER, BURDETTE_MEDICAL_SYSTEMS_DIGITAL_STEPPER, BURDETTE_MEDICAL_SYSTEMS_DIGITAL_MOTORIZED_STEPPER, CMS_ACCUSEED_DS300, CIVCO_STEPPER } |
Public Member Functions | |
virtual PlusStatus | Connect ()=0 |
virtual PlusStatus | Disconnect ()=0 |
BRACHY_STEPPER_TYPE | GetBrachyStepperType () const |
virtual PlusStatus | GetDeviceModelInfo (std::string &version, std::string &model, std::string &serial)=0 |
virtual PlusStatus | GetEncoderValues (double &PPosition, double &GPosition, double &RPosition, unsigned long &PositionRequestNumber)=0 |
virtual PlusStatus | InitializeStepper (std::string &CalibMsg)=0 |
virtual PlusStatus | IsStepperAlive ()=0 |
PlusBrachyStepper () | |
virtual PlusStatus | ResetStepper ()=0 |
virtual PlusStatus | SetBaudRate (unsigned long BaudRate)=0 |
void | SetBrachyStepperType (BRACHY_STEPPER_TYPE type) |
virtual PlusStatus | SetCOMPort (unsigned long COMPort)=0 |
virtual | ~PlusBrachyStepper () |
Static Public Member Functions | |
static std::string | GetBrachyStepperTypeInString (BRACHY_STEPPER_TYPE stepperType) |
Protected Attributes | |
BRACHY_STEPPER_TYPE | m_BrachyStepperType |
unsigned long | m_PositionRequestNumber |
Definition at line 17 of file PlusBrachyStepper.h.
Stepper type enumeration
Enumerator | |
---|---|
UNDEFINED_STEPPER | |
BURDETTE_MEDICAL_SYSTEMS_DIGITAL_STEPPER | |
BURDETTE_MEDICAL_SYSTEMS_DIGITAL_MOTORIZED_STEPPER | |
CMS_ACCUSEED_DS300 | |
CIVCO_STEPPER |
Definition at line 21 of file PlusBrachyStepper.h.
|
inline |
Constructor
Definition at line 31 of file PlusBrachyStepper.h.
|
inlinevirtual |
Definition at line 36 of file PlusBrachyStepper.h.
|
pure virtual |
Destructor
Implemented in PlusCmsBrachyStepper, and PlusCivcoBrachyStepper.
|
pure virtual |
Disconnect from stepper
Implemented in PlusCmsBrachyStepper, and PlusCivcoBrachyStepper.
|
inline |
Definition at line 68 of file PlusBrachyStepper.h.
|
inlinestatic |
Get brachy stepper type in string format
Definition at line 71 of file PlusBrachyStepper.h.
|
pure virtual |
Get stepper model specific information from device
Implemented in PlusCmsBrachyStepper, and PlusCivcoBrachyStepper.
|
pure virtual |
Get raw encoder values from stepper
Implemented in PlusCmsBrachyStepper, and PlusCivcoBrachyStepper.
|
pure virtual |
Initialize stepper
Implemented in PlusCmsBrachyStepper, and PlusCivcoBrachyStepper.
|
pure virtual |
Get notification from the stepper
Implemented in PlusCmsBrachyStepper, and PlusCivcoBrachyStepper.
|
pure virtual |
Reset stepper
Implemented in PlusCmsBrachyStepper, and PlusCivcoBrachyStepper.
|
pure virtual |
Set baud rate for communication with the stepper
Implemented in PlusCmsBrachyStepper, and PlusCivcoBrachyStepper.
|
inline |
Set/get bracy stepper type from BRACHY_STEPPER_TYPE
Definition at line 67 of file PlusBrachyStepper.h.
|
pure virtual |
Set COM port number for cummunication with the stepper
Implemented in PlusCmsBrachyStepper, and PlusCivcoBrachyStepper.
|
protected |
Type of the current brachy stepper
Definition at line 103 of file PlusBrachyStepper.h.
|
protected |
Number of position requests performed
Definition at line 106 of file PlusBrachyStepper.h.