aevit::vehicle_frame_t Class Reference

#include <vehicle_frame.H>

Inheritance diagram for aevit::vehicle_frame_t:
aevit::frame_t

List of all members.

Public Member Functions

 vehicle_frame_t (frame_t const &frame_)
bool present () const
bool booted () const
bool valid_coil_pulse () const
bool brake_lights () const
bool park_lights () const
bool steering_servo_engaged () const
bool remote_off_switch () const
bool ignition () const
double speed () const
bool throttle_clutch_engaged () const
unsigned generic () const
double battery_1_voltage () const
double battery_2_voltage () const
unsigned command () const

Static Protected Attributes

static unsigned const PRESENT_MASK = 0x01
static unsigned const BOOTED_MASK = 0x02
static unsigned const VALID_COIL_PULSE_MASK = 0x04
static unsigned const BRAKE_LIGHTS_MASK = 0x08
static unsigned const PARK_LIGHTS_MASK = 0x10
static unsigned const STEERING_SERVO_ENGAGED_MASK = 0x20
static unsigned const REMOTE_OFF_SWITCH_MASK = 0x40
static unsigned const IGNITION_MASK = 0x80
static unsigned const SPEED_OFFSET = 1
static unsigned const THROTTLE_CLUTCH_ENGAGED_MASK = 0x01
static unsigned const GENERIC_LO_OFFSET = 3
static unsigned const GENERIC_HI_OFFSET = 4
static unsigned const BATTERY_1_VOLTAGE_OFFSET = 5
static unsigned const BATTERY_2_VOLTAGE_OFFSET = 6
static unsigned const COMMAND_OFFSET = 7

Constructor & Destructor Documentation

aevit::vehicle_frame_t::vehicle_frame_t ( frame_t const &  frame_  )  [inline]

Member Function Documentation

double aevit::vehicle_frame_t::battery_1_voltage (  )  const [inline]
double aevit::vehicle_frame_t::battery_2_voltage (  )  const [inline]
bool aevit::vehicle_frame_t::booted (  )  const [inline]
bool aevit::vehicle_frame_t::brake_lights (  )  const [inline]
unsigned aevit::vehicle_frame_t::command (  )  const [inline]
unsigned aevit::vehicle_frame_t::generic (  )  const [inline]
bool aevit::vehicle_frame_t::ignition (  )  const [inline]
bool aevit::vehicle_frame_t::park_lights (  )  const [inline]
bool aevit::vehicle_frame_t::present (  )  const [inline]
bool aevit::vehicle_frame_t::remote_off_switch (  )  const [inline]
double aevit::vehicle_frame_t::speed (  )  const [inline]
bool aevit::vehicle_frame_t::steering_servo_engaged (  )  const [inline]
bool aevit::vehicle_frame_t::throttle_clutch_engaged (  )  const [inline]
bool aevit::vehicle_frame_t::valid_coil_pulse (  )  const [inline]

Member Data Documentation

unsigned const aevit::vehicle_frame_t::BATTERY_1_VOLTAGE_OFFSET = 5 [static, protected]

Referenced by battery_1_voltage().

unsigned const aevit::vehicle_frame_t::BATTERY_2_VOLTAGE_OFFSET = 6 [static, protected]

Referenced by battery_2_voltage().

unsigned const aevit::vehicle_frame_t::BOOTED_MASK = 0x02 [static, protected]

Referenced by booted().

unsigned const aevit::vehicle_frame_t::BRAKE_LIGHTS_MASK = 0x08 [static, protected]

Referenced by brake_lights().

unsigned const aevit::vehicle_frame_t::COMMAND_OFFSET = 7 [static, protected]

Referenced by command().

unsigned const aevit::vehicle_frame_t::GENERIC_HI_OFFSET = 4 [static, protected]

Referenced by generic().

unsigned const aevit::vehicle_frame_t::GENERIC_LO_OFFSET = 3 [static, protected]

Referenced by generic().

unsigned const aevit::vehicle_frame_t::IGNITION_MASK = 0x80 [static, protected]

Referenced by ignition().

unsigned const aevit::vehicle_frame_t::PARK_LIGHTS_MASK = 0x10 [static, protected]

Referenced by park_lights().

unsigned const aevit::vehicle_frame_t::PRESENT_MASK = 0x01 [static, protected]

Referenced by present().

unsigned const aevit::vehicle_frame_t::REMOTE_OFF_SWITCH_MASK = 0x40 [static, protected]

Referenced by remote_off_switch().

unsigned const aevit::vehicle_frame_t::SPEED_OFFSET = 1 [static, protected]

Referenced by speed().

unsigned const aevit::vehicle_frame_t::STEERING_SERVO_ENGAGED_MASK = 0x20 [static, protected]

Referenced by steering_servo_engaged().

unsigned const aevit::vehicle_frame_t::THROTTLE_CLUTCH_ENGAGED_MASK = 0x01 [static, protected]

Referenced by throttle_clutch_engaged().

unsigned const aevit::vehicle_frame_t::VALID_COIL_PULSE_MASK = 0x04 [static, protected]

Referenced by valid_coil_pulse().


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

Generated on Fri Apr 9 10:45:12 2010 for drivers by  doxygen 1.6.1