F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
LinuxTimer.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 "
Os/Mutex.hpp
"
17
#include "
Os/RawTime.hpp
"
18
#include "
Svc/LinuxTimer/LinuxTimerComponentAc.hpp
"
19
20
namespace
Svc
{
21
22
class
LinuxTimer
final :
23
public
LinuxTimerComponentBase
24
{
25
26
public
:
27
28
// ----------------------------------------------------------------------
29
// Construction, initialization, and destruction
30
// ----------------------------------------------------------------------
31
34
LinuxTimer
(
35
const
char
*
const
compName
36
);
37
40
~LinuxTimer
();
41
43
void
startTimer
(
FwSizeType
interval);
44
46
void
quit
();
47
48
PRIVATE:
49
50
Os::Mutex
m_mutex;
51
52
volatile
bool
m_quit;
53
54
Os::RawTime
m_rawTime;
55
56
57
};
58
59
}
// end namespace Svc
60
61
#endif
LinuxTimerComponentAc.hpp
FwSizeType
PlatformSizeType FwSizeType
Definition:
FwSizeTypeAliasAc.h:15
Svc::LinuxTimer
Definition:
LinuxTimer.hpp:22
Os::Mutex
Definition:
Mutex.hpp:51
RawTime.hpp
Svc::LinuxTimer::~LinuxTimer
~LinuxTimer()
Definition:
LinuxTimerCommon.cpp:33
Mutex.hpp
Svc::LinuxTimer::quit
void quit()
Quit timer.
Definition:
LinuxTimerCommon.cpp:38
Svc::LinuxTimer::LinuxTimer
LinuxTimer(const char *const compName)
Definition:
LinuxTimerCommon.cpp:24
Svc::LinuxTimer::startTimer
void startTimer(FwSizeType interval)
Start timer.
Definition:
LinuxTimerFd.cpp:23
Svc
RateGroupDivider component implementation.
Definition:
ActiveRateGroupCfg.hpp:18
Os::RawTime
Definition:
RawTime.hpp:98
Svc::LinuxTimerComponentBase
Auto-generated base for LinuxTimer component.
Definition:
LinuxTimerComponentAc.hpp:22
Svc
LinuxTimer
LinuxTimer.hpp
Generated by
1.8.14