Public Member Functions | |
View | getView (Context context, View convert_view, ViewGroup parent) |
void | handleFailure (String reason) |
void | handleSuccess () |
boolean | isOk () |
MasterItem (RobotDescription robotDescription, RobotMasterChooser parentMca) | |
void | receive (RobotDescription robotDescription) |
Private Member Functions | |
void | populateView () |
void | safePopulateView () |
Private Attributes | |
MasterChecker | checker |
boolean | control |
ControlChecker | controlChecker |
RobotDescription | description |
String | errorReason |
RobotMasterChooser | parentMca |
View | view |
Data class behind view of one item in the list of ROS Masters. Gets created with a master URI and a local host name, then starts a MasterChecker to look up robot name and type.
Definition at line 63 of file MasterItem.java.
com.github.rosjava.android_remocons.robot_remocon.MasterItem.MasterItem | ( | RobotDescription | robotDescription, |
RobotMasterChooser | parentMca | ||
) | [inline] |
Definition at line 74 of file MasterItem.java.
View com.github.rosjava.android_remocons.robot_remocon.MasterItem.getView | ( | Context | context, |
View | convert_view, | ||
ViewGroup | parent | ||
) | [inline] |
Definition at line 115 of file MasterItem.java.
void com.github.rosjava.android_remocons.robot_remocon.MasterItem.handleFailure | ( | String | reason | ) | [inline] |
Definition at line 110 of file MasterItem.java.
Definition at line 100 of file MasterItem.java.
boolean com.github.rosjava.android_remocons.robot_remocon.MasterItem.isOk | ( | ) | [inline] |
Definition at line 96 of file MasterItem.java.
void com.github.rosjava.android_remocons.robot_remocon.MasterItem.populateView | ( | ) | [inline, private] |
Definition at line 137 of file MasterItem.java.
void com.github.rosjava.android_remocons.robot_remocon.MasterItem.receive | ( | RobotDescription | robotDescription | ) | [inline] |
Definition at line 105 of file MasterItem.java.
void com.github.rosjava.android_remocons.robot_remocon.MasterItem.safePopulateView | ( | ) | [inline, private] |
Definition at line 124 of file MasterItem.java.
MasterChecker com.github.rosjava.android_remocons.robot_remocon.MasterItem.checker [private] |
Definition at line 68 of file MasterItem.java.
boolean com.github.rosjava.android_remocons.robot_remocon.MasterItem.control [private] |
Definition at line 73 of file MasterItem.java.
ControlChecker com.github.rosjava.android_remocons.robot_remocon.MasterItem.controlChecker [private] |
Definition at line 67 of file MasterItem.java.
RobotDescription com.github.rosjava.android_remocons.robot_remocon.MasterItem.description [private] |
Definition at line 70 of file MasterItem.java.
Definition at line 72 of file MasterItem.java.
Definition at line 71 of file MasterItem.java.
Definition at line 69 of file MasterItem.java.