MetaWear C++ API  0.18.0
C++ implementation of the MetaWear protocol
dataprocessor.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include "dataprocessor_fwd.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
42 
43 #ifdef __cplusplus
44 }
45 #endif
struct MblMwMetaWearBoard MblMwMetaWearBoard
Software representation of a physical MetaWear board.
Definition: metawearboard_fwd.h:17
METAWEAR_API void mbl_mw_dataprocessor_remove(MblMwDataProcessor *processor)
Removes a data processor and its consumers from the board.
Forward declaration for the MblMwDataProcessor type.
Macros for identifying exported functions.
Forward declarations for the MblMwMetaWearBoard type.
Forward declaration for the MblMwDataSignal type.
METAWEAR_API MblMwDataProcessor * mbl_mw_dataprocessor_lookup_id(const MblMwMetaWearBoard *board, uint8_t id)
Looks up the MblMwDataProcessor object corresponding to the id.
METAWEAR_API MblMwDataSignal * mbl_mw_dataprocessor_get_state_data_signal(const MblMwDataProcessor *processor)
Get the data signal representing a processor's internal state.
METAWEAR_API uint8_t mbl_mw_dataprocessor_get_id(const MblMwDataProcessor *processor)
Retrieves the id value identifying the processor.
struct MblMwDataProcessor MblMwDataProcessor
Data signal from the on board data processor.
Definition: dataprocessor_fwd.h:15
#define METAWEAR_API
Indicates the function should be exported to the symbol table.
Definition: dllmarker.h:27
struct MblMwDataSignal MblMwDataSignal
A event fired from the MetaWear board that also contains data.
Definition: datasignal_fwd.h:15