Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
com.generalrobotix.ui.util.GrxProcessManager Class Reference
Inheritance diagram for com.generalrobotix.ui.util.GrxProcessManager:
Inheritance graph
[legend]

Classes

class  AProcess
 
class  ProcessInfo
 

Public Member Functions

void autoStart (IProgressMonitor monitor)
 
void autoStop ()
 
void clearBuffer ()
 
void clearList ()
 
void createThread ()
 
AProcess get (String name)
 
AProcess get (int n)
 
StringBuffer getOutputBuffer ()
 
List< Integer > getPID (String processName)
 
 GrxProcessManager (String name, GrxPluginManager manager)
 
boolean isRegistered (ProcessInfo pi)
 
boolean isRunning (ProcessInfo pi)
 
boolean register (ProcessInfo pi)
 
void restart (IProgressMonitor monitor)
 
void setOutputBuffer (StringBuffer sb)
 
void setProcessList (GrxServerManager serverManager)
 
int size ()
 
void startType ()
 
void stopThread ()
 
void stopType ()
 
boolean unregister (String id)
 
- Public Member Functions inherited from com.generalrobotix.ui.GrxBaseItem
File chooseSaveFile ()
 
GrxBaseItem clone ()
 Override clone method. More...
 
boolean create ()
 
void delete ()
 delete this item More...
 
File getDefaultDir ()
 get default directory More...
 
String getFileExtention ()
 get file extension More...
 
Object getValue ()
 
boolean load (File file)
 
void paste (String clipVal)
 paste object More...
 
void setValue (Object o)
 
- Public Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin
void addObserver (GrxObserver v)
 
GrxBasePlugin clone ()
 Override clone method. More...
 
void deleteObserver (GrxObserver v)
 
boolean equals (Object obj)
 check whether obj equals to this More...
 
Element getElement ()
 get element More...
 
Image getIcon ()
 get icon More...
 
Vector< Action > getMenu ()
 get menu More...
 
String [] getMenuPath ()
 get menu path More...
 
final String getName ()
 get name More...
 
ArrayList< GrxObservergetObserver ()
 
String getOldName ()
 
Vector< MenuManager > getSubMenu ()
 get subMenu More...
 
String getURL (boolean expand)
 
ValueEditType GetValueEditType (String key)
 Return editing type of the key item. More...
 
boolean isExclusive ()
 check whether this is exclusive or not More...
 
boolean isSelected ()
 check whether this is selected or not More...
 
void notifyObservers (Object... arg)
 
boolean propertyChanged (String property, String value)
 check validity of new value of property and update if valid More...
 
boolean registerCORBA ()
 
void rename (String newName)
 rename this item More...
 
void restoreProperties ()
 restore properties. Called by menu item "restore Properties" More...
 
void setDocument (Document doc)
 set document More...
 
void setElement (Element element)
 set element More...
 
void setExclusive (boolean b)
 set exclusive flag More...
 
void setFocused (boolean b)
 set/unset focus on this plugin More...
 
void setMenuItem (Action a)
 add a menu item More...
 
void setName (String name)
 set name More...
 
Object setProperty (String key, String value)
 set property value associated with a keyword More...
 
void setSelected (boolean b)
 set selected flag More...
 
void setSubMenu (MenuManager m)
 add a submenu More...
 
void setURL (String url)
 set URL property More...
 
void shutdown ()
 
Element storeProperties ()
 store properties More...
 
final String toString ()
 convert to String. Currently, name is returned. More...
 
void unregisterCORBA ()
 
- Public Member Functions inherited from com.generalrobotix.ui.util.GrxConfigBundle
final Double getDbl (String key, Double defaultVal)
 get double value associated to key More...
 
Double getDbl (String value)
 
final double [] getDblAry (String key, double[] defaultVal)
 get double array associated to key More...
 
double [] getDblAry (String value)
 get array of double from String More...
 
final Float getFlt (String key, Float defaultVal)
 get float value associated to key More...
 
final Float getFlt (String value)
 
final float [] getFltAry (String key, float[] defaultVal)
 get float array associated to key More...
 
float [] getFltAry (String value)
 
final Integer getInt (String key, Integer defaultVal)
 get integer value associated to key More...
 
final int [] getIntAry (String key)
 get integer array associated to key More...
 
final Short getShort (String key, Short defaultVal)
 get short value associated to key More...
 
Short getShort (String value)
 
final String getStr (String key)
 get value associated to keyword More...
 
final String getStr (String key, String defaultVal)
 get value associated to key More...
 
 GrxConfigBundle ()
 constructor More...
 
 GrxConfigBundle (String fname) throws IOException
 construct from a file More...
 
final boolean isFalse (String key)
 check whether value associated to key includes a word "false" More...
 
final boolean isFalse (String key, boolean defaultVal)
 check whether value associated to key includes a word "false" More...
 
final boolean isTrue (String key)
 check whether value associated to key includes a word "true" More...
 
final boolean isTrue (String key, boolean defaultVal)
 check whether value associated to key includes a word "true" More...
 
