PX4 Firmware
PX4 Autopilot Software http://px4.io
uORB::FastRpcChannel::Semaphore Class Reference
Collaboration diagram for uORB::FastRpcChannel::Semaphore:

Public Member Functions

 Semaphore ()
 
 ~Semaphore ()
 
void post ()
 
void wait ()
 

Private Member Functions

 Semaphore (const Semaphore &)
 
Semaphoreoperator= (const Semaphore &)
 

Private Attributes

sem_t _Sem
 

Detailed Description

Definition at line 250 of file uORBFastRpcChannel.hpp.

Constructor & Destructor Documentation

◆ Semaphore() [1/2]

uORB::FastRpcChannel::Semaphore::Semaphore ( )
inline

Definition at line 253 of file uORBFastRpcChannel.hpp.

◆ ~Semaphore()

uORB::FastRpcChannel::Semaphore::~Semaphore ( )
inline

Definition at line 259 of file uORBFastRpcChannel.hpp.

◆ Semaphore() [2/2]

uORB::FastRpcChannel::Semaphore::Semaphore ( const Semaphore )
private

Member Function Documentation

◆ operator=()

Semaphore& uORB::FastRpcChannel::Semaphore::operator= ( const Semaphore )
private

◆ post()

void uORB::FastRpcChannel::Semaphore::post ( )
inline

Definition at line 263 of file uORBFastRpcChannel.hpp.

Referenced by uORB::FastRpcChannel::control_msg_queue_add(), uORB::FastRpcChannel::send_message(), and uORB::FastRpcChannel::unblock_get_data_method().

Here is the caller graph for this function:

◆ wait()

void uORB::FastRpcChannel::Semaphore::wait ( )
inline

Definition at line 267 of file uORBFastRpcChannel.hpp.

Referenced by uORB::FastRpcChannel::get_bulk_data(), and uORB::FastRpcChannel::get_data().

Here is the caller graph for this function:

Member Data Documentation

◆ _Sem

sem_t uORB::FastRpcChannel::Semaphore::_Sem
private

Definition at line 272 of file uORBFastRpcChannel.hpp.


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