FreeRTOScpp
FreeRTOScpp::Reader Class Reference

Read-Write Lock Read Side Lockability Base. More...

#include <ReadWrite.h>

Inheritance diagram for FreeRTOScpp::Reader:
Collaboration diagram for FreeRTOScpp::Reader:

Public Member Functions

bool give () override
 
bool take (TickType_t wait) override
 
bool take (Time_ms ms)
 

Private Member Functions

 Reader ()
 

Friends

class ReadWriteLock
 

Detailed Description

Read-Write Lock Read Side Lockability Base.

Base class to provide Read side Lockability

Constructor & Destructor Documentation

◆ Reader()

FreeRTOScpp::Reader::Reader ( )
inlineprivate

References give(), and take().

Here is the call graph for this function:

Member Function Documentation

◆ give()

bool FreeRTOScpp::Reader::give ( )
overridevirtual

Implements FreeRTOScpp::Lockable.

Referenced by Reader(), and FreeRTOScpp::Writer::Writer().

Here is the caller graph for this function:

◆ take() [1/2]

bool FreeRTOScpp::Reader::take ( TickType_t  wait)
overridevirtual

Implements FreeRTOScpp::Lockable.

Referenced by Reader(), and FreeRTOScpp::Writer::Writer().

Here is the caller graph for this function:

◆ take() [2/2]

bool FreeRTOScpp::Lockable::take ( Time_ms  ms)
inlineinherited

References FreeRTOScpp::Lockable::give(), FreeRTOScpp::Lockable::Lockable(), FreeRTOScpp::ms2ticks(), FreeRTOScpp::Lockable::operator=(), and FreeRTOScpp::Lockable::take().

Referenced by FreeRTOScpp::Lockable::take().

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

Friends And Related Function Documentation

◆ ReadWriteLock

friend class ReadWriteLock
friend

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