Locomotions manager.
More...
#include <Locomotions.h>
Locomotions manager.
This class store locomotions.
◆ addLocomotion() [1/2]
void Atoms::Locomotions::addLocomotion |
( |
const std::string & |
name, |
|
|
const Atoms::Locomotion & |
locomotion, |
|
|
bool |
replace = true |
|
) |
| |
Add a locomotion to the map.
- Parameters
-
name | locomotion name \patam filePath path to clip file |
◆ addLocomotion() [2/2]
void Atoms::Locomotions::addLocomotion |
( |
const std::string & |
name, |
|
|
LocomotionPtr & |
locomotionPtr, |
|
|
bool |
replace = true |
|
) |
| |
Add a locomotion to the map.
- Parameters
-
name | locomotion name \patam filePath path to clip file |
◆ locomotion() [1/2]
LocomotionPtr Atoms::Locomotions::locomotion |
( |
const std::string & |
name | ) |
|
Return a locomotion.
- Parameters
-
locomotion | locomotion name |
- Returns
- Pointer to the locomotion stored inside this class
◆ locomotion() [2/2]
LocomotionCPtr Atoms::Locomotions::locomotion |
( |
const std::string & |
name | ) |
const |
Return a locomotion.
- Parameters
-
locomotion | locomotion name |
- Returns
- Pointer to the locomotion stored inside this class
◆ locomotionExists()
bool Atoms::Locomotions::locomotionExists |
( |
const std::string & |
name | ) |
|
Check if a locomotion exists.
- Parameters
-
- Returns
- Return true if the locomotion exists
◆ locomotionNames()
std::vector<std::string> Atoms::Locomotions::locomotionNames |
( |
| ) |
|
Get all locomotion names.
- Returns
- List of all locomotion names
◆ removeLocomotion()
void Atoms::Locomotions::removeLocomotion |
( |
const std::string & |
name | ) |
|
Remove a locomotion from the map.
- Parameters
-
The documentation for this class was generated from the following file: