RobotHardware RTC client view. More...
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< GrxObserver > | getObserver () |
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< SetPropertyPanel > | propList_ = 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 |
RobotHardware RTC client view.
Definition at line 64 of file GrxRobotHardwareClientView.java.
|
inline |
constructor
name | |
manager | |
vp | |
parent |
Definition at line 118 of file GrxRobotHardwareClientView.java.
|
inline |
Definition at line 502 of file GrxRobotHardwareClientView.java.
|
inline |
Definition at line 507 of file GrxRobotHardwareClientView.java.
|
inlineprivate |
Definition at line 648 of file GrxRobotHardwareClientView.java.
|
inlineprivate |
Definition at line 623 of file GrxRobotHardwareClientView.java.
|
inline |
Definition at line 734 of file GrxRobotHardwareClientView.java.
|
inline |
Implements com::generalrobotix::ui::GrxItemChangeListener.
Definition at line 216 of file GrxRobotHardwareClientView.java.
|
inline |
Definition at line 492 of file GrxRobotHardwareClientView.java.
|
inlineprivate |
Definition at line 713 of file GrxRobotHardwareClientView.java.
|
inlineprivate |
Definition at line 656 of file GrxRobotHardwareClientView.java.
|
inlineprivate |
Definition at line 460 of file GrxRobotHardwareClientView.java.
|
inlineprivate |
Definition at line 340 of file GrxRobotHardwareClientView.java.
|
inlineprivate |
Definition at line 451 of file GrxRobotHardwareClientView.java.
|
inlineprivate |
Definition at line 380 of file GrxRobotHardwareClientView.java.
|
inlineprivate |
Definition at line 536 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 93 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 100 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 101 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 102 of file GrxRobotHardwareClientView.java.
|
staticprivate |
Definition at line 68 of file GrxRobotHardwareClientView.java.
|
staticprivate |
Definition at line 67 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 76 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 77 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 75 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 105 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 73 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 90 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 85 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 107 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 70 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 99 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 98 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 103 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 104 of file GrxRobotHardwareClientView.java.
|
staticprivate |
Definition at line 66 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 91 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 106 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 109 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 87 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 83 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 84 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 80 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 82 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 97 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 96 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 86 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 72 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 94 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 92 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 88 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 95 of file GrxRobotHardwareClientView.java.
|
static |
Definition at line 65 of file GrxRobotHardwareClientView.java.
|
private |
Definition at line 79 of file GrxRobotHardwareClientView.java.