RobWorkProject  25.2.11-
Static Public Member Functions | List of all members
OS Class Reference

encapsulates os dependent functionality More...

#include <os.hpp>

Static Public Member Functions

static std::string getDLLExtension ()
 get the extension for dynamic linked libraries More...
 
static std::vector< std::string > InstallPluginLocation (std::string pack="RobWork")
 find the location of where installed robwork plugins are placed. More...
 
static std::filesystem::path getExeDir ()
 GetThe Directory of the executable. More...
 

Detailed Description

encapsulates os dependent functionality

Member Function Documentation

◆ getDLLExtension()

static std::string getDLLExtension ( )
inlinestatic

get the extension for dynamic linked libraries

Returns
returns the extension without a . infront

◆ getExeDir()

static std::filesystem::path getExeDir ( )
static

GetThe Directory of the executable.

Returns
std::filesystem::path

◆ InstallPluginLocation()

static std::vector<std::string> InstallPluginLocation ( std::string  pack = "RobWork")
static

find the location of where installed robwork plugins are placed.

Parameters
pack[in] this is used for some systems where RobWork, RobWorkSim, RobWorkHardware and RobWorkStudio don't install the plugins in the same location. This variable takes one of four strings as argument {RobWork, RobWorkSim, RobWorkHardware and RobWorkStudio}
Returns
return empty if location not found

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