メインページ | ネームスペース一覧 | クラス階層 | アルファベット順一覧 | 構成 | ファイル一覧 | ネームスペースメンバ | 構成メンバ | ファイルメンバ

クラス tasks::ItemSupply

#include <item_supply.hh>

tasks::ItemSupplyに対する継承グラフ

Inheritance graph
[凡例]
tasks::ItemSupplyのコラボレーション図

Collaboration graph
[凡例]
すべてのメンバ一覧

Public 型

enum  State {
  state_going_to_shop, state_arranging_items, state_supply, state_arranging_new_items,
  state_finishing
}
typedef std::list< Task * > TaskList
enum  TaskState { task_initialized, task_running, task_terminated }

Public メソッド

 ItemSupply ()
 ~ItemSupply ()
virtual void execute ()
virtual void process ()
virtual void terminate ()
virtual const std::string & get_name () const
void fill_path (std::string &path) const
const Taskget_current_sub_task () const
void report_task_execution () const
bool is_terminated () const

Protected メソッド

virtual void require_sub_task ()
void sell ()
void arrange ()
void supply ()
void clear_sub_tasks ()

Protected 変数

State _state
int _stat_money_before
int _stat_hp_healed
int _stat_mp_healed
int _stat_hp_attempted_to_buy
int _stat_mp_attempted_to_buy
int _stat_items_sold
int _stat_earned_by_selling
int _stat_balance
const objects::HealingItem_stat_hp_healing_item
const objects::HealingItem_stat_mp_healing_item
environment::CronousEnv_ce
TaskList _sub_tasks
TaskState _task_state

型定義

typedef std::list<Task *> tasks::Task::TaskList [inherited]
 


列挙型

enum tasks::ItemSupply::State
 

列挙型の値:
state_going_to_shop 
state_arranging_items 
state_supply 
state_arranging_new_items 
state_finishing 

enum tasks::Task::TaskState [inherited]
 

列挙型の値:
task_initialized 
task_running 
task_terminated 


コンストラクタとデストラクタ

tasks::ItemSupply::ItemSupply  ) 
 

tasks::ItemSupply::~ItemSupply  ) 
 


関数

void tasks::ItemSupply::arrange  )  [protected]
 

関数の呼び出しグラフ:

void tasks::Task::clear_sub_tasks  )  [protected, inherited]
 

void tasks::ItemSupply::execute  )  [virtual]
 

tasks::Taskを再定義しています。

関数の呼び出しグラフ:

void tasks::Task::fill_path std::string &  path  )  const [inherited]
 

関数の呼び出しグラフ:

const Task * tasks::Task::get_current_sub_task  )  const [inline, inherited]
 

const std::string & tasks::ItemSupply::get_name  )  const [virtual]
 

tasks::Taskを再定義しています。

bool tasks::Task::is_terminated  )  const [inline, inherited]
 

void tasks::ItemSupply::process  )  [virtual]
 

tasks::Taskを再定義しています。

関数の呼び出しグラフ:

void tasks::Task::report_task_execution  )  const [inherited]
 

関数の呼び出しグラフ:

void tasks::ItemSupply::require_sub_task  )  [protected, virtual]
 

tasks::Taskを再定義しています。

関数の呼び出しグラフ:

void tasks::ItemSupply::sell  )  [protected]
 

関数の呼び出しグラフ:

void tasks::ItemSupply::supply  )  [protected]
 

関数の呼び出しグラフ:

void tasks::ItemSupply::terminate  )  [virtual]
 

tasks::Taskを再定義しています。

関数の呼び出しグラフ:


変数

environment::CronousEnv& tasks::Task::_ce [protected, inherited]
 

int tasks::ItemSupply::_stat_balance [protected]
 

int tasks::ItemSupply::_stat_earned_by_selling [protected]
 

int tasks::ItemSupply::_stat_hp_attempted_to_buy [protected]
 

int tasks::ItemSupply::_stat_hp_healed [protected]
 

const objects::HealingItem* tasks::ItemSupply::_stat_hp_healing_item [protected]
 

int tasks::ItemSupply::_stat_items_sold [protected]
 

int tasks::ItemSupply::_stat_money_before [protected]
 

int tasks::ItemSupply::_stat_mp_attempted_to_buy [protected]
 

int tasks::ItemSupply::_stat_mp_healed [protected]
 

const objects::HealingItem* tasks::ItemSupply::_stat_mp_healing_item [protected]
 

State tasks::ItemSupply::_state [protected]
 

TaskList tasks::Task::_sub_tasks [protected, inherited]
 

TaskState tasks::Task::_task_state [protected, inherited]
 


このクラスの説明は次のファイルから生成されました:
Cronous Emulatorに対してWed Aug 17 06:25:22 2005に生成されました。  doxygen 1.4.2-20050421