void load (String fname) throws IOException
 load config from a file More...
 
final void setBool (String key, boolean value)
 
final void setDbl (String key, double value)
 associate double value to key More...
 
final void setDbl (String key, double value, int digits)
 associate double value to key More...
 
final void setDblAry (String key, double[] value, int digits)
 associate double array to key More...
 
final void setDblAry (String key, double[] value)
 associate double array to key More...
 
final void setFlt (String key, float value)
 associate float value to key More...
 
final void setFltAry (String key, float[] value)
 associate float array to key More...
 
final void setInt (String key, int value)
 associate int value to key More...
 
final void setShort (String key, short value)
 associate short value to key More...
 
void store (String fname, String comments) throws IOException
 store this config More...
 

Static Public Member Functions

static synchronized void shutDown ()
 
- Static Public Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin
static Object getField (Class<? extends GrxBasePlugin > cls, String field, Object defaultValue)
 get field More...
 

Private Member Functions

void killall (String pname)
 
String psaxGrep (String str)
 
void setProcessList (IProgressMonitor monitor)
 
void updateIO ()
 

Private Attributes

boolean isEnd_ = false
 
SynchronizedAccessor< Boolean > isType_ = new SynchronizedAccessor<Boolean>(true)
 
ConcurrentLinkedQueue< String > lineQueue = null
 
ProcessInfo nameServerInfo_ = null
 
StringBuffer outputBuffer_ = null
 
java.util.List< AProcessprocess_ = null
 
GrxServerManager serverManager_ = null
 
Thread thread_ = null
 

Static Private Attributes

static GrxProcessManager GrxProcessManagerThis_ = null
 

Additional Inherited Members

- Protected Member Functions inherited from com.generalrobotix.ui.GrxBaseItem
 GrxBaseItem (String name, GrxPluginManager manager)
 constructor More...
 
void setDefaultDirectory (String dir)
 
void setFileExtension (String ext)
 
- Protected Member Functions inherited from com.generalrobotix.ui.GrxBasePlugin
 GrxBasePlugin (String name, GrxPluginManager manager)
 constructor More...
 
void setIcon (String iconName)
 set icon More...
 
void setMenuPath (String[] path)
 set menu path More...
 
boolean syncExec (Runnable r)
 Transfer SWT UI thread. More...
 
- Protected Attributes inherited from com.generalrobotix.ui.GrxBaseItem
String clipValue_ = ""
 
File file_
 
- Protected Attributes inherited from com.generalrobotix.ui.GrxBasePlugin
Document doc_
 
Element element_
 
GrxPluginManager manager_
 
- Static Protected Attributes inherited from com.generalrobotix.ui.GrxBaseItem
static final String [] jointTypeComboItem_ = new String[] { "fixed", "rotate", "free", "slide" }
 
static final String [] methodComboItem_ = new String[] { "EULER", "RUNGE_KUTTA" }
 
static final String [] modeComboItem_ = new String[] { "Torque", "HighGain" }
 
- Static Protected Attributes inherited from com.generalrobotix.ui.GrxBasePlugin
static final String [] booleanComboItem_ = new String[] {"true", "false" }
 
static final String INDENT4 = " "
 
static final String ITEM_TAG = "item"
 
static final String PROPERTY_TAG = "property"
 
static final String VIEW_TAG = "view"
 

Detailed Description

Definition at line 49 of file GrxProcessManager.java.

Constructor & Destructor Documentation

◆ GrxProcessManager()

com.generalrobotix.ui.util.GrxProcessManager.GrxProcessManager ( String  name,
GrxPluginManager  manager 
)
inline

Definition at line 61 of file GrxProcessManager.java.

Member Function Documentation

◆ autoStart()

void com.generalrobotix.ui.util.GrxProcessManager.autoStart ( IProgressMonitor  monitor)
inline

Definition at line 192 of file GrxProcessManager.java.

◆ autoStop()

void com.generalrobotix.ui.util.GrxProcessManager.autoStop ( )
inline

Definition at line 208 of file GrxProcessManager.java.

◆ clearBuffer()

void com.generalrobotix.ui.util.GrxProcessManager.clearBuffer ( )
inline

Definition at line 474 of file GrxProcessManager.java.

◆ clearList()

void com.generalrobotix.ui.util.GrxProcessManager.clearList ( )
inline

Definition at line 168 of file GrxProcessManager.java.

◆ createThread()

void com.generalrobotix.ui.util.GrxProcessManager.createThread ( )
inline

Definition at line 409 of file GrxProcessManager.java.

◆ get() [1/2]

AProcess com.generalrobotix.ui.util.GrxProcessManager.get ( String  name)
inline

Definition at line 172 of file GrxProcessManager.java.

◆ get() [2/2]

AProcess com.generalrobotix.ui.util.GrxProcessManager.get ( int  n)
inline

Definition at line 181 of file GrxProcessManager.java.

◆ getOutputBuffer()

StringBuffer com.generalrobotix.ui.util.GrxProcessManager.getOutputBuffer ( )
inline

