MADARA
3.1.8
|
#include <string>
#include <vector>
#include <map>
#include <list>
#include <type_traits>
#include <initializer_list>
#include "madara/knowledge/KnowledgeRecord.h"
#include "madara/knowledge/Functions.h"
#include "madara/utility/stdint.h"
#include "madara/MADARA_export.h"
#include "madara/knowledge/VariableReference.h"
#include "madara/knowledge/KnowledgeBase.h"
#include "madara/knowledge/knowledge_cast.h"
#include "madara/knowledge/ContextGuard.h"
Go to the source code of this file.
Namespaces | |
madara | |
Copyright (c) 2015 Carnegie Mellon University. | |
madara::knowledge | |
Provides functions and classes for the distributed knowledge base. | |
madara::knowledge::rcw | |
Namespace holding Read-Compute-Write based abstractions for knowledge base access. | |
Macros | |
#define | MADARA_MAKE_SUPPORT_TEST(name, var, expr) |
Macro which generates feature testing traits, to allow enabling features based on what a given type supports. More... | |
Functions | |
template<typename T > | |
const T & | madara::knowledge::rcw::get_value (const T &t) |
Fallback definition of get_value; simply passes through the value. More... | |
template<typename T > | |
auto | madara::knowledge::rcw::get_value (const std::vector< T > &t, size_t i) -> decltype(get_value(t[i])) |
General definition of get_value with index. More... | |
template<typename T > | |
void | madara::knowledge::rcw::set_value (T &t, const T &v) |
Fallback definition of set_value; simply passes through the value. More... | |
template<typename T , typename V > | |
void | madara::knowledge::rcw::set_value (std::vector< T > &t, size_t i, V v) |
General definition of set_value with index. More... | |
#define MADARA_MAKE_SUPPORT_TEST | ( | name, | |
var, | |||
expr | |||
) |
Macro which generates feature testing traits, to allow enabling features based on what a given type supports.
The tests provide ::value member which is true if the given expr can compile correctly with the given type; false otherwise
Definition at line 166 of file BaseTracker.h.