You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
581 B
C++

/*
* AlertBase.cpp
*
* Author: Aleksey Gerasimenko
* gerasimenko.aleksey.n@gmail.com
*/
#include "Alert/AlertBase.h"
namespace ALERT
{
//CONSTRUCTOR
AlertBase::AlertBase():
//m_mode(ALERT::AlertBase::UNDEFINED),
m_time_sample(-1.0),
m_level(FP_ZERO),
m_period(FP_ZERO),
m_timer(FP_ZERO)
//
{}//CONSTRUCTOR
/*
AlertBase::mode_t AlertBase::get_mode() const
{
return m_mode;
//
}//get_mode()
//
bool AlertBase::compare(mode_t mode) const
{
return m_mode == mode;
//
}//compare()
//
*/
} /* namespace ALERT */