This class describes a structure composed by a matrix of a given size and a time-index parameter. It can tell also if it is initialized or not. More...
#include <state-observation/tools/definitions.hpp>


Public Member Functions | |
| IndexedMatrixT () | |
| Default constructor. More... | |
| IndexedMatrixT (const MatrixType &v, TimeIndex k) | |
| A constructor with a given matrix value and a time index. More... | |
| IndexedMatrixT & | set (const MatrixType &v, TimeIndex k) |
| Set the value of the matrix and the time sample. More... | |
| void | set (bool value=true) |
| Switch the vector to "initialized" state. More... | |
| void | setIndex (TimeIndex index) |
| set the index of the matrix More... | |
| const MatrixType & | operator() () const |
| Get the matrix value (const version) More... | |
| MatrixType & | operator() () |
| Get the matrix value. More... | |
| TimeIndex | getTime () const |
| Get the time index. More... | |
| bool | isSet () const |
| Says whether the matrix is initialized or not. More... | |
| void | reset () |
| Switch off the initalization flag, the value is no longer accessible. More... | |
Protected Member Functions | |
| bool | check_ () const |
Protected Member Functions inherited from stateObservation::DebugItem< bool, detail::defaultTrue, !false||isDebug > | |
| DebugItem () | |
| DebugItem (const bool &v) | |
| bool & | operator= (bool v) |
| operator bool () const | |
| bool | set (const bool &v) |
| bool | get () const |
Protected Attributes | |
| TimeIndex | k_ |
| MatrixType | v_ |
This class describes a structure composed by a matrix of a given size and a time-index parameter. It can tell also if it is initialized or not.
| stateObservation::IndexedMatrixT< MatrixType, lazy >::IndexedMatrixT | ( | ) |
Default constructor.
| stateObservation::IndexedMatrixT< MatrixType, lazy >::IndexedMatrixT | ( | const MatrixType & | v, |
| TimeIndex | k | ||
| ) |
A constructor with a given matrix value and a time index.
|
inlineprotected |
Checks whether the matrix is set or not (assert) does nothing in release mode
|
inline |
Get the time index.
|
inline |
Says whether the matrix is initialized or not.
|
inline |
Get the matrix value.
|
inline |
Get the matrix value (const version)
|
inline |
Switch off the initalization flag, the value is no longer accessible.
|
inline |
Switch the vector to "initialized" state.
|
inline |
Set the value of the matrix and the time sample.
|
inline |
set the index of the matrix
|
protected |
|
protected |