$darkmode
actuation_state.cpp File Reference
#include <cloe/utility/actuation_state.hpp>
#include <string>
#include <fable/utility/boost_optional.hpp>
#include <cloe/core.hpp>
Include dependency graph for actuation_state.cpp:

Macros

#define SET_IFSET(name)
 
#define SET_JSON(name)
 

Functions

void cloe::utility::to_json (Json &j, const ActuationState &s)
 
void cloe::utility::to_json (Json &j, const ActuationStatistics &s)
 

Detailed Description

Macro Definition Documentation

◆ SET_IFSET

#define SET_IFSET (   name)
Value:
{ \
if (s.name) { \
name.push_back(*s.name); \
} \
}

◆ SET_JSON

#define SET_JSON (   name)
Value:
{ \
if (s.name) { \
j[#name] = *s.name; \
} \
}