SkillRuntime Class Reference

#include <RobotAPI/libraries/skills/provider/detail/SkillImplementationWrapper.h>

+ Inheritance diagram for SkillRuntime:

Public Member Functions

TerminatedSkillStatusUpdate executeSkill ()
 
 SkillRuntime (const skills::SkillBlueprint *fac, const skills::SkillExecutionID &, const aron::data::DictPtr &, const skills::callback::dti::SkillProviderCallbackInterfacePrx &)
 
void stopSkill ()
 
void updateSkillParameters (const aron::data::DictPtr &i)
 
void updateSubSkillStatus (const skills::SkillStatusUpdate &statusUpdate)
 
- Public Member Functions inherited from Logging
SpamFilterDataPtr deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const
 disables the logging for the current line for the given amount of seconds.
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set.
 
void setTag (const LogTag &tag)
 
void setTag (const std::string &tagName)
 
virtual ~Logging ()
 

Public Attributes

std::thread execution
 
std::mutex skillStatusesMutex
 
SkillStatusUpdate statusUpdate
 

Additional Inherited Members

- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtrgetLogSender () const
 Retrieve log sender.
 
LogSenderPtr loghelper (const char *file, int line, const char *function) const
 
- Protected Attributes inherited from Logging
MessageTypeT minimumLoggingLevel
 
SpamFilterDataPtr spamFilter
 
LogTag tag
 

Detailed Description

Definition at line 23 of file SkillImplementationWrapper.h.

Constructor & Destructor Documentation

◆ SkillRuntime()

SkillRuntime ( const skills::SkillBlueprint * fac,
const skills::SkillExecutionID & execId,
const aron::data::DictPtr & initial_parameters,
const skills::callback::dti::SkillProviderCallbackInterfacePrx & callbackInterface )

Definition at line 29 of file SkillImplementationWrapper.cpp.

Member Function Documentation

◆ executeSkill()

TerminatedSkillStatusUpdate executeSkill ( )

Definition at line 69 of file SkillImplementationWrapper.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stopSkill()

void stopSkill ( )

Definition at line 41 of file SkillImplementationWrapper.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateSkillParameters()

void updateSkillParameters ( const aron::data::DictPtr & i)

Definition at line 55 of file SkillImplementationWrapper.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateSubSkillStatus()

void updateSubSkillStatus ( const skills::SkillStatusUpdate & statusUpdate)
inline

Definition at line 57 of file SkillImplementationWrapper.h.

Member Data Documentation

◆ execution

std::thread execution

Definition at line 38 of file SkillImplementationWrapper.h.

◆ skillStatusesMutex

std::mutex skillStatusesMutex
mutable

Definition at line 34 of file SkillImplementationWrapper.h.

◆ statusUpdate

SkillStatusUpdate statusUpdate

Definition at line 35 of file SkillImplementationWrapper.h.


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