F´ Flight Software - C/C++ Documentation  NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
17 
18 namespace Svc {
19 
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
LinuxTimerComponentAc.hpp
Svc::TimerVal
Serializable class for carrying timer values.
Definition: TimerVal.hpp:22
Svc::LinuxTimerComponentImpl
Definition: LinuxTimerComponentImpl.hpp:22
Fw::ObjBase::init
void init(void)
Object initializer.
Definition: ObjBase.cpp:26
Svc::LinuxTimerComponentImpl::quit
void quit(void)
Quit timer.
Definition: LinuxTimerComponentImplCommon.cpp:46
Svc::LinuxTimerComponentBase
Auto-generated base for LinuxTimer component.
Definition: LinuxTimerComponentAc.hpp:30
Svc
Definition: ActiveLoggerComponentAc.cpp:22
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