Package org.robwork.sdurw_core
Class OS
- java.lang.Object
-
- org.robwork.sdurw_core.OS
-
public class OS extends java.lang.Object
encapsulates os dependent functionality
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static long
getCPtr(OS obj)
static java.lang.String
getDLLExtension()
get the extension for dynamic linked librariesstatic java.lang.String
InstallPluginLocation()
find the location of where installed robwork plugins are placed.
static java.lang.String
InstallPluginLocation(java.lang.String pack)
find the location of where installed robwork plugins are placed.
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(OS obj)
-
delete
public void delete()
-
getDLLExtension
public static java.lang.String getDLLExtension()
get the extension for dynamic linked libraries- Returns:
- returns the extension without a . infront
-
InstallPluginLocation
public static java.lang.String InstallPluginLocation(java.lang.String pack)
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 "" if location not found
-
InstallPluginLocation
public static java.lang.String InstallPluginLocation()
find the location of where installed robwork plugins are placed.
- Returns:
- return "" if location not found
-
-