クラス rcsc::IntentionWithCondition

intention that has condition to be checked. [詳細]

#include <intention_with_condition.h>

rcsc::IntentionWithConditionに対する継承グラフ

rcsc::SoccerIntention すべてのメンバ一覧

Public メソッド

 IntentionWithCondition (boost::shared_ptr< Condition > condition, boost::shared_ptr< SoccerBehavior > behavior)
 construct with condition & behavior
bool finished (const PlayerAgent *agent)
 check if this intention finishes
bool execute (PlayerAgent *agent)
 execute action

説明

intention that has condition to be checked.


関数

bool rcsc::IntentionWithCondition::finished ( const PlayerAgent agent  )  [virtual]

check if this intention finishes

引数:
agent const pointer to the agent instance
戻り値:
true if intention finishes

rcsc::SoccerIntentionを実装しています。

bool rcsc::IntentionWithCondition::execute ( PlayerAgent agent  )  [virtual]

execute action

引数:
agent pointer to the agent itself
戻り値:
true if action is performed

rcsc::SoccerIntentionを実装しています。


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:24 2008に生成されました。  doxygen 1.5.0