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::CLangActionHeteroType Class Reference

clang action 'htype' More...

#include <clang_action.h>

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

Public Member Functions

 CLangActionHeteroType ()
 create with unknown type.
 
 CLangActionHeteroType (const int type)
 create with the specified type id.
 
virtual Type type () const
 get type id. More...
 
int playerType () const
 get the player type id More...
 
void setPlayerType (const int type)
 set player type id. 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 'htype'

Member Function Documentation

◆ playerType()

int rcsc::CLangActionHeteroType::playerType ( ) const
inline

get the player type id

Returns
player type id

◆ print()

virtual std::ostream & rcsc::CLangActionHeteroType::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.

◆ setPlayerType()

void rcsc::CLangActionHeteroType::setPlayerType ( const int  type)
inline

set player type id.

Parameters
typeplayer type id

◆ type()

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

get type id.

Returns
action type id.

Implements rcsc::CLangAction.


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