Classes | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
com.generalrobotix.ui.view.GrxRobotHardwareClientView Class Reference

RobotHardware RTC client view. More...

Inheritance diagram for com.generalrobotix.ui.view.GrxRobotHardwareClientView:
Inheritance graph
[legend]

Classes

class  SetPropertyPanel
 

Public Member Functions

RTObject findRTC (String name)
 
org.omg.CORBA.Object findService (RTObject rtc, String service)
 
 GrxRobotHardwareClientView (String name, GrxPluginManager manager, GrxBaseViewPart vp, Composite parent)
 constructor More...
 
boolean isAnyServoOn ()
 
void registerItemChange (GrxBaseItem item, int event)
 
void restoreProperties ()
 
- Public Member Functions inherited from com::generalrobotix::ui::GrxBaseView
boolean cleanup (List< GrxBaseItem > itemList)
 
void focusedItemChanged (GrxBaseItem item)
 
Composite getComposite ()
 
Composite getParent ()
 
GrxBaseViewPart getViewPart ()
 
 GrxBaseView (String name, GrxPluginManager manager_, GrxBaseViewPart vp, Composite parent)
 
void itemListChanged ()
 
void propertyChanged ()
 
void registerItemChange (GrxBaseItem item, int event)
 
void restoreProperties ()
 
void setName (String name)
 
void setScrollMinSize (int width, int height)
 
void setUp ()
 
Element storeProperties ()
 
void update (GrxBasePlugin plugin, Object...arg)
 
void updateEditerFont ()
 
void updatePosition (GrxBasePlugin plugin, Integer pos)
 
void updateTableFont ()
 
- Public Member Functions inherited from com::generalrobotix::ui::GrxBasePlugin
void addObserver (GrxObserver v)
 
GrxBasePlugin clone ()
 
void deleteObserver (GrxObserver v)
 
boolean equals (Object obj)
 
Element getElement ()
 
Image getIcon ()
 
Vector< Action > getMenu ()
 
String[] getMenuPath ()
 
final String getName ()
 
ArrayList< GrxObservergetObserver ()
 
String getOldName ()
 
Vector< MenuManager > getSubMenu ()
 
String getURL (boolean expand)
 
ValueEditType GetValueEditType (String key)
 
boolean isExclusive ()
 
boolean isSelected ()
 
void notifyObservers (Object...arg)
 
boolean propertyChanged (String property, String value)
 
boolean registerCORBA ()
 
void rename (String newName)
 
void restoreProperties ()
 
void setDocument (Document doc)
 
void setElement (Element element)
 
void setExclusive (boolean b)
 
void setFocused (boolean b)
 
void setMenuItem (Action a)
 
void setName (String name)
 
Object setProperty (String key, String value)
 
void setSelected (boolean b)
 
void setSubMenu (MenuManager m)
 
void setURL (String url)
 
void shutdown ()
 
Element storeProperties ()
 
final String toString ()
 
void unregisterCORBA ()
 
- Public Member Functions inherited from com::generalrobotix::ui::util::GrxConfigBundle
final Double getDbl (String key, Double defaultVal)
 
Double getDbl (String value)
 
double[] getDblAry (String value)
 
final double[] getDblAry (String key, double[] defaultVal)
 
final Float getFlt (String key, Float defaultVal)
 
final Float getFlt (String value)
 
float[] getFltAry (String value)
 
final float[] getFltAry (String key, float[] defaultVal)
 
final Integer getInt (String key, Integer defaultVal)
 
final int[] getIntAry (String key)
 
final Short getShort (String key, Short defaultVal)
 
Short getShort (String value)
 
final String getStr (String key)
 
final String getStr (String key, String defaultVal)
 
 GrxConfigBundle (String fname)
 
 GrxConfigBundle ()
 
final boolean isFalse (String key)
 
final boolean isFalse (String key, boolean defaultVal)
 
final boolean isTrue (String key, boolean defaultVal)
 
final boolean isTrue (String key)
 
void load (String fname)
 
final void setBool (String key, boolean value)
 
final void setDbl (String key, double value)
 
final void setDbl (String key, double value, int digits)
 
final void setDblAry (String key, double[] value)
 
final void setDblAry (String key, double[] value, int digits)
 
final void setFlt (String key, float value)
 
final void setFltAry (String key, float[] value)
 
final void setInt (String key, int value)
 
final void setShort (String key, short value)
 
void store (String fname, String comments)
 

Static Public Attributes

static final String TITLE = "RobotHardware RTC Client"
 

Private Member Functions

GrxJythonPromptView getJythonView ()
 
