diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-16 09:24:30 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-16 09:24:30 +0000 |
commit | 1b4f2b305c95a832a259e4c4944f1a0981676eba (patch) | |
tree | 1ee56809b12a03ba53d630f5483a48387f72b74a /c/src/librtems++/include/rtems++/rtemsTimer.h | |
parent | Remove stray white spaces. (diff) | |
download | rtems-1b4f2b305c95a832a259e4c4944f1a0981676eba.tar.bz2 |
Remove stray white spaces.
Diffstat (limited to 'c/src/librtems++/include/rtems++/rtemsTimer.h')
-rw-r--r-- | c/src/librtems++/include/rtems++/rtemsTimer.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/c/src/librtems++/include/rtems++/rtemsTimer.h b/c/src/librtems++/include/rtems++/rtemsTimer.h index 0d432a4957..0ba683c2f2 100644 --- a/c/src/librtems++/include/rtems++/rtemsTimer.h +++ b/c/src/librtems++/include/rtems++/rtemsTimer.h @@ -6,7 +6,7 @@ COPYRIGHT (c) 1997 Objective Design Systems Ltd Pty (ODS) All rights reserved (R) Objective Design Systems Ltd Pty - + The license and distribution terms for this file may be found in the file LICENSE in this distribution or at http://www.rtems.com/license/LICENSE. @@ -22,7 +22,7 @@ method. Timers are always local to a node. - + ------------------------------------------------------------------------ */ #if !defined(_rtemsTimer_h_) @@ -43,32 +43,32 @@ public: // create a timer object rtemsTimer(const char* name); rtemsTimer(); - + // destroies the actual object virtual ~rtemsTimer(); // create or destroy (delete) the timer virtual const rtems_status_code create(const char* name); virtual const rtems_status_code destroy(); - + // timer control inline const rtems_status_code fire_after(const rtems_interval micro_secs); inline const rtems_status_code repeat_fire_at(const rtems_interval micro_secs); inline const rtems_status_code fire_when(const rtems_time_of_day& when); - + inline const rtems_status_code cancel(); inline const rtems_status_code reset(); - + // object id, and name const rtems_id id_is() const { return id; } const rtems_name name_is() const { return name; } const char *name_string() const { return name_str; } - + protected: // triggered method is called when the timer fires virtual void triggered() = 0; - + private: // not permitted rtemsTimer(const rtemsTimer& timer); @@ -76,7 +76,7 @@ private: // make this object reference an invalid RTEMS object void make_invalid(); - + // semaphore name rtems_name name; char name_str[5]; |