mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 13:54:34 -06:00
* Format Svc and add to CI * Fix comlogger include * fix assert UTs * Fix static analysis warning * formatting
33 lines
988 B
C++
33 lines
988 B
C++
// ======================================================================
|
|
// \title LinuxTimerImpl.cpp
|
|
// \author tim
|
|
// \brief cpp file for LinuxTimer component implementation class
|
|
//
|
|
// \copyright
|
|
// Copyright 2009-2015, by the California Institute of Technology.
|
|
// ALL RIGHTS RESERVED. United States Government Sponsorship
|
|
// acknowledged.
|
|
//
|
|
// ======================================================================
|
|
|
|
#include <Fw/FPrimeBasicTypes.hpp>
|
|
#include <Svc/LinuxTimer/LinuxTimer.hpp>
|
|
|
|
namespace Svc {
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Construction, initialization, and destruction
|
|
// ----------------------------------------------------------------------
|
|
|
|
LinuxTimer ::LinuxTimer(const char* const compName) : LinuxTimerComponentBase(compName), m_quit(false) {}
|
|
|
|
LinuxTimer ::~LinuxTimer() {}
|
|
|
|
void LinuxTimer::quit() {
|
|
this->m_mutex.lock();
|
|
this->m_quit = true;
|
|
this->m_mutex.unLock();
|
|
}
|
|
|
|
} // end namespace Svc
|