|
|
#include <RobotAPI/libraries/skills_gui/memory/SkillManagerWrapper.h>
Inheritance diagram for SkillManagerWrapper:Classes | |
| struct | Snapshot |
Public Slots | |
| void | acceptSearchRequest (std::string const &search) |
| Applies the search word to the update filter. More... | |
| void | addParametersToHistory (const skills::SkillID &sid, const Parameters ¶ms) |
| void | disconnectMemory () |
| Disconnects the interface from memory. More... | |
| std::optional< Parameters > | getLatestParametersForSkill (const skills::SkillID &sid) |
| std::vector< Parameters > | getParameterHistoryForSkill (const skills::SkillID &sid) |
| void | stopAllExecutions () |
| Stops all available (and running) executions. More... | |
| void | updateFromMemory () |
| Requests this wrapper to overwrite its own state from memory. More... | |
Signals | |
| void | connectionUpdate (std::string const &message, std::string const &error) |
| void | disableAutoUpdate () |
| void | searchAccepted () |
| void | updateAvailable (Snapshot update) |
Public Member Functions | |
| void | connectMemory (skills::manager::dti::SkillManagerInterfacePrx const &updatedMemory) |
| Updates the memory pointer. More... | |
| StatusMap | getExecutions () |
| Returns the latest status snapshot. More... | |
| SkillMap | getSkills () |
| Returns the latest skills snapshot. More... | |
| SkillMap | getSkillsFiltered () |
| Returns the latest skills snapshot. More... | |
| SkillManagerWrapper (QObject *parent=nullptr) | |
| SkillManagerWrapper (skills::manager::dti::SkillManagerInterfacePrx &_memory, QObject *parent=nullptr) | |
| void | startExecutionWithParams (skills::SkillID &skillId, aron::data::DictPtr const params) |
| Attempts to start an execution with given parameters. More... | |
| void | stopExecution (skills::SkillExecutionID const &executionId, const unsigned int max_retries=0) |
| Attempts to stop an execution. More... | |
Static Public Member Functions | |
| static const std::optional< skills::ProviderID > | findFirstProvider (SkillMap const &map, SkillID const &skillId) |
Definition at line 25 of file SkillManagerWrapper.h.
|
inline |
Definition at line 29 of file SkillManagerWrapper.h.
|
inline |
Definition at line 36 of file SkillManagerWrapper.h.
|
slot |
Applies the search word to the update filter.
| search | The search word. |
Definition at line 197 of file SkillManagerWrapper.cpp.
|
slot |
Definition at line 258 of file SkillManagerWrapper.cpp.
|
signal |
Here is the caller graph for this function:| void connectMemory | ( | skills::manager::dti::SkillManagerInterfacePrx const & | updatedMemory | ) |
Updates the memory pointer.
This should be called whenever the GUI connects/reconnects.
Definition at line 180 of file SkillManagerWrapper.cpp.
|
signal |
|
slot |
Disconnects the interface from memory.
Definition at line 188 of file SkillManagerWrapper.cpp.
|
static |
Definition at line 286 of file SkillManagerWrapper.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| StatusMap getExecutions | ( | ) |
Returns the latest status snapshot.
Definition at line 328 of file SkillManagerWrapper.cpp.
Here is the caller graph for this function:
|
slot |
|
slot |
| SkillMap getSkills | ( | ) |
Returns the latest skills snapshot.
Definition at line 320 of file SkillManagerWrapper.cpp.
Here is the caller graph for this function:| SkillMap getSkillsFiltered | ( | ) |
Returns the latest skills snapshot.
Definition at line 310 of file SkillManagerWrapper.cpp.
|
signal |
Here is the caller graph for this function:| void startExecutionWithParams | ( | skills::SkillID & | skillId, |
| aron::data::DictPtr const | params | ||
| ) |
Attempts to start an execution with given parameters.
If an Ice exception is encountered, a message will be logged and the method will abort.
| skillId | The skill to execute. |
| params | The parameters to execute with. |
Definition at line 390 of file SkillManagerWrapper.cpp.
Here is the call graph for this function:
|
slot |
Stops all available (and running) executions.
Definition at line 204 of file SkillManagerWrapper.cpp.
Here is the call graph for this function:| void stopExecution | ( | skills::SkillExecutionID const & | executionId, |
| const unsigned int | max_retries = 0 |
||
| ) |
Attempts to stop an execution.
If this doesn't succeed, it will retry.
| executionId | The ExecutionID to abort. |
| max_retries | The amount of times to retry, if aborting fails. |
Definition at line 335 of file SkillManagerWrapper.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
slot |
Requests this wrapper to overwrite its own state from memory.
Definition at line 235 of file SkillManagerWrapper.cpp.