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 | Protected Member Functions | List of all members
rcsc::BodyAction Class Referenceabstract

abstract body action More...

#include <soccer_action.h>

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

Public Member Functions

virtual ~BodyAction ()=default
 nothing to do, but should be virtual.
 
virtual bool execute (PlayerAgent *agent)=0
 pure virtual. set command to the action effector More...
 
- Public Member Functions inherited from rcsc::AbstractAction
virtual ~AbstractAction ()=default
 nothing to do, but should be virtual.
 
virtual bool execute (PlayerAgent *agent)=0
 pure virtual. set command to the action effector More...
 
long actionObjectID () const
 get ID of action object to identify action instances More...
 

Protected Member Functions

 BodyAction ()=default
 nothing to do. but accessible only from derived classes.
 
- Protected Member Functions inherited from rcsc::AbstractAction
 AbstractAction ()
 nothing to do. but accessible only from derived classes.
 

Detailed Description

abstract body action

Member Function Documentation

◆ execute()

virtual bool rcsc::BodyAction::execute ( PlayerAgent agent)
pure virtual

pure virtual. set command to the action effector

Return values
trueif action is performed
falseif action is failed or not needed.

Implements rcsc::AbstractAction.


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