DynamicsSimulator initDynamicsSimulator (boolean update)
 
void servoOff ()
 
void servoOn ()
 
void setConnectionState (int state)
 
void startMonitor (final boolean isInteractive)
 
void stopMonitor ()
 
void tryConnection (boolean isInteractive)
 
void updateRobotState ()
 

Private Attributes

boolean actualFlag = false
 
Button btnConnect_
 
Button btnServo_
 
Button btnSetup_
 
GrxWorldStateItem currentItem_
 
GrxModelItem currentModel_
 
DynamicsSimulator dynamics_
 
Text fldStatus_
 
RobotHardwareService hwCtrl_
 
Date initialDate_
 
int interval_ = 200
 
boolean isMonitorRunning_
 
GrxJythonPromptView jythonView_
 
Image lampOffIcon_ = Activator.getDefault().getImage("lamp_off.png")
 
Image lampOnIcon_ = Activator.getDefault().getImage("lamp_on.png")
 
Label lblLamp_
 
Label lblStatus_
 
Date prevDate_
 
Composite propertyPanel_
 
ArrayList< SetPropertyPanelpropList_ = new ArrayList<SetPropertyPanel>()
 
String RobotHardwareRTC_ = "RobotHardware0"
 
String robotHost_ = "localhost"
 
int robotPort_ = 2809
 
RobotStateHolder robotStateH_ = new RobotStateHolder()
 
String robotType_ = "-----"
 
Image servoOffIcon_ = Activator.getDefault().getImage("robot_servo_stop.png")
 
Image servoOnIcon_ = Activator.getDefault().getImage("robot_servo_start.png")
 
String setupFile_ = "-----"
 
StateHolderService sholder_
 
Image startMonitorIcon_ = Activator.getDefault().getImage("sim_start.png")
 
int state_ = NOT_CONNECTED
 
String StateHolderRTC_ = "StateHolder0"
 
Image stopMonitorIcon_ = Activator.getDefault().getImage("sim_stop.png")
 
WorldStateHolder worldStateH_ = new WorldStateHolder()
 

Static Private Attributes

static final int CONNECTED = 2
 
static final int CONNECTING = 1
 
static final int NOT_CONNECTED = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from com::generalrobotix::ui::GrxBaseView
static Dimension getDefaultButtonSize ()
 
- Static Public Member Functions inherited from com::generalrobotix::ui::GrxBasePlugin
static Object getField (Class<?extends GrxBasePlugin > cls, String field, Object defaultValue)
 
- Public Attributes inherited from com::generalrobotix::ui::GrxBaseView
boolean isScrollable_
 
double min
 
- Protected Member Functions inherited from com::generalrobotix::ui::GrxBasePlugin
 GrxBasePlugin (String name, GrxPluginManager manager)
 
void setIcon (String iconName)
 
void setMenuPath (String[] path)
 
boolean syncExec (Runnable r)
 
- Protected Attributes inherited from com::generalrobotix::ui::GrxBaseView
Composite composite_
 
- Protected Attributes inherited from com::generalrobotix::ui::GrxBasePlugin
Document doc_
 
Element element_
 
GrxPluginManager manager_
 
- Static Protected Attributes inherited from com::generalrobotix::ui::GrxBasePlugin
static final String[] booleanComboItem_
 
static final String INDENT4
 
static final String ITEM_TAG
 
static final String PROPERTY_TAG
 
static final String VIEW_TAG
 

Detailed Description

RobotHardware RTC client view.

Definition at line 64 of file GrxRobotHardwareClientView.java.

Constructor & Destructor Documentation

com.generalrobotix.ui.view.GrxRobotHardwareClientView.GrxRobotHardwareClientView ( String  name,
GrxPluginManager  manager,
GrxBaseViewPart  vp,
Composite  parent 
)
inline

constructor

Parameters
name
manager
vp
parent

Definition at line 118 of file GrxRobotHardwareClientView.java.

Member Function Documentation

RTObject com.generalrobotix.ui.view.GrxRobotHardwareClientView.findRTC ( String  name)
inline

Definition at line 502 of file GrxRobotHardwareClientView.java.

org.omg.CORBA.Object com.generalrobotix.ui.view.GrxRobotHardwareClientView.findService ( RTObject  rtc,
String  service 
)
inline

Definition at line 507 of file GrxRobotHardwareClientView.java.

GrxJythonPromptView com.generalrobotix.ui.view.GrxRobotHardwareClientView.getJythonView ( )
inlineprivate

Definition at line 648 of file GrxRobotHardwareClientView.java.

