Class OS


  • public class OS
    extends java.lang.Object
    encapsulates os dependent functionality
    • Constructor Summary

      Constructors 
      Constructor Description
      OS()  
      OS​(long cPtr, boolean cMemoryOwn)  
    • 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 libraries
      static 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OS

        public OS​(long cPtr,
                  boolean cMemoryOwn)
      • OS

        public OS()
    • 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