APM:Libraries
Public Member Functions | Protected Attributes | List of all members
AP_RPM_Backend Class Referenceabstract

#include <RPM_Backend.h>

Inheritance diagram for AP_RPM_Backend:
[legend]
Collaboration diagram for AP_RPM_Backend:
[legend]

Public Member Functions

 AP_RPM_Backend (AP_RPM &_ap_rpm, uint8_t instance, AP_RPM::RPM_State &_state)
 
virtual ~AP_RPM_Backend (void)
 
virtual void update ()=0
 
int8_t get_pin (void) const
 

Protected Attributes

AP_RPMap_rpm
 
AP_RPM::RPM_Statestate
 

Detailed Description

Definition at line 21 of file RPM_Backend.h.

Constructor & Destructor Documentation

◆ AP_RPM_Backend()

AP_RPM_Backend::AP_RPM_Backend ( AP_RPM _ap_rpm,
uint8_t  instance,
AP_RPM::RPM_State _state 
)

Definition at line 24 of file RPM_Backend.cpp.

◆ ~AP_RPM_Backend()

virtual AP_RPM_Backend::~AP_RPM_Backend ( void  )
inlinevirtual

Definition at line 29 of file RPM_Backend.h.

Here is the call graph for this function:

Member Function Documentation

◆ get_pin()

int8_t AP_RPM_Backend::get_pin ( void  ) const
inline

Definition at line 34 of file RPM_Backend.h.

Referenced by AP_RPM_Pin::update().

Here is the caller graph for this function:

◆ update()

virtual void AP_RPM_Backend::update ( )
pure virtual

Implemented in AP_RPM_PX4_PWM, AP_RPM_Pin, and AP_RPM_SITL.

Referenced by AP_RPM::update(), and ~AP_RPM_Backend().

Here is the caller graph for this function:

Member Data Documentation

◆ ap_rpm

AP_RPM& AP_RPM_Backend::ap_rpm
protected

◆ state

AP_RPM::RPM_State& AP_RPM_Backend::state
protected

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