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 | |
boolean | isAnyServoOn () |
void | registerItemChange (GrxBaseItem item, int event) |
void | restoreProperties () |
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 |
RobotHardware RTC client view.
Definition at line 64 of file GrxRobotHardwareClientView.java.
com.generalrobotix.ui.view.GrxRobotHardwareClientView.GrxRobotHardwareClientView | ( | String | name, |
GrxPluginManager | manager, | ||
GrxBaseViewPart | vp, | ||
Composite | parent | ||
) | [inline] |
constructor
name | |
manager | |
vp | |
parent |
Definition at line 118 of file GrxRobotHardwareClientView.java.
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 | ( | ) | [inline, private] |
Definition at line 648 of file GrxRobotHardwareClientView.java.
DynamicsSimulator com.generalrobotix.ui.view.GrxRobotHardwareClientView.initDynamicsSimulator | ( | boolean | update | ) | [inline, private] |
Definition at line 623 of file GrxRobotHardwareClientView.java.
Definition at line 734 of file GrxRobotHardwareClientView.java.
void com.generalrobotix.ui.view.GrxRobotHardwareClientView.registerItemChange | ( | GrxBaseItem | item, |
int | event | ||
) | [inline] |
Reimplemented from com::generalrobotix::ui::GrxBaseView.
Definition at line 216 of file GrxRobotHardwareClientView.java.
Reimplemented from com::generalrobotix::ui::GrxBaseView.
Definition at line 492 of file GrxRobotHardwareClientView.java.
void com.generalrobotix.ui.view.GrxRobotHardwareClientView.servoOff | ( | ) | [inline, private] |
Definition at line 713 of file GrxRobotHardwareClientView.java.
void com.generalrobotix.ui.view.GrxRobotHardwareClientView.servoOn | ( | ) | [inline, private] |
Definition at line 656 of file GrxRobotHardwareClientView.java.
void com.generalrobotix.ui.view.GrxRobotHardwareClientView.setConnectionState | ( | int | state | ) | [inline, private] |
Definition at line 460 of file GrxRobotHardwareClientView.java.
void com.generalrobotix.ui.view.GrxRobotHardwareClientView.startMonitor | ( | final boolean | isInteractive | ) | [inline, private] |
Definition at line 340 of file GrxRobotHardwareClientView.java.
void com.generalrobotix.ui.view.GrxRobotHardwareClientView.stopMonitor | ( | ) | [inline, private] |
Definition at line 451 of file GrxRobotHardwareClientView.java.
void com.generalrobotix.ui.view.GrxRobotHardwareClientView.tryConnection | ( | boolean | isInteractive | ) | [inline, private] |
Definition at line 380 of file GrxRobotHardwareClientView.java.
void com.generalrobotix.ui.view.GrxRobotHardwareClientView.updateRobotState | ( | ) | [inline, private] |
Definition at line 536 of file GrxRobotHardwareClientView.java.
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 [static, private] |
Definition at line 68 of file GrxRobotHardwareClientView.java.
final int com.generalrobotix.ui.view.GrxRobotHardwareClientView.CONNECTING = 1 [static, private] |
Definition at line 67 of file GrxRobotHardwareClientView.java.
Definition at line 76 of file GrxRobotHardwareClientView.java.
Definition at line 77 of file GrxRobotHardwareClientView.java.
DynamicsSimulator com.generalrobotix.ui.view.GrxRobotHardwareClientView.dynamics_ [private] |
Definition at line 75 of file GrxRobotHardwareClientView.java.
Definition at line 105 of file GrxRobotHardwareClientView.java.
RobotHardwareService com.generalrobotix.ui.view.GrxRobotHardwareClientView.hwCtrl_ [private] |
Definition at line 73 of file GrxRobotHardwareClientView.java.
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.
Definition at line 107 of file GrxRobotHardwareClientView.java.
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 [static, private] |
Definition at line 66 of file GrxRobotHardwareClientView.java.
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.
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.