#include <eventEvaluation.hpp>
Public Types | |
typedef exprtk::parser_error::type | error_t |
typedef exprtk::expression < double > | expression_t |
typedef exprtk::parser< double > | parser_t |
typedef exprtk::symbol_table < double > | symbol_table_t |
Public Member Functions | |
vector< uint8_t > | evaluateEvents (vector< string > events) |
double | evaluateStringExpression (std::string expression_str) |
EventEvaluation () | |
void | initializeSymbolTable (vector< double > stateVar, vector< double > missionVar, vector< string > missionVarNames) |
void | resetSymbolTable () |
void | updateSymbolTable (vector< double > stateVar, vector< double > missionVar, vector< string > missionVarNames) |
Private Attributes | |
boost::mutex | mtx |
symbol_table_t | symbol_table |
Definition at line 58 of file eventEvaluation.hpp.
Definition at line 65 of file eventEvaluation.hpp.
typedef exprtk::expression<double> labust::event::EventEvaluation::expression_t |
Definition at line 63 of file eventEvaluation.hpp.
typedef exprtk::parser<double> labust::event::EventEvaluation::parser_t |
Definition at line 64 of file eventEvaluation.hpp.
typedef exprtk::symbol_table<double> labust::event::EventEvaluation::symbol_table_t |
Definition at line 62 of file eventEvaluation.hpp.
Definition at line 93 of file eventEvaluation.hpp.
vector< uint8_t > labust::event::EventEvaluation::evaluateEvents | ( | vector< string > | events | ) |
Definition at line 97 of file eventEvaluation.hpp.
double labust::event::EventEvaluation::evaluateStringExpression | ( | std::string | expression_str | ) |
Definition at line 111 of file eventEvaluation.hpp.
void labust::event::EventEvaluation::initializeSymbolTable | ( | vector< double > | stateVar, |
vector< double > | missionVar, | ||
vector< string > | missionVarNames | ||
) |
Definition at line 139 of file eventEvaluation.hpp.
Definition at line 184 of file eventEvaluation.hpp.
void labust::event::EventEvaluation::updateSymbolTable | ( | vector< double > | stateVar, |
vector< double > | missionVar, | ||
vector< string > | missionVarNames | ||
) |
Definition at line 162 of file eventEvaluation.hpp.
boost::mutex labust::event::EventEvaluation::mtx [private] |
Definition at line 90 of file eventEvaluation.hpp.
Definition at line 89 of file eventEvaluation.hpp.