1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 12:40:35 +00:00
gnss-sdr/src/core/libs/channel_event.cc
Carles Fernandez 4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/)
Update license headers to SPDX format (see https://spdx.org/)
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00

32 lines
853 B
C++

/*!
* \file channel_event.cc
* \brief Class that defines a channel event
* \author Javier Arribas, 2019. jarribas(at)cttc.es
*
* -------------------------------------------------------------------------
*
* Copyright (C) 2010-2019 (see AUTHORS file for a list of contributors)
*
* GNSS-SDR is a software defined Global Navigation
* Satellite Systems receiver
*
* This file is part of GNSS-SDR.
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
* -------------------------------------------------------------------------
*/
#include "channel_event.h"
channel_event_sptr channel_event_make(int channel_id, int event_type)
{
return channel_event_sptr(new Channel_Event(channel_id, event_type));
}
Channel_Event::Channel_Event(int channel_id_, int event_type_)
{
channel_id = channel_id_;
event_type = event_type_;
}