LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
|
composite logical "and" predicate More...
#include <player_predicate.h>
Public Member Functions | |
AndPlayerPredicate (const PlayerPredicate *p1, const PlayerPredicate *p2) | |
construct with 2 predicates. all arguments must be a dynamically allocated object. More... | |
AndPlayerPredicate (const PlayerPredicate *p1, const PlayerPredicate *p2, const PlayerPredicate *p3) | |
construct with 3 predicates. all arguments must be a dynamically allocated object. More... | |
AndPlayerPredicate (const PlayerPredicate *p1, const PlayerPredicate *p2, const PlayerPredicate *p3, const PlayerPredicate *p4) | |
construct with 4 predicates. all arguments must be a dynamically allocated object. More... | |
AndPlayerPredicate (const PlayerPredicate *p1, const PlayerPredicate *p2, const PlayerPredicate *p3, const PlayerPredicate *p4, const PlayerPredicate *p5) | |
construct with 5 predicates. all arguments must be a dynamically allocated object. More... | |
AndPlayerPredicate (const PlayerPredicate *p1, const PlayerPredicate *p2, const PlayerPredicate *p3, const PlayerPredicate *p4, const PlayerPredicate *p5, const PlayerPredicate *p6) | |
construct with 6 predicates. all arguments must be a dynamically allocated object. More... | |
AndPlayerPredicate (const PlayerPredicate *p1, const PlayerPredicate *p2, const PlayerPredicate *p3, const PlayerPredicate *p4, const PlayerPredicate *p5, const PlayerPredicate *p6, const PlayerPredicate *p7) | |
construct with 7 predicates. all arguments must be a dynamically allocated object. More... | |
AndPlayerPredicate (const PlayerPredicate *p1, const PlayerPredicate *p2, const PlayerPredicate *p3, const PlayerPredicate *p4, const PlayerPredicate *p5, const PlayerPredicate *p6, const PlayerPredicate *p7, const PlayerPredicate *p8) | |
construct with 8 predicates. all arguments must be a dynamically allocated object. 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 | |
composite logical "and" predicate
|
inline |
construct with 2 predicates. all arguments must be a dynamically allocated object.
p1 | 1st predicate |
p2 | 2nd predicate |
|
inline |
construct with 3 predicates. all arguments must be a dynamically allocated object.
p1 | 1st predicate |
p2 | 2nd predicate |
p3 | 3rd predicate |
|
inline |
construct with 4 predicates. all arguments must be a dynamically allocated object.
p1 | 1st predicate |
p2 | 2nd predicate |
p3 | 3rd predicate |
p4 | 4th predicate |
|
inline |
construct with 5 predicates. all arguments must be a dynamically allocated object.
p1 | 1st predicate |
p2 | 2nd predicate |
p3 | 3rd predicate |
p4 | 4th predicate |
p5 | 5th predicate |
|
inline |
construct with 6 predicates. all arguments must be a dynamically allocated object.
p1 | 1st predicate |
p2 | 2nd predicate |
p3 | 3rd predicate |
p4 | 4th predicate |
p5 | 5th predicate |
p6 | 6th predicate |
|
inline |
construct with 7 predicates. all arguments must be a dynamically allocated object.
p1 | 1st predicate |
p2 | 2nd predicate |
p3 | 3rd predicate |
p4 | 4th predicate |
p5 | 5th predicate |
p6 | 6th predicate |
p7 | 7th predicate |
|
inline |
construct with 8 predicates. all arguments must be a dynamically allocated object.
p1 | 1st predicate |
p2 | 2nd predicate |
p3 | 3rd predicate |
p4 | 4th predicate |
p5 | 5th predicate |
p6 | 6th predicate |
p7 | 7th predicate |
p8 | 8th predicate |
|
inlinevirtual |
|
inlinevirtual |
predicate function
p | const reference to the target player object |
Implements rcsc::PlayerPredicate.