32 #ifndef ACADO_TOOLKIT_LOG_RECORD_HPP 33 #define ACADO_TOOLKIT_LOG_RECORD_HPP 680 const std::string& _label,
681 bool _writeProtection
699 #include <acado/user_interaction/log_record.ipp> 701 #endif // ACADO_TOOLKIT_LOG_RECORD_HPP returnValue addItem(LogName _name, const char *const _label=DEFAULT_LABEL)
LogFrequency getLogFrequency() const
BooleanType hasItem(LogName _name) const
returnValue operator<<(LogName _name)
Provides a time grid consisting of vector-valued optimization variables at each grid point...
Allows to pass back messages to the calling function.
returnValue setAll(LogName _name, const MatrixVariablesGrid &values)
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
returnValue disableWriteProtection(LogName _name)
BooleanType isEmpty() const
BooleanType hasNonEmptyItem(LogName _name) const
std::map< std::pair< int, LogRecordItemType >, LogRecordData > LogRecordItems
uint getMaxNumMatrices() const
Provides a generic way to store algorithmic information during runtime.
#define CLOSE_NAMESPACE_ACADO
returnValue getLast(LogName _name, DMatrix &lastValue) const
Base class for all variables within the symbolic expressions family.
PrintScheme getPrintScheme() const
returnValue printInfo() const
Provides a time grid consisting of matrix-valued optimization variables at each grid point...
MatrixVariablesGrid values
LogRecord(LogFrequency _frequency=LOG_AT_EACH_ITERATION, PrintScheme _printScheme=PS_DEFAULT)
LogRecordData(const std::string &_label)
returnValue setPrintScheme(PrintScheme _printScheme)
LogRecordData(const MatrixVariablesGrid &_values, const std::string &_label, bool _writeProtection)
Allows to setup and store user-specified log records of algorithmic information.
#define BEGIN_NAMESPACE_ACADO
returnValue print(std::ostream &_stream=std::cout, LogPrintMode _mode=PRINT_ITEM_BY_ITEM) const
returnValue setLast(LogName _name, const DMatrix &value, double time=-INFTY)
returnValue getAll(LogName _name, MatrixVariablesGrid &values) const
returnValue setLogFrequency(LogFrequency _frequency)
const char DEFAULT_LABEL[1]
returnValue enableWriteProtection(LogName _name)
uint getNumDoubles() const
returnValue getFirst(LogName _name, DMatrix &firstValue) const
returnValue updateLogRecord(LogRecord &_record) const