LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | List of all members
rcsc::CLangActionMark Class Reference

clang action 'mark' More...

#include <clang_action.h>

Inheritance diagram for rcsc::CLangActionMark:
Inheritance graph
[legend]
Collaboration diagram for rcsc::CLangActionMark:
Collaboration graph
[legend]

Public Member Functions

 CLangActionMark ()
 create with empty target players
 
 CLangActionMark (CLangUnumSet *players)
 create with target players More...
 
virtual Type type () const
 get type id. More...
 
const CLangUnumSet::PtrtargetPlayers () const
 get the set of target players' unum \retur unum set
 
void addPlayer (const int unum)
 add new target player More...
 
virtual std::ostream & print (std::ostream &os) const
 print clang message to the output stream More...
 
- Public Member Functions inherited from rcsc::CLangAction
virtual ~CLangAction ()
 virtual destructor
 
virtual Type type () const =0
 get action 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::CLangAction
enum  Type {
  POS , HOME , BALLTO , MARK ,
  MARK_LINE , OFFLINE , HTYPE , PASS ,
  DRIBBLE , CLEAR , SHOOT , HOLD ,
  INTERCEPT , TACKLE , MAX_TYPE
}
 clang action types
 
typedef std::shared_ptr< CLangActionConstPtr
 smart pointer type
 
typedef std::vector< ConstPtrCont
 action container type
 
- Protected Member Functions inherited from rcsc::CLangAction
 CLangAction ()
 protected constructor
 

Detailed Description

clang action 'mark'

Constructor & Destructor Documentation

◆ CLangActionMark()

rcsc::CLangActionMark::CLangActionMark ( CLangUnumSet players)
inlineexplicit

create with target players

Parameters
dynamicallyallocated object.

Member Function Documentation

◆ addPlayer()

void rcsc::CLangActionMark::addPlayer ( const int  unum)
inline

add new target player

Parameters
unumtarget player's uniform number

◆ print()

virtual std::ostream & rcsc::CLangActionMark::print ( std::ostream &  os) const
virtual

print clang message to the output stream

Parameters
osreference to the output stream
Returns
reference to the output stream

Implements rcsc::CLangAction.

◆ type()

virtual Type rcsc::CLangActionMark::type ( ) const
inlinevirtual

get type id.

Returns
action type id.

Implements rcsc::CLangAction.


The documentation for this class was generated from the following file: