|
MachineIntelligenceCore:Algorithms
|
Abstract template class representing an action in 2-D space. More...
#include <Action2D.hpp>


Public Member Functions | |
| virtual | ~Action2D () |
| virtual void | setAction (ActionType type_)=0 |
| ActionType | getType () |
Public Member Functions inherited from mic::types::Action2DInterface | |
| Action2DInterface () | |
Protected Member Functions | |
| Action2D () | |
Protected Attributes | |
| ActionType | type |
Additional Inherited Members | |
Public Attributes inherited from mic::types::Action2DInterface | |
| int | dx |
| Increment according to x axis. More... | |
| int | dy |
| Increment according to y axis. More... | |
Abstract template class representing an action in 2-D space.
| actionType | Template parameter defining action type. |
Definition at line 88 of file Action2D.hpp.
|
inlinevirtual |
Virtual destructor. Empty.
Definition at line 93 of file Action2D.hpp.
|
inlineprotected |
Default constructor. Calls default constructor of parent Action2DInterface class. Protected - to be used by derived classes.
Definition at line 116 of file Action2D.hpp.
|
inline |
|
pure virtual |
Abstract method - its implementations should set the increments according to action type.
| ActionType | Type of action. |
Implemented in mic::types::NESWAction.
|
protected |
Type of the performed action.
Definition at line 111 of file Action2D.hpp.
Referenced by mic::types::Action2D< NESW >::getType().