Skyward boardcore
Loading...
Searching...
No Matches
Logger.h File Reference
#include <Singleton.h>
#include <interfaces/atomic_ops.h>
#include <miosix.h>
#include <stdint.h>
#include <utils/Debug.h>
#include <atomic>
#include <cstdio>
#include <list>
#include <queue>
#include <string>
#include <type_traits>
#include <userde.hpp>
#include "LoggerStats.h"
Include dependency graph for Logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Boardcore::TypeID< T, typename >
 
struct  Boardcore::TypeID< T, std::enable_if_t< std::is_enum< T >::value > >
 
struct  Boardcore::TypePrinter< T >
 
struct  Boardcore::TypePrinter< T[I]>
 
class  Boardcore::Logger
 Buffered logger. Needs to be started before it can be used. More...
 

Namespaces

namespace  Boardcore
 Driver for the VN100S IMU.
 

Macros

#define TYPEID_STRUCT(type, character)
 

Enumerations

enum  Boardcore::TypeIDByte : char {
  Boardcore::Unknown = '?' , Boardcore::Bool = 'b' , Boardcore::Char = 'c' , Boardcore::Int8 = 'h' ,
  Boardcore::UInt8 = 'H' , Boardcore::Int16 = 'i' , Boardcore::UInt16 = 'I' , Boardcore::Int32 = 'j' ,
  Boardcore::UInt32 = 'J' , Boardcore::Int64 = 'l' , Boardcore::UInt64 = 'L' , Boardcore::Float = 'f' ,
  Boardcore::Double = 'd'
}
 
enum class  Boardcore::LoggerResult { Boardcore::Queued , Boardcore::Dropped , Boardcore::Ignored , Boardcore::TooLarge }
 Possible outcomes of Logger::log(). More...
 

Variables

constexpr char Boardcore::MappingMarker = '!'
 Marker character for a type mapping.
 

Macro Definition Documentation

◆ TYPEID_STRUCT

#define TYPEID_STRUCT (   type,
  character 
)
Value:
template <> \
struct TypeID<type> \
{ \
static constexpr char VALUE = character; \
};

Definition at line 75 of file Logger.h.