BcPOC
SF-HRP ASM implementation
Public Member Functions | Protected Attributes
ActionRule Class Reference

#include <action_rule.hpp>

Inheritance diagram for ActionRule:
BaseRule IReleaseable

List of all members.

Public Member Functions

 ActionRule (std::string &, ptrSimplePlan, unsigned int, unsigned int, std::vector< int > &, unsigned int, unsigned int, unsigned int, unsigned int)
virtual int GetAction ()

Protected Attributes

std::vector< int >::iterator _action_it
std::vector< int > _actions
std::string _id

Detailed Description

Implements rule with action, i. e. leaf of the be-tree


Constructor & Destructor Documentation

ActionRule::ActionRule ( std::string &  id,
ptrSimplePlan  pp,
unsigned int  prio,
unsigned int  weight,
std::vector< int > &  actions,
unsigned int  flags,
unsigned int  stt,
unsigned int  fails,
unsigned int  successes 
)

Member Function Documentation

int ActionRule::GetAction ( ) [virtual]

Implements BaseRule.


Member Data Documentation

std::vector<int>::iterator ActionRule::_action_it [protected]
std::vector< int> ActionRule::_actions [protected]
std::string ActionRule::_id [protected]

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