F´ Flight Software - C/C++ Documentation  NASA-v2.1.0
A framework for building embedded system applications to NASA flight quality standards.
LinuxTimerComponentImpl.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title LinuxTimerImpl.hpp
3 // \author tim
4 // \brief hpp file for LinuxTimer component implementation class
5 //
6 // \copyright
7 // Copyright 2009-2015, by the California Institute of Technology.
8 // ALL RIGHTS RESERVED. United States Government Sponsorship
9 // acknowledged.
10 //
11 // ======================================================================
12 
13 #ifndef LinuxTimer_HPP
14 #define LinuxTimer_HPP
15 
16 #include "Svc/LinuxTimer/LinuxTimerComponentAc.hpp"
17 
18 namespace Svc {
19 
21  public LinuxTimerComponentBase
22  {
23 
24  public:
25 
26  // ----------------------------------------------------------------------
27  // Construction, initialization, and destruction
28  // ----------------------------------------------------------------------
29 
33  const char *const compName
34  );
35 
38  void init(
39  const NATIVE_INT_TYPE instance = 0
40  );
41 
45 
47  void startTimer(NATIVE_INT_TYPE interval);
48 
50  void quit(void);
51 
52  bool m_quit;
53 
55 
56 
57  };
58 
59 } // end namespace Svc
60 
61 #endif
Svc::LinuxTimerComponentImpl::m_timer
Svc::TimerVal m_timer
Definition: LinuxTimerComponentImpl.hpp:54
Svc::LinuxTimerComponentImpl::startTimer
void startTimer(NATIVE_INT_TYPE interval)
Start timer.
Definition: LinuxTimerComponentImplTaskDelay.cpp:20
Svc::LinuxTimerComponentImpl::LinuxTimerComponentImpl
LinuxTimerComponentImpl(const char *const compName)
Definition: LinuxTimerComponentImplCommon.cpp:24
Svc::TimerVal
Serializable class for carrying timer values.
Definition: TimerVal.hpp:22
Svc::LinuxTimerComponentImpl
Definition: LinuxTimerComponentImpl.hpp:20
Svc::LinuxTimerComponentImpl::init
void init(const NATIVE_INT_TYPE instance=0)
Definition: LinuxTimerComponentImplCommon.cpp:33
Svc::LinuxTimerComponentImpl::quit
void quit(void)
Quit timer.
Definition: LinuxTimerComponentImplCommon.cpp:46
Svc
Definition: ActiveRateGroupImplCfg.hpp:18
Svc::LinuxTimerComponentImpl::~LinuxTimerComponentImpl
~LinuxTimerComponentImpl(void)
Definition: LinuxTimerComponentImplCommon.cpp:41
NATIVE_INT_TYPE
int NATIVE_INT_TYPE
native integer type declaration
Definition: BasicTypes.hpp:29
Svc::LinuxTimerComponentImpl::m_quit
bool m_quit
flag to quit
Definition: LinuxTimerComponentImpl.hpp:52