DynamicsSimulator com.generalrobotix.ui.view.GrxRobotHardwareClientView.initDynamicsSimulator ( boolean  update)
inlineprivate

Definition at line 623 of file GrxRobotHardwareClientView.java.

boolean com.generalrobotix.ui.view.GrxRobotHardwareClientView.isAnyServoOn ( )
inline

Definition at line 734 of file GrxRobotHardwareClientView.java.

void com.generalrobotix.ui.view.GrxRobotHardwareClientView.registerItemChange ( GrxBaseItem  item,
int  event 
)
inline
void com.generalrobotix.ui.view.GrxRobotHardwareClientView.restoreProperties ( )
inline

Definition at line 492 of file GrxRobotHardwareClientView.java.

void com.generalrobotix.ui.view.GrxRobotHardwareClientView.servoOff ( )
inlineprivate

Definition at line 713 of file GrxRobotHardwareClientView.java.

void com.generalrobotix.ui.view.GrxRobotHardwareClientView.servoOn ( )
inlineprivate

Definition at line 656 of file GrxRobotHardwareClientView.java.

void com.generalrobotix.ui.view.GrxRobotHardwareClientView.setConnectionState ( int  state)
inlineprivate

Definition at line 460 of file GrxRobotHardwareClientView.java.

void com.generalrobotix.ui.view.GrxRobotHardwareClientView.startMonitor ( final boolean  isInteractive)
inlineprivate

Definition at line 340 of file GrxRobotHardwareClientView.java.

void com.generalrobotix.ui.view.GrxRobotHardwareClientView.stopMonitor ( )
inlineprivate

Definition at line 451 of file GrxRobotHardwareClientView.java.

void com.generalrobotix.ui.view.GrxRobotHardwareClientView.tryConnection ( boolean  isInteractive)
inlineprivate

Definition at line 380 of file GrxRobotHardwareClientView.java.

void com.generalrobotix.ui.view.GrxRobotHardwareClientView.updateRobotState ( )
inlineprivate

Definition at line 536 of file GrxRobotHardwareClientView.java.

Member Data Documentation

boolean com.generalrobotix.ui.view.GrxRobotHardwareClientView.actualFlag = false
private

Definition at line 93 of file GrxRobotHardwareClientView.java.

Button com.generalrobotix.ui.view.GrxRobotHardwareClientView.btnConnect_
private

Definition at line 100 of file GrxRobotHardwareClientView.java.

Button com.generalrobotix.ui.view.GrxRobotHardwareClientView.btnServo_
private

Definition at line 101 of file GrxRobotHardwareClientView.java.

Button com.generalrobotix.ui.view.GrxRobotHardwareClientView.btnSetup_
private

Definition at line 102 of file GrxRobotHardwareClientView.java.

final int com.generalrobotix.ui.view.GrxRobotHardwareClientView.CONNECTED = 2
staticprivate

Definition at line 68 of file GrxRobotHardwareClientView.java.

final int com.generalrobotix.ui.view.GrxRobotHardwareClientView.CONNECTING = 1
staticprivate

Definition at line 67 of file GrxRobotHardwareClientView.java.

GrxWorldStateItem com.generalrobotix.ui.view.GrxRobotHardwareClientView.currentItem_
private

Definition at line 76 of file GrxRobotHardwareClientView.java.

GrxModelItem com.generalrobotix.ui.view.GrxRobotHardwareClientView.currentModel_
private

Definition at line 77 of file GrxRobotHardwareClientView.java.

DynamicsSimulator com.generalrobotix.ui.view.GrxRobotHardwareClientView.dynamics_
private

Definition at line 75 of file GrxRobotHardwareClientView.java.

Text com.generalrobotix.ui.view.GrxRobotHardwareClientView.fldStatus_
private

Definition at line 105 of file GrxRobotHardwareClientView.java.

RobotHardwareService com.generalrobotix.ui.view.GrxRobotHardwareClientView.hwCtrl_
private

Definition at line 73 of file GrxRobotHardwareClientView.java.

Date com.generalrobotix.ui.view.GrxRobotHardwareClientView.initialDate_
private

Definition at line 90 of file GrxRobotHardwareClientView.java.

int com.generalrobotix.ui.view.GrxRobotHardwareClientView.interval_ = 200
private

Definition at line 85 of file GrxRobotHardwareClientView.java.

boolean com.generalrobotix.ui.view.GrxRobotHardwareClientView.isMonitorRunning_
private

Definition at line 107 of file GrxRobotHardwareClientView.java.

GrxJythonPromptView com.generalrobotix.ui.view.GrxRobotHardwareClientView.jythonView_
private

Definition at line 70 of file GrxRobotHardwareClientView.java.

