Packages

A high-performance Elixir library for decoding Garmin .fit files using a C++ NIF.

Current section

Files

Jump to
fit_decoder c_src fit_sdk cpp fit_mesg_broadcast_plugin.hpp
Raw

c_src/fit_sdk/cpp/fit_mesg_broadcast_plugin.hpp

/////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2025 Garmin International, Inc.
// Licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol License; you
// may not use this file except in compliance with the Flexible and Interoperable Data
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.171.0Release
// Tag = production/release/21.171.0-0-g57fed75
/////////////////////////////////////////////////////////////////////////////////////////////
#if !defined(FIT_MESG_BROADCAST_PLUGIN_HPP)
#define FIT_MESG_BROADCAST_PLUGIN_HPP
#include "fit.hpp"
#include "fit_mesg.hpp"
namespace fit
{
class MesgBroadcastPlugin
{
public:
virtual ~MesgBroadcastPlugin() { /* Empty destructor */ };
virtual void OnBroadcast(std::vector<Mesg>& mesgs) = 0;
virtual void OnIncomingMesg(const Mesg& mesg) = 0;
};
} // namespace fit
#endif // defined(FIT_MESG_BROADCAST_PLUGIN_HPP)