orocos_cpp
Static Public Member Functions | List of all members
orocos_cpp::PluginHelper Class Reference

#include <PluginHelper.hpp>

Static Public Member Functions

static void loadAllPluginsInDir (const std::string &path)
 
static bool loadTypekitAndTransports (const std::string &componentName)
 
static bool loadAllTypekitsForModel (const std::string &modelName)
 
static std::vector< std::string > getNeededTypekits (const std::string &componentName)
 

Member Function Documentation

◆ getNeededTypekits()

std::vector< std::string > PluginHelper::getNeededTypekits ( const std::string &  componentName)
static

This function parses the local pkg_config file to figure out which typkits are need by the given component.

Returns
A vector containing the names of the needed typekits

◆ loadAllPluginsInDir()

void PluginHelper::loadAllPluginsInDir ( const std::string &  path)
static

◆ loadAllTypekitsForModel()

bool PluginHelper::loadAllTypekitsForModel ( const std::string &  modelName)
static

This method loads all typkits required for a task model. All typekits were loaded to properly create a TaskContextProxy for an task of the given model type. This includes the load of all typekits that are directly required and all depended requirements.

Parameters
modelNameThe Name of a task model, e.g., "camera_usb::Task"
Returns
Returns True if new task models were loaded. Returns False if no model was loaded (also if no load was required)!

◆ loadTypekitAndTransports()

bool PluginHelper::loadTypekitAndTransports ( const std::string &  componentName)
static

This function loads the typekits and transports of the given component.


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