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 "
Fw/Time/TimeInterval.hpp
"
17
#include "
Os/Mutex.hpp
"
18
#include "
Os/RawTime.hpp
"
19
#include "
Svc/LinuxTimer/LinuxTimerComponentAc.hpp
"
20
21
namespace
Svc
{
22
23
class
LinuxTimer
final :
public
LinuxTimerComponentBase
{
24
public
:
25
// ----------------------------------------------------------------------
26
// Construction, initialization, and destruction
27
// ----------------------------------------------------------------------
28
31
LinuxTimer
(
const
char
*
const
compName
32
);
33
36
~LinuxTimer
();
37
39
void
startTimer
(
const
Fw::TimeInterval
& interval);
40
42
void
quit
();
43
44
private
:
45
Os::Mutex
m_mutex;
46
47
volatile
bool
m_quit;
48
49
Os::RawTime
m_rawTime;
50
};
51
52
}
// end namespace Svc
53
54
#endif
LinuxTimerComponentAc.hpp
Svc::LinuxTimer::startTimer
void startTimer(const Fw::TimeInterval &interval)
Start timer.
Definition:
LinuxTimerFd.cpp:23
Svc::LinuxTimer
Definition:
LinuxTimer.hpp:23
Os::Mutex
Definition:
Mutex.hpp:51
RawTime.hpp
Svc::LinuxTimer::~LinuxTimer
~LinuxTimer()
Definition:
LinuxTimerCommon.cpp:24
Mutex.hpp
Svc::LinuxTimer::quit
void quit()
Quit timer.
Definition:
LinuxTimerCommon.cpp:26
Svc::LinuxTimer::LinuxTimer
LinuxTimer(const char *const compName)
Definition:
LinuxTimerCommon.cpp:22
Svc
RateGroupDivider component implementation.
Definition:
ActiveRateGroupCfg.hpp:18
Os::RawTime
Definition:
RawTime.hpp:101
Fw::TimeInterval
Definition:
TimeInterval.hpp:20
Svc::LinuxTimerComponentBase
Auto-generated base for LinuxTimer component.
Definition:
LinuxTimerComponentAc.hpp:22
TimeInterval.hpp
Svc
LinuxTimer
LinuxTimer.hpp
Generated by
1.8.14