mirror of
https://github.com/nasa/fprime.git
synced 2025-12-16 09:30:11 -06:00
56 lines
1.3 KiB
C++
56 lines
1.3 KiB
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 <Svc/LinuxTimer/LinuxTimerComponentImpl.hpp>
|
|
#include "Fw/Types/BasicTypes.hpp"
|
|
|
|
namespace Svc {
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Construction, initialization, and destruction
|
|
// ----------------------------------------------------------------------
|
|
|
|
LinuxTimerComponentImpl ::
|
|
#if FW_OBJECT_NAMES == 1
|
|
LinuxTimerComponentImpl(
|
|
const char *const compName
|
|
) :
|
|
LinuxTimerComponentBase(compName)
|
|
#else
|
|
LinuxTimerImpl(void)
|
|
#endif
|
|
,m_quit(false)
|
|
{
|
|
|
|
}
|
|
|
|
void LinuxTimerComponentImpl ::
|
|
init(
|
|
const NATIVE_INT_TYPE instance
|
|
)
|
|
{
|
|
LinuxTimerComponentBase::init(instance);
|
|
}
|
|
|
|
LinuxTimerComponentImpl ::
|
|
~LinuxTimerComponentImpl(void)
|
|
{
|
|
|
|
}
|
|
|
|
void LinuxTimerComponentImpl::quit(void) {
|
|
this->m_quit = true;
|
|
}
|
|
|
|
} // end namespace Svc
|