EV3RT CXX API Reference [English]
An RTOS-based development platform for LEGO Mindstorms EV3.
Timeout Struct Reference
Inheritance diagram for Timeout:
timeout< detail::us_counter_t > stopwatch< detail::us_counter_t >

Public Member Functions

 Timeout (detail::timeout< detail::us_counter_t >::time_type timeout)
 
- Public Member Functions inherited from timeout< detail::us_counter_t >
 timeout (detail::us_counter_t &timer, time_type timeout)
 
void init (detail::us_counter_t &timer, time_type timeout)
 
void init_stopped (detail::us_counter_t &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< detail::us_counter_t >
 stopwatch (detail::us_counter_t &timer)
 
void init (detail::us_counter_t &timer)
 
void init_stopped (detail::us_counter_t &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)
 

Additional Inherited Members

- Public Types inherited from timeout< detail::us_counter_t >
typedef stopwatch< detail::us_counter_tbase_type
 
typedef base_type::time_type time_type
 
- Public Types inherited from stopwatch< detail::us_counter_t >
typedef detail::us_counter_t ::time_type time_type
 

Detailed Description

Definition at line 288 of file ev3cxx_time.h.