F´ Flight Software - C/C++ Documentation devel
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Os::Event Class Reference

#include <Os/Event.hpp>

Public Types

enum  Timeout { EV_NO_WAIT = 0 , EV_WAIT_FOREVER = -1 }
 
enum  Options {
  EV_EVENTS_WAIT_ALL = 0x0U , EV_EVENTS_WAIT_ANY = 0x1U , EV_EVENTS_RETURN_ALL = 0x2U , EV_EVENTS_KEEP_UNWANTED = 0x4U ,
  EV_EVENTS_FETCH = 0x80U
}
 

Static Public Member Functions

static I32 send (const TaskId &tid, const U32 events)
 
static I32 receive (const U32 events, const U8 options, const I32 timeout, U32 *eventsReceived)
 
static I32 clear ()
 

Detailed Description

Definition at line 14 of file Event.hpp.

Member Enumeration Documentation

◆ Options

Enumerator
EV_EVENTS_WAIT_ALL 
EV_EVENTS_WAIT_ANY 
EV_EVENTS_RETURN_ALL 
EV_EVENTS_KEEP_UNWANTED 
EV_EVENTS_FETCH 

Definition at line 21 of file Event.hpp.

◆ Timeout

Enumerator
EV_NO_WAIT 
EV_WAIT_FOREVER 

Definition at line 16 of file Event.hpp.

Member Function Documentation

◆ clear()

static I32 Os::Event::clear ( )
static

◆ receive()

static I32 Os::Event::receive ( const U32 events,
const U8 options,
const I32 timeout,
U32 * eventsReceived )
static

◆ send()

static I32 Os::Event::send ( const TaskId & tid,
const U32 events )
static

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