BcPOC
SF-HRP ASM implementation
Public Member Functions
CSFHRPPlan Class Reference

#include <sf_hrp_plan.hpp>

Inheritance diagram for CSFHRPPlan:
IReleaseable

List of all members.

Public Member Functions

 CSFHRPPlan (CSFHRPASM *, IEngineDescriptor *, int, CCondition *, InitPhase *, ReactivePlanner *, TermPhase *)
 ~CSFHRPPlan ()
int GetAction ()
int GetPriority ()
void Activate ()
void Deactivate ()
bool IsSwitched ()
void SwitchOut ()
void SwitchIn ()
bool IsActive ()

Detailed Description

Single top level plan


Constructor & Destructor Documentation

CSFHRPPlan::CSFHRPPlan ( CSFHRPASM agent,
IEngineDescriptor engd,
int  prio,
CCondition cond,
InitPhase init,
ReactivePlanner rplanner,
TermPhase term 
)

Ctor

CSFHRPPlan::~CSFHRPPlan ( )

Dtor


Member Function Documentation

void CSFHRPPlan::Activate ( ) [virtual]

from IReleasable

Implements IReleaseable.

void CSFHRPPlan::Deactivate ( ) [virtual]

from IReleasable

Implements IReleaseable.

int CSFHRPPlan::GetAction ( )

Get appropriate action acording to the state

int CSFHRPPlan::GetPriority ( )

Get priority of plan

bool CSFHRPPlan::IsActive ( )

Whether is plan holding

bool CSFHRPPlan::IsSwitched ( )

Whether plan was switched out and can be executed another

void CSFHRPPlan::SwitchIn ( )

Initiate switch out of the plan

if there is no switch out, go directly to the switched phase

void CSFHRPPlan::SwitchOut ( )

Initiate switch out of the plan

if there is no switch out, go directly to the switched phase


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