EV3RT CXX API Reference [English]
An RTOS-based development platform for LEGO Mindstorms EV3.
timeout< Timer > Class Template Reference
Inheritance diagram for timeout< Timer >:
stopwatch< Timer >

Public Types

typedef stopwatch< Timer > base_type
 
typedef base_type::time_type time_type
 
- Public Types inherited from stopwatch< Timer >
typedef Timer::time_type time_type
 

Public Member Functions

 timeout (Timer &timer, time_type timeout)
 
void init (Timer &timer, time_type timeout)
 
void init_stopped (Timer &timer, time_type timeout)
 
void force ()
 
void ack ()
 
 operator bool () const
 
void set_timeout (const time_type &value)
 
time_type get_timeout () const
 
void reset (const time_type &new_timeout)
 
time_type remaining () const
 
- Public Member Functions inherited from stopwatch< Timer >
 stopwatch (Timer &timer)
 
void init (Timer &timer)
 
void init_stopped (Timer &timer)
 
void clear ()
 
bool running () const
 
void cancel ()
 
void restart ()
 
void start ()
 
void stop ()
 
time_type operator() () const
 
time_type get () const
 
void set (time_type value)
 
void decrease (time_type time)
 

Private Attributes

volatile time_type m_timeout
 

Detailed Description

template<typename Timer>
class ev3cxx::detail::timeout< Timer >

Definition at line 194 of file ev3cxx_time.h.