Classes | |
class | DeletionDialogButtonClickHandler |
class | DialogKeyListener |
class | DialogSelectionClickHandler |
class | SearchRobotDialogButtonClickHandler |
Public Member Functions | |
void | addRobotClicked (View view) |
void | enterRobotInfo (DiscoveredService discovered_service) |
void | enterRobotInfo (Dialog dialog) |
void | onActivityResult (int requestCode, int resultCode, Intent intent) |
boolean | onCreateOptionsMenu (Menu menu) |
boolean | onOptionsItemSelected (MenuItem item) |
void | refreshClicked (View view) |
RobotMasterChooser () | |
void | scanNFCTagClicked (View view) |
void | scanQRCodeClicked (View view) |
void | searchRobotClicked (View view) |
void | writeRobotList () |
Protected Member Functions | |
void | onCreate (Bundle savedInstanceState) |
Dialog | onCreateDialog (int id) |
Private Member Functions | |
void | addMaster (RobotId robotId) |
void | addMaster (RobotId robotId, boolean connectToDuplicates) |
void | choose (int position) |
void | deleteAllRobots () |
void | deleteSelectedRobots (boolean[] array) |
void | deleteUnresponsiveRobots () |
void | onRobotsChanged () |
void | readRobotList () |
void | refresh () |
void | updateListView () |
Private Attributes | |
ListView | listView |
MasterSearcher | masterSearcher |
List< RobotDescription > | robots |
boolean[] | selections |
Static Private Attributes | |
static final int | ADD_DELETION_DIALOG_ID = 1 |
static final int | ADD_SEARCH_ROBOT_DIALOG_ID = 2 |
static final int | ADD_URI_DIALOG_ID = 0 |
static final int | NFC_TAG_SCAN_REQUEST_CODE = 102 |
static final int | QR_CODE_SCAN_REQUEST_CODE = 101 |
Definition at line 89 of file RobotMasterChooser.java.
com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.RobotMasterChooser | ( | ) | [inline] |
Definition at line 103 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.addMaster | ( | RobotId | robotId | ) | [inline, private] |
Definition at line 211 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.addMaster | ( | RobotId | robotId, |
boolean | connectToDuplicates | ||
) | [inline, private] |
Definition at line 215 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.addRobotClicked | ( | View | view | ) | [inline] |
Definition at line 569 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.choose | ( | int | position | ) | [inline, private] |
Called when the user clicks on one of the robots in master chooser view. Should probably check the connection status before proceeding here, but perhaps we can just rely on the user clicking refresh so this process stays without any lag delay.
position |
Definition at line 175 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.deleteAllRobots | ( | ) | [inline, private] |
Definition at line 245 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.deleteSelectedRobots | ( | boolean[] | array | ) | [inline, private] |
Definition at line 250 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.deleteUnresponsiveRobots | ( | ) | [inline, private] |
Definition at line 262 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.enterRobotInfo | ( | DiscoveredService | discovered_service | ) | [inline] |
Definition at line 492 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.enterRobotInfo | ( | Dialog | dialog | ) | [inline] |
Definition at line 519 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.onActivityResult | ( | int | requestCode, |
int | resultCode, | ||
Intent | intent | ||
) | [inline] |
Definition at line 285 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.onCreate | ( | Bundle | savedInstanceState | ) | [inline, protected] |
Definition at line 277 of file RobotMasterChooser.java.
Dialog com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.onCreateDialog | ( | int | id | ) | [inline, protected] |
Definition at line 331 of file RobotMasterChooser.java.
boolean com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.onCreateOptionsMenu | ( | Menu | menu | ) | [inline] |
Definition at line 599 of file RobotMasterChooser.java.
boolean com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.onOptionsItemSelected | ( | MenuItem | item | ) | [inline] |
Definition at line 606 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.onRobotsChanged | ( | ) | [inline, private] |
Definition at line 240 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.readRobotList | ( | ) | [inline, private] |
Definition at line 107 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.refresh | ( | ) | [inline, private] |
Definition at line 147 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.refreshClicked | ( | View | view | ) | [inline] |
Definition at line 573 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.scanNFCTagClicked | ( | View | view | ) | [inline] |
Definition at line 584 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.scanQRCodeClicked | ( | View | view | ) | [inline] |
Definition at line 577 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.searchRobotClicked | ( | View | view | ) | [inline] |
Definition at line 592 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.updateListView | ( | ) | [inline, private] |
Definition at line 152 of file RobotMasterChooser.java.
void com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.writeRobotList | ( | ) | [inline] |
Definition at line 130 of file RobotMasterChooser.java.
final int com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.ADD_DELETION_DIALOG_ID = 1 [static, private] |
Definition at line 92 of file RobotMasterChooser.java.
final int com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.ADD_SEARCH_ROBOT_DIALOG_ID = 2 [static, private] |
Definition at line 93 of file RobotMasterChooser.java.
final int com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.ADD_URI_DIALOG_ID = 0 [static, private] |
Definition at line 91 of file RobotMasterChooser.java.
Definition at line 101 of file RobotMasterChooser.java.
MasterSearcher com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.masterSearcher [private] |
Definition at line 100 of file RobotMasterChooser.java.
final int com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.NFC_TAG_SCAN_REQUEST_CODE = 102 [static, private] |
Definition at line 96 of file RobotMasterChooser.java.
final int com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.QR_CODE_SCAN_REQUEST_CODE = 101 [static, private] |
Definition at line 95 of file RobotMasterChooser.java.
List<RobotDescription> com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.robots [private] |
Definition at line 98 of file RobotMasterChooser.java.
boolean [] com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser.selections [private] |
Definition at line 99 of file RobotMasterChooser.java.