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

Robot base motor controller board state. More...

#include <laePlatform.h>

Public Member Functions

 LaeMotorCtlrState ()
 Default constructor.
 
 LaeMotorCtlrState (const LaeMotorCtlrState &src)
 Copy constructor.
 
 ~LaeMotorCtlrState ()
 Destructor.
 
LaeMotorCtlrState operator= (const LaeMotorCtlrState &rhs)
 Assignment operator. More...
 
void clear ()
 Clear data sans name.
 

Public Attributes

std::string m_strName
 motor controller name
 
double m_fMainVolts
 average sensed battery voltage (V)
 
double m_fBoardTemp
 average sensed interior tempature (C)
 
uint_t m_uStatus
 board status
 

Detailed Description

Robot base motor controller board state.

Definition at line 75 of file laePlatform.h.

Member Function Documentation

LaeMotorCtlrState LaeMotorCtlrState::operator= ( const LaeMotorCtlrState rhs)

Assignment operator.

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

Definition at line 90 of file laePlatform.cxx.

References m_fBoardTemp, m_fMainVolts, m_strName, and m_uStatus.

Referenced by ~LaeMotorCtlrState(), and laelaps::LaePlatform::~LaePlatform().

91 {
92  m_strName = rhs.m_strName;
95  m_uStatus = rhs.m_uStatus;
96 
97  return *this;
98 }
std::string m_strName
motor controller name
Definition: laePlatform.h:78
double m_fBoardTemp
average sensed interior tempature (C)
Definition: laePlatform.h:80
double m_fMainVolts
average sensed battery voltage (V)
Definition: laePlatform.h:79
uint_t m_uStatus
board status
Definition: laePlatform.h:81

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