Motion Master
Loading...
Searching...
No Matches
SiUnitVelocity Class Reference

#include <si_unit_velocity.h>

Public Types

enum  Type {
  kUnspecified = 0 , kTeraRpm , kGigaRpm , kMegaRpm ,
  kKiloRpm , kRpm , kDeciRpm , kCentiRpm ,
  kMilliRpm , kTeraRps , kGigaRps , kMegaRps ,
  kKiloRps , kRps , kDeciRps , kCentiRps ,
  kMilliRps
}

Public Member Functions

 SiUnitVelocity (Cia402Drive *cia402_drive)
Type get_type ()
MotionMasterError set_type (Type type, bool scale_other_parameters=true, bool restore_type=false)
MotionMasterError restore_type ()
double get_scale () const
uint32_t get_code () const
bool is_valid ()

Member Enumeration Documentation

◆ Type

Enumerator
kUnspecified 
kTeraRpm 
kGigaRpm 
kMegaRpm 
kKiloRpm 
kRpm 
kDeciRpm 
kCentiRpm 
kMilliRpm 
kTeraRps 
kGigaRps 
kMegaRps 
kKiloRps 
kRps 
kDeciRps 
kCentiRps 
kMilliRps 

Constructor & Destructor Documentation

◆ SiUnitVelocity()

SiUnitVelocity::SiUnitVelocity ( Cia402Drive * cia402_drive)
explicit

Member Function Documentation

◆ get_code()

uint32_t SiUnitVelocity::get_code ( ) const

◆ get_scale()

double SiUnitVelocity::get_scale ( ) const

◆ get_type()

SiUnitVelocity::Type SiUnitVelocity::get_type ( )

◆ is_valid()

bool SiUnitVelocity::is_valid ( )

◆ restore_type()

MotionMasterError SiUnitVelocity::restore_type ( )

◆ set_type()

MotionMasterError SiUnitVelocity::set_type ( Type type,
bool scale_other_parameters = true,
bool restore_type = false )

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