Laelaps  2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
laelaps::LaeRptMotorCtlrHealth Class Reference

Robot motor health. More...

#include <laeReports.h>

Public Member Functions

 LaeRptMotorCtlrHealth ()
 Default constructor.
 
 LaeRptMotorCtlrHealth (const LaeRptMotorCtlrHealth &src)
 Copy constructor.
 
 ~LaeRptMotorCtlrHealth ()
 Destructor.
 
LaeRptMotorCtlrHealth operator= (const LaeRptMotorCtlrHealth &rhs)
 Assignment operator. More...
 

Public Attributes

std::string m_strName
 motor controller name
 
double m_fTemperature
 motor controller board temperature (C)
 
double m_fVoltage
 motor controller main input voltage (V)
 
LaeAlarmInfo m_alarms
 motor controller alarms and warnings
 

Detailed Description

Robot motor health.

Definition at line 76 of file laeReports.h.

Member Function Documentation

LaeRptMotorCtlrHealth LaeRptMotorCtlrHealth::operator= ( const LaeRptMotorCtlrHealth rhs)

Assignment operator.

Parameters
rhsRight hand side object.
Returns
Returns copy of this.

Definition at line 92 of file laeReports.cxx.

References m_alarms, m_fTemperature, m_fVoltage, and m_strName.

Referenced by laelaps::LaeRptDynamics::~LaeRptDynamics(), laelaps::LaeRptDynPowertrain::~LaeRptDynPowertrain(), ~LaeRptMotorCtlrHealth(), laelaps::LaeRptMotorHealth::~LaeRptMotorHealth(), and laelaps::LaeRptRobotStatus::~LaeRptRobotStatus().

94 {
95  m_strName = rhs.m_strName;
97  m_fVoltage = rhs.m_fVoltage;
99 
100  return *this;
101 }
double m_fVoltage
motor controller main input voltage (V)
Definition: laeReports.h:81
static void copyAlarms(const LaeAlarmInfo &src, LaeAlarmInfo &dst)
Copy alarm state.
Definition: laeAlarms.cxx:362
double m_fTemperature
motor controller board temperature (C)
Definition: laeReports.h:80
std::string m_strName
motor controller name
Definition: laeReports.h:79
LaeAlarmInfo m_alarms
motor controller alarms and warnings
Definition: laeReports.h:82

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