PX4 Firmware
PX4 Autopilot Software http://px4.io
DfISL29501Wrapper Class Reference
Inheritance diagram for DfISL29501Wrapper:
Collaboration diagram for DfISL29501Wrapper:

Public Member Functions

 DfISL29501Wrapper ()
 
 ~DfISL29501Wrapper ()
 
int start ()
 Start automatic measurement. More...
 
int stop ()
 Stop automatic measurement. More...
 

Private Member Functions

int _publish (struct range_sensor_data &data)
 

Private Attributes

orb_advert_t _range_topic
 
int _orb_class_instance
 

Detailed Description

Definition at line 76 of file df_isl29501_wrapper.cpp.

Constructor & Destructor Documentation

◆ DfISL29501Wrapper()

DfISL29501Wrapper::DfISL29501Wrapper ( )

Definition at line 108 of file df_isl29501_wrapper.cpp.

Referenced by df_isl29501_wrapper::start().

Here is the caller graph for this function:

◆ ~DfISL29501Wrapper()

DfISL29501Wrapper::~DfISL29501Wrapper ( )

Definition at line 115 of file df_isl29501_wrapper.cpp.

Member Function Documentation

◆ _publish()

int DfISL29501Wrapper::_publish ( struct range_sensor_data &  data)
private

◆ start()

int DfISL29501Wrapper::start ( )

Start automatic measurement.

Returns
0 on success

Definition at line 119 of file df_isl29501_wrapper.cpp.

References ToneAlarmInterface::init(), and start().

Referenced by df_isl29501_wrapper::calibration(), df_isl29501_wrapper::probe(), and df_isl29501_wrapper::start().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stop()

int DfISL29501Wrapper::stop ( )

Stop automatic measurement.

Returns
0 on success

Definition at line 139 of file df_isl29501_wrapper.cpp.

References stop().

Referenced by df_isl29501_wrapper::stop().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _orb_class_instance

int DfISL29501Wrapper::_orb_class_instance
private

Definition at line 102 of file df_isl29501_wrapper.cpp.

Referenced by _publish().

◆ _range_topic

orb_advert_t DfISL29501Wrapper::_range_topic
private

Definition at line 100 of file df_isl29501_wrapper.cpp.

Referenced by _publish().


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