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_buffered_mesg_broadcaster.hpp
Raw

c_src/fit_sdk/cpp/fit_buffered_mesg_broadcaster.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_BUFFERED_MESG_BROADCASTER_HPP)
#define FIT_BUFFERED_MESG_BROADCASTER_HPP
#include "fit_mesg_broadcaster.hpp"
#include "fit_mesg_broadcast_plugin.hpp"
#include <vector>
namespace fit
{
class BufferedMesgBroadcaster : public MesgBroadcaster
{
public:
void RegisterMesgBroadcastPlugin(MesgBroadcastPlugin* plugin);
void OnMesg(Mesg& mesg);
void Broadcast(void);
private:
std::vector<Mesg> mesgs;
std::vector<MesgBroadcastPlugin*> plugins;
};
} // namespace fit
#endif // !defined(FIT_BUFFERED_MESG_BROADCASTER_HPP)