2 #ifndef _MADARA_NATIVE_INTEGER_VECTOR_STAGED_H_ 3 #define _MADARA_NATIVE_INTEGER_VECTOR_STAGED_H_ 7 #include "madara/LockType.h" 96 void operator= (
const std::vector <type> & rhs);
103 void push_back (type value);
109 void resize (
size_t size);
134 size_t size (
void)
const;
175 type operator[] (
size_t index)
const;
183 void set (
size_t index,
192 const std::vector <type> & value);
201 void set_quality (
size_t index, uint32_t quality,
241 bool is_true (
void)
const;
247 bool is_false (
void)
const;
265 virtual bool is_true_ (
void)
const;
271 virtual bool is_false_ (
void)
const;
281 virtual void modify_ (
void);
323 #endif // _MADARA_NATIVE_INTEGER_VECTOR_STAGED_H_ This class encapsulates an entry in a KnowledgeBase.
This class stores a vector of doubles inside of KaRL.
ThreadSafeContext * context_
Variable context that we are modifying.
This class stores variables and their values for use by any entity needing state information in a thr...
Optimized reference to a variable within the knowledge base.
KnowledgeRecord value_
The staged value of the vector.
Provides container classes for fast knowledge base access and mutation.
::std::vector< KnowledgeRecord > KnowledgeVector
VariableReference vector_
Reference to the size field of the vector space.
bool has_changed_
Tracks if value_ has changed since last read.
This class provides a distributed knowledge base to users.
knowledge::KnowledgeRecord::Integer type
trait that describes the value type
Provides functions and classes for the distributed knowledge base.
Settings for applying knowledge updates.
Copyright (c) 2015 Carnegie Mellon University.
NativeIntegerVectorStaged NativeIntegerArrayStaged
provide the Array alias for the NativeIntegerVectorStaged class
Settings for applying knowledge updates.
Provides an interface for external functions into the MADARA KaRL variable settings.
This class is an abstract base class for all containers.