2019-07-16 15:41:12 +00:00
|
|
|
/*!
|
|
|
|
* \file channel_event.cc
|
|
|
|
* \brief Class that defines a channel event
|
|
|
|
* \author Javier Arribas, 2019. jarribas(at)cttc.es
|
|
|
|
*
|
2020-07-28 14:57:15 +00:00
|
|
|
* -----------------------------------------------------------------------------
|
2019-07-16 15:41:12 +00:00
|
|
|
*
|
2020-12-30 12:35:06 +00:00
|
|
|
* GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
|
2019-07-16 15:41:12 +00:00
|
|
|
* This file is part of GNSS-SDR.
|
|
|
|
*
|
2020-12-30 12:35:06 +00:00
|
|
|
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
|
2020-02-08 00:20:02 +00:00
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2019-07-16 15:41:12 +00:00
|
|
|
*
|
2020-07-28 14:57:15 +00:00
|
|
|
* -----------------------------------------------------------------------------
|
2019-07-16 15:41:12 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "channel_event.h"
|
|
|
|
|
|
|
|
channel_event_sptr channel_event_make(int channel_id, int event_type)
|
|
|
|
{
|
2019-07-21 10:55:59 +00:00
|
|
|
return channel_event_sptr(new Channel_Event(channel_id, event_type));
|
2019-07-16 15:41:12 +00:00
|
|
|
}
|
|
|
|
|
2019-07-21 10:55:59 +00:00
|
|
|
Channel_Event::Channel_Event(int channel_id_, int event_type_)
|
2021-12-14 14:27:57 +00:00
|
|
|
: channel_id(channel_id_),
|
|
|
|
event_type(event_type_)
|
2019-07-16 15:41:12 +00:00
|
|
|
{
|
|
|
|
}
|