Public Member Functions | |
View | getView (Context context, View convert_view, ViewGroup parent) |
void | handleFailure (String reason) |
void | handleSuccess () |
boolean | isOk () |
MasterItem (RoconDescription roconDescription, MasterChooser parentMca) | |
void | receive (RoconDescription roconDescription) |
Private Member Functions | |
void | populateView () |
void | safePopulateView () |
Private Attributes | |
ConcertChecker | checker |
RoconDescription | description |
String | errorReason |
MasterChooser | 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 com.github.rosjava.android_remocons.common_tools.master.ConcertChecker to look up concert name and type.
Definition at line 63 of file MasterItem.java.
com.github.rosjava.android_remocons.rocon_remocon.MasterItem.MasterItem | ( | RoconDescription | roconDescription, |
MasterChooser | parentMca | ||
) | [inline] |
Definition at line 71 of file MasterItem.java.
View com.github.rosjava.android_remocons.rocon_remocon.MasterItem.getView | ( | Context | context, |
View | convert_view, | ||
ViewGroup | parent | ||
) | [inline] |
Definition at line 108 of file MasterItem.java.
void com.github.rosjava.android_remocons.rocon_remocon.MasterItem.handleFailure | ( | String | reason | ) | [inline] |
Called on failure with a short description of why it failed, like "exception" or "timeout".
Implements com.github.rosjava.android_remocons.common_tools.master.ConcertChecker.FailureHandler.
Definition at line 102 of file MasterItem.java.
Definition at line 91 of file MasterItem.java.
boolean com.github.rosjava.android_remocons.rocon_remocon.MasterItem.isOk | ( | ) | [inline] |
Definition at line 87 of file MasterItem.java.
void com.github.rosjava.android_remocons.rocon_remocon.MasterItem.populateView | ( | ) | [inline, private] |
Definition at line 131 of file MasterItem.java.
void com.github.rosjava.android_remocons.rocon_remocon.MasterItem.receive | ( | RoconDescription | roconDescription | ) | [inline] |
Called on success with a description of the concert that got checked.
Implements com.github.rosjava.android_remocons.common_tools.master.ConcertChecker.ConcertDescriptionReceiver.
Definition at line 96 of file MasterItem.java.
void com.github.rosjava.android_remocons.rocon_remocon.MasterItem.safePopulateView | ( | ) | [inline, private] |
Definition at line 118 of file MasterItem.java.
Definition at line 65 of file MasterItem.java.
Definition at line 67 of file MasterItem.java.
Definition at line 69 of file MasterItem.java.
Definition at line 68 of file MasterItem.java.
Definition at line 66 of file MasterItem.java.