BcPOC
SF-HRP ASM implementation
Public Types | Public Member Functions | Public Attributes
CParserState Class Reference

#include <parser_state.hpp>

List of all members.

Public Types

enum  {
  ENTRY_STATE, AGENT, SFHRPLAN, COND,
  INIT, HRPLAN, CLEANUP, TERM,
  PRIO, C_ELEM, C_AND, C_OR,
  C_NOT, TYPE, PARAM, PLAN,
  RULE, WEIGHT, SUCCS, FAILS,
  STTOUT, FLAGS, STICKY, INTERSAFE,
  RELSAFE, EXEC_S, EXEC_F, EXEC_P,
  EXEC_A, ACTION, LIST, OBJECT,
  SUCC, FAIL, FATAL_ERROR
}

Public Member Functions

ptrSimplePlan EnsurePlan (std::string &plan)

Public Attributes

int state
std::stack< int > parent
xmlSAXHandler * ctx
std::string type
std::vector< std::string > params
std::stack< CNodeBase * > nodes
IEngineDescriptorengine
std::stack< CCondition * > conditions
CSFHRPASMagent
int priority
InitPhaseiphase
ReactivePlannerrplanner
TermPhasetphase
SimplePlanactualPlan
std::map< std::string,
ptrSimplePlan
plans
unsigned int weight
unsigned int flags
unsigned int sticky_timeout
unsigned int successes
unsigned int fails
int execType
int actualAction
std::string ruleplan
std::vector< int > actions
std::vector< std::string > objects
std::string term_succ
std::string term_fail
bool error
std::stack< std::string > ids

Member Enumeration Documentation

anonymous enum
Enumerator:
ENTRY_STATE 
AGENT 
SFHRPLAN 
COND 
INIT 
HRPLAN 
CLEANUP 
TERM 
PRIO 
C_ELEM 
C_AND 
C_OR 
C_NOT 
TYPE 
PARAM 
PLAN 
RULE 
WEIGHT 
SUCCS 
FAILS 
STTOUT 
FLAGS 
STICKY 
INTERSAFE 
RELSAFE 
EXEC_S 
EXEC_F 
EXEC_P 
EXEC_A 
ACTION 
LIST 
OBJECT 
SUCC 
FAIL 
FATAL_ERROR 

Member Function Documentation

ptrSimplePlan CParserState::EnsurePlan ( std::string &  plan)

Member Data Documentation

std::vector< int> CParserState::actions
xmlSAXHandler* CParserState::ctx
unsigned int CParserState::fails
unsigned int CParserState::flags
std::stack< std::string> CParserState::ids
std::vector< std::string> CParserState::objects
std::vector< std::string > CParserState::params
std::stack<int> CParserState::parent
std::map< std::string, ptrSimplePlan> CParserState::plans
std::string CParserState::type
unsigned int CParserState::weight

The documentation for this class was generated from the following files: