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 LogSenderPtr & getLogSender () 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
 

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 )

Member Function Documentation

◆ executeSkill()

TerminatedSkillStatusUpdate executeSkill ( )

◆ stopSkill()

void stopSkill ( )

◆ updateSkillParameters()

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

◆ updateSubSkillStatus()

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

Member Data Documentation

◆ execution

std::thread execution

◆ skillStatusesMutex

std::mutex skillStatusesMutex
mutable

◆ statusUpdate

SkillStatusUpdate statusUpdate

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