|
LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
|
simple boolean condition More...
#include <clang_condition.h>


Public Member Functions | |
| CLangConditionBool (const bool val) | |
| virtual Type | type () const |
| get type id. More... | |
| bool | value () const |
| get condition value More... | |
| virtual std::ostream & | print (std::ostream &os) const |
| print clang message to the output stream More... | |
Public Member Functions inherited from rcsc::CLangCondition | |
| virtual | ~CLangCondition ()=default |
| virtual destructor | |
| virtual Type | type () const =0 |
| get type id. More... | |
| virtual std::ostream & | print (std::ostream &os) const =0 |
| print clang message to the output stream More... | |
Additional Inherited Members | |
Public Types inherited from rcsc::CLangCondition | |
| enum | Type { BOOL , PPOS , BPOS , BOWNER , PLAY_MODE , AND , OR , NOT , NAMED , COND_COMP , UNUM , MAX_TYPE } |
| clang condition types More... | |
| typedef std::shared_ptr< CLangCondition > | Ptr |
| smart pointer type | |
Protected Member Functions inherited from rcsc::CLangCondition | |
| CLangCondition ()=default | |
| protected constructor | |
simple boolean condition
|
inline |
\create object with condition value
| val | condition value |
|
virtual |
print clang message to the output stream
| os | reference to the output stream |
Implements rcsc::CLangCondition.
|
inlinevirtual |
|
inline |
get condition value