abstract change view action
More...
#include <soccer_action.h>
|
|
typedef std::shared_ptr< ViewAction > | Ptr |
| | smart pointer type
|
| |
|
|
virtual | ~ViewAction ()=default |
| | nothing to do, but should be virtual.
|
| |
| virtual bool | execute (PlayerAgent *agent)=0 |
| | pure virtual. set command to the action effector More...
|
| |
| virtual ViewAction * | clone () const =0 |
| | create cloned action object More...
|
| |
|
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...
|
| |
|
|
| ViewAction ()=default |
| | nothing to do. but accessible only from derived classes.
|
| |
|
| AbstractAction () |
| | nothing to do. but accessible only from derived classes.
|
| |
abstract change view action
◆ clone()
| virtual ViewAction * rcsc::ViewAction::clone |
( |
| ) |
const |
|
pure virtual |
create cloned action object
- Returns
- pointer to the cloned object instance.
◆ execute()
| virtual bool rcsc::ViewAction::execute |
( |
PlayerAgent * |
agent | ) |
|
|
pure virtual |
pure virtual. set command to the action effector
- Return values
-
| true | if action is performed |
| false | if action is failed or not needed. |
Implements rcsc::AbstractAction.
The documentation for this class was generated from the following file: