Classes | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser Class Reference
Inheritance diagram for com.github.rosjava.android_remocons.robot_remocon.RobotMasterChooser:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Author:
hersh@willowgarage.com
murase@jsk.imi.i.u-tokyo.ac.jp (Kazuto Murase)

Definition at line 89 of file RobotMasterChooser.java.


Constructor & Destructor Documentation

Definition at line 103 of file RobotMasterChooser.java.


Member Function Documentation

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.

Definition at line 569 of file RobotMasterChooser.java.

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.

Parameters:
position

Definition at line 175 of file RobotMasterChooser.java.

Definition at line 245 of file RobotMasterChooser.java.

Definition at line 250 of file RobotMasterChooser.java.

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.

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.

Definition at line 331 of file RobotMasterChooser.java.

Definition at line 599 of file RobotMasterChooser.java.

Definition at line 606 of file RobotMasterChooser.java.

Definition at line 240 of file RobotMasterChooser.java.

Definition at line 107 of file RobotMasterChooser.java.

Definition at line 147 of file RobotMasterChooser.java.

Definition at line 573 of file RobotMasterChooser.java.

Definition at line 584 of file RobotMasterChooser.java.

Definition at line 577 of file RobotMasterChooser.java.

Definition at line 592 of file RobotMasterChooser.java.

Definition at line 152 of file RobotMasterChooser.java.

Definition at line 130 of file RobotMasterChooser.java.


Member Data Documentation

Definition at line 92 of file RobotMasterChooser.java.

Definition at line 93 of file RobotMasterChooser.java.

Definition at line 91 of file RobotMasterChooser.java.

Definition at line 101 of file RobotMasterChooser.java.

Definition at line 100 of file RobotMasterChooser.java.

Definition at line 96 of file RobotMasterChooser.java.

Definition at line 95 of file RobotMasterChooser.java.

Definition at line 98 of file RobotMasterChooser.java.

Definition at line 99 of file RobotMasterChooser.java.


The documentation for this class was generated from the following file:


android_remocons
Author(s): Daniel Stonier , Kazuto Murase
autogenerated on Wed Aug 26 2015 10:40:28