クラス rcsc::CoordinateAccuratePlayerPredicate

check if target player's positional information has enough accuracy. [詳細]

#include <player_predicate.h>

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

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

Public メソッド

 CoordinateAccuratePlayerPredicate (const int threshold)
 construct with threshold value
bool operator() (const AbstractPlayerObject &p) const
 predicate function

説明

check if target player's positional information has enough accuracy.


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

rcsc::CoordinateAccuratePlayerPredicate::CoordinateAccuratePlayerPredicate ( const int  threshold  )  [inline, explicit]

construct with threshold value

引数:
threshold accuracy threshold value


関数

bool rcsc::CoordinateAccuratePlayerPredicate::operator() ( const AbstractPlayerObject p  )  const [inline, virtual]

predicate function

引数:
p const reference to the target player object
戻り値:
true if target player's posCount() is less than equal threshold

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


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