PX4 Firmware
PX4 Autopilot Software http://px4.io
Lock Class Reference

#include <uavcan_virtual_can_driver.hpp>

Collaboration diagram for Lock:

Public Member Functions

 Lock (pthread_mutex_t &m)
 
 ~Lock ()
 

Static Public Member Functions

static int init (pthread_mutex_t &thier_mutex_)
 
static int deinit (pthread_mutex_t &thier_mutex_)
 

Private Attributes

pthread_mutex_t & thier_mutex_
 

Detailed Description

Definition at line 63 of file uavcan_virtual_can_driver.hpp.

Constructor & Destructor Documentation

◆ Lock()

Lock::Lock ( pthread_mutex_t &  m)
inline

Definition at line 69 of file uavcan_virtual_can_driver.hpp.

◆ ~Lock()

Lock::~Lock ( )
inline

Definition at line 75 of file uavcan_virtual_can_driver.hpp.

Member Function Documentation

◆ deinit()

static int Lock::deinit ( pthread_mutex_t &  thier_mutex_)
inlinestatic

Definition at line 85 of file uavcan_virtual_can_driver.hpp.

Referenced by UavcanServers::~UavcanServers(), and VirtualCanDriver::~VirtualCanDriver().

Here is the caller graph for this function:

◆ init()

static int Lock::init ( pthread_mutex_t &  thier_mutex_)
inlinestatic

Definition at line 80 of file uavcan_virtual_can_driver.hpp.

Referenced by UavcanServers::init(), and VirtualCanDriver::VirtualCanDriver().

Here is the caller graph for this function:

Member Data Documentation

◆ thier_mutex_

pthread_mutex_t& Lock::thier_mutex_
private

Definition at line 65 of file uavcan_virtual_can_driver.hpp.


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