LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
|
check if target player's x coordinate is greater(forwarder) than threshold value More...
#include <player_predicate.h>
Public Member Functions | |
XCoordinateForwardPlayerPredicate (const double &threshold) | |
construct with threshold value More... | |
bool | operator() (const AbstractPlayerObject &p) const |
predicate function More... | |
Ptr | clone () const |
create clone object. More... | |
![]() | |
virtual | ~PlayerPredicate () |
virtual destructor | |
virtual bool | operator() (const AbstractPlayerObject &p) const =0 |
predicate function More... | |
virtual Ptr | clone () const =0 |
create clone object. More... | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< PlayerPredicate > | Ptr |
smart pointer type | |
typedef std::shared_ptr< const PlayerPredicate > | ConstPtr |
const smart pointer type | |
![]() | |
PlayerPredicate () | |
protected constructor | |
check if target player's x coordinate is greater(forwarder) than threshold value
|
inlineexplicit |
construct with threshold value
threshold | x-coordinate threshold value |
|
inlinevirtual |
|
inlinevirtual |
predicate function
p | const reference to the target player object |
Implements rcsc::PlayerPredicate.