Definition at line 478 of file GrxProcessManager.java.

◆ getPID()

List<Integer> com.generalrobotix.ui.util.GrxProcessManager.getPID ( String  processName)
inline

Definition at line 277 of file GrxProcessManager.java.

◆ isRegistered()

boolean com.generalrobotix.ui.util.GrxProcessManager.isRegistered ( ProcessInfo  pi)
inline

Definition at line 132 of file GrxProcessManager.java.

◆ isRunning()

boolean com.generalrobotix.ui.util.GrxProcessManager.isRunning ( ProcessInfo  pi)
inline

Definition at line 124 of file GrxProcessManager.java.

◆ killall()

void com.generalrobotix.ui.util.GrxProcessManager.killall ( String  pname)
inlineprivate

Definition at line 217 of file GrxProcessManager.java.

◆ psaxGrep()

String com.generalrobotix.ui.util.GrxProcessManager.psaxGrep ( String  str)
inlineprivate

Definition at line 242 of file GrxProcessManager.java.

◆ register()

boolean com.generalrobotix.ui.util.GrxProcessManager.register ( ProcessInfo  pi)
inline

Definition at line 140 of file GrxProcessManager.java.

◆ restart()

void com.generalrobotix.ui.util.GrxProcessManager.restart ( IProgressMonitor  monitor)
inline

Definition at line 320 of file GrxProcessManager.java.

◆ setOutputBuffer()

void com.generalrobotix.ui.util.GrxProcessManager.setOutputBuffer ( StringBuffer  sb)
inline

Definition at line 482 of file GrxProcessManager.java.

◆ setProcessList() [1/2]

void com.generalrobotix.ui.util.GrxProcessManager.setProcessList ( GrxServerManager  serverManager)
inline

Definition at line 80 of file GrxProcessManager.java.

◆ setProcessList() [2/2]

void com.generalrobotix.ui.util.GrxProcessManager.setProcessList ( IProgressMonitor  monitor)
inlineprivate

Definition at line 86 of file GrxProcessManager.java.

◆ shutDown()

static synchronized void com.generalrobotix.ui.util.GrxProcessManager.shutDown ( )
inlinestatic

Definition at line 70 of file GrxProcessManager.java.

◆ size()

int com.generalrobotix.ui.util.GrxProcessManager.size ( void  )
inline

Definition at line 188 of file GrxProcessManager.java.

◆ startType()

void com.generalrobotix.ui.util.GrxProcessManager.startType ( )
inline

Definition at line 492 of file GrxProcessManager.java.

◆ stopThread()

void com.generalrobotix.ui.util.GrxProcessManager.stopThread ( )
inline

Definition at line 498 of file GrxProcessManager.java.

◆ stopType()

void com.generalrobotix.ui.util.GrxProcessManager.stopType ( )
inline

Definition at line 486 of file GrxProcessManager.java.

◆ unregister()

boolean com.generalrobotix.ui.util.GrxProcessManager.unregister ( String  id)
inline

Definition at line 150 of file GrxProcessManager.java.

◆ updateIO()

void com.generalrobotix.ui.util.GrxProcessManager.updateIO ( )
inlineprivate

Definition at line 424 of file GrxProcessManager.java.

Member Data Documentation

◆ GrxProcessManagerThis_

GrxProcessManager com.generalrobotix.ui.util.GrxProcessManager.GrxProcessManagerThis_ = null
staticprivate

Definition at line 50 of file GrxProcessManager.java.

◆ isEnd_

boolean com.generalrobotix.ui.util.GrxProcessManager.isEnd_ = false
private

Definition at line 53 of file GrxProcessManager.java.

◆ isType_

SynchronizedAccessor<Boolean> com.generalrobotix.ui.util.GrxProcessManager.isType_ = new SynchronizedAccessor<Boolean>(true)
private

Definition at line 54 of file GrxProcessManager.java.

◆ lineQueue

ConcurrentLinkedQueue<String> com.generalrobotix.ui.util.GrxProcessManager.lineQueue = null
private

Definition at line 56 of file GrxProcessManager.java.

◆ nameServerInfo_

ProcessInfo com.generalrobotix.ui.util.GrxProcessManager.nameServerInfo_ = null
private

Definition at line 58 of file GrxProcessManager.java.

◆ outputBuffer_

StringBuffer com.generalrobotix.ui.util.GrxProcessManager.outputBuffer_ = null
private

Definition at line 55 of file GrxProcessManager.java.

◆ process_

java.util.List<AProcess> com.generalrobotix.ui.util.GrxProcessManager.process_ = null
private

Definition at line 52 of file GrxProcessManager.java.

◆ serverManager_

GrxServerManager com.generalrobotix.ui.util.GrxProcessManager.serverManager_ = null
private

Definition at line 59 of file GrxProcessManager.java.

◆ thread_

Thread com.generalrobotix.ui.util.GrxProcessManager.thread_ = null
private

Definition at line 57 of file GrxProcessManager.java.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Sep 8 2022 02:24:08