Image com.generalrobotix.ui.view.GrxRobotHardwareClientView.lampOffIcon_ = Activator.getDefault().getImage("lamp_off.png")
private

Definition at line 99 of file GrxRobotHardwareClientView.java.

Image com.generalrobotix.ui.view.GrxRobotHardwareClientView.lampOnIcon_ = Activator.getDefault().getImage("lamp_on.png")
private

Definition at line 98 of file GrxRobotHardwareClientView.java.

Label com.generalrobotix.ui.view.GrxRobotHardwareClientView.lblLamp_
private

Definition at line 103 of file GrxRobotHardwareClientView.java.

Label com.generalrobotix.ui.view.GrxRobotHardwareClientView.lblStatus_
private

Definition at line 104 of file GrxRobotHardwareClientView.java.

final int com.generalrobotix.ui.view.GrxRobotHardwareClientView.NOT_CONNECTED = 0
staticprivate

Definition at line 66 of file GrxRobotHardwareClientView.java.

Date com.generalrobotix.ui.view.GrxRobotHardwareClientView.prevDate_
private

Definition at line 91 of file GrxRobotHardwareClientView.java.

Composite com.generalrobotix.ui.view.GrxRobotHardwareClientView.propertyPanel_
private

Definition at line 106 of file GrxRobotHardwareClientView.java.

ArrayList<SetPropertyPanel> com.generalrobotix.ui.view.GrxRobotHardwareClientView.propList_ = new ArrayList<SetPropertyPanel>()
private

Definition at line 109 of file GrxRobotHardwareClientView.java.

String com.generalrobotix.ui.view.GrxRobotHardwareClientView.RobotHardwareRTC_ = "RobotHardware0"
private

Definition at line 87 of file GrxRobotHardwareClientView.java.

String com.generalrobotix.ui.view.GrxRobotHardwareClientView.robotHost_ = "localhost"
private

Definition at line 83 of file GrxRobotHardwareClientView.java.

int com.generalrobotix.ui.view.GrxRobotHardwareClientView.robotPort_ = 2809
private

Definition at line 84 of file GrxRobotHardwareClientView.java.

RobotStateHolder com.generalrobotix.ui.view.GrxRobotHardwareClientView.robotStateH_ = new RobotStateHolder()
private

Definition at line 80 of file GrxRobotHardwareClientView.java.

String com.generalrobotix.ui.view.GrxRobotHardwareClientView.robotType_ = "-----"
private

Definition at line 82 of file GrxRobotHardwareClientView.java.

Image com.generalrobotix.ui.view.GrxRobotHardwareClientView.servoOffIcon_ = Activator.getDefault().getImage("robot_servo_stop.png")
private

Definition at line 97 of file GrxRobotHardwareClientView.java.

Image com.generalrobotix.ui.view.GrxRobotHardwareClientView.servoOnIcon_ = Activator.getDefault().getImage("robot_servo_start.png")
private

Definition at line 96 of file GrxRobotHardwareClientView.java.

String com.generalrobotix.ui.view.GrxRobotHardwareClientView.setupFile_ = "-----"
private

Definition at line 86 of file GrxRobotHardwareClientView.java.

StateHolderService com.generalrobotix.ui.view.GrxRobotHardwareClientView.sholder_
private

Definition at line 72 of file GrxRobotHardwareClientView.java.

Image com.generalrobotix.ui.view.GrxRobotHardwareClientView.startMonitorIcon_ = Activator.getDefault().getImage("sim_start.png")
private

Definition at line 94 of file GrxRobotHardwareClientView.java.

int com.generalrobotix.ui.view.GrxRobotHardwareClientView.state_ = NOT_CONNECTED
private

Definition at line 92 of file GrxRobotHardwareClientView.java.

String com.generalrobotix.ui.view.GrxRobotHardwareClientView.StateHolderRTC_ = "StateHolder0"
private

Definition at line 88 of file GrxRobotHardwareClientView.java.

Image com.generalrobotix.ui.view.GrxRobotHardwareClientView.stopMonitorIcon_ = Activator.getDefault().getImage("sim_stop.png")
private

Definition at line 95 of file GrxRobotHardwareClientView.java.

final String com.generalrobotix.ui.view.GrxRobotHardwareClientView.TITLE = "RobotHardware RTC Client"
static

Definition at line 65 of file GrxRobotHardwareClientView.java.

WorldStateHolder com.generalrobotix.ui.view.GrxRobotHardwareClientView.worldStateH_ = new WorldStateHolder()
private

Definition at line 79 of file GrxRobotHardwareClientView.java.


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


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:53