Merged master into cmake-2

This commit is contained in:
Lorenz Meier
2015-09-20 10:33:39 +02:00
45 changed files with 1858 additions and 985 deletions
@@ -97,6 +97,11 @@ void BlockParam<T>::update() {
if (_handle != PARAM_INVALID) param_get(_handle, &_val);
}
template <class T>
void BlockParam<T>::commit() {
if (_handle != PARAM_INVALID) param_set(_handle, &_val);
}
template <class T>
BlockParam<T>::~BlockParam() {};
@@ -79,6 +79,7 @@ public:
BlockParam(Block *block, const char *name,
bool parent_prefix = true);
T get();
void commit();
void set(T val);
void update();
virtual ~BlockParam();