Classes | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
WithRobot::iMyAhrsPlus::EventQueue Class Reference

Classes

class  EventItemAttribute
 
class  EventItemData
 
class  EventItemExit
 

Public Member Functions

 EventQueue ()
 
EventItempop_event ()
 
void push_event_attribute_change (std::string &attr_name, std::string &attr_value)
 
void push_event_data (SensorData &data)
 
void push_event_exit ()
 
bool wait (int timeout_msec=-1)
 
 ~EventQueue ()
 

Private Attributes

std::deque< EventItem * > deque
 
Platform::Event event
 
Platform::Mutex lock
 

Static Private Attributes

static const size_t EVENT_MAX_NUM = 5
 

Detailed Description

Definition at line 1756 of file myahrs_plus.hpp.

Constructor & Destructor Documentation

WithRobot::iMyAhrsPlus::EventQueue::EventQueue ( )
inline

Definition at line 1791 of file myahrs_plus.hpp.

WithRobot::iMyAhrsPlus::EventQueue::~EventQueue ( )
inline

Definition at line 1792 of file myahrs_plus.hpp.

Member Function Documentation

EventItem* WithRobot::iMyAhrsPlus::EventQueue::pop_event ( )
inline

Definition at line 1825 of file myahrs_plus.hpp.

void WithRobot::iMyAhrsPlus::EventQueue::push_event_attribute_change ( std::string &  attr_name,
std::string &  attr_value 
)
inline

Definition at line 1809 of file myahrs_plus.hpp.

void WithRobot::iMyAhrsPlus::EventQueue::push_event_data ( SensorData data)
inline

Definition at line 1817 of file myahrs_plus.hpp.

void WithRobot::iMyAhrsPlus::EventQueue::push_event_exit ( )
inline

Definition at line 1803 of file myahrs_plus.hpp.

bool WithRobot::iMyAhrsPlus::EventQueue::wait ( int  timeout_msec = -1)
inline

Definition at line 1799 of file myahrs_plus.hpp.

Member Data Documentation

std::deque<EventItem*> WithRobot::iMyAhrsPlus::EventQueue::deque
private

Definition at line 1784 of file myahrs_plus.hpp.

Platform::Event WithRobot::iMyAhrsPlus::EventQueue::event
private

Definition at line 1786 of file myahrs_plus.hpp.

const size_t WithRobot::iMyAhrsPlus::EventQueue::EVENT_MAX_NUM = 5
staticprivate

Definition at line 1788 of file myahrs_plus.hpp.

Platform::Mutex WithRobot::iMyAhrsPlus::EventQueue::lock
private

Definition at line 1785 of file myahrs_plus.hpp.


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


myahrs_driver
Author(s): Yoonseok Pyo
autogenerated on Thu Jul 16 2020 03:08:51