Public Member Functions | Private Member Functions | Private Attributes
com.github.rosjava.android_apps.application_management.dashboards.DefaultDashboard Class Reference
Inheritance diagram for com.github.rosjava.android_apps.application_management.dashboards.DefaultDashboard:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DefaultDashboard (Context context)
 DefaultDashboard (Context context, AttributeSet attrs)
void onShutdown (Node node)
void onStart (ConnectedNode connectedNode)

Private Member Functions

void handleDiagnosticArray (DiagnosticArray msg)
void inflateSelf (Context context)
HashMap< String, String > keyValueArrayToMap (List< KeyValue > list)
void populateBatteryFromStatus (BatteryLevelView view, DiagnosticStatus status)

Private Attributes

ConnectedNode connectedNode
Subscriber< DiagnosticArray > diagnosticSubscriber
BatteryLevelView laptopBattery
boolean powerOn = false
BatteryLevelView robotBattery

Detailed Description

Definition at line 61 of file DefaultDashboard.java.


Constructor & Destructor Documentation

Definition at line 68 of file DefaultDashboard.java.

Definition at line 72 of file DefaultDashboard.java.


Member Function Documentation

Set the ROS Node to use to get status data and connect it up. Disconnects the previous node if there was one.

Exceptions:
org.ros.exception.RosExceptionPopulate view with new diagnostic data. This must be called in the UI thread.

Definition at line 92 of file DefaultDashboard.java.

Definition at line 76 of file DefaultDashboard.java.

HashMap<String, String> com.github.rosjava.android_apps.application_management.dashboards.DefaultDashboard.keyValueArrayToMap ( List< KeyValue >  list) [inline, private]

Definition at line 126 of file DefaultDashboard.java.

Set the ROS Node to use to get status data and connect it up. Disconnects the previous node if there was one.

Implements com.github.rosjava.android_apps.application_management.Dashboard.DashboardInterface.

Definition at line 145 of file DefaultDashboard.java.

void com.github.rosjava.android_apps.application_management.dashboards.DefaultDashboard.populateBatteryFromStatus ( BatteryLevelView  view,
DiagnosticStatus  status 
) [inline, private]

Definition at line 104 of file DefaultDashboard.java.


Member Data Documentation

Definition at line 64 of file DefaultDashboard.java.

Definition at line 65 of file DefaultDashboard.java.

Definition at line 63 of file DefaultDashboard.java.

Definition at line 66 of file DefaultDashboard.java.

Definition at line 62 of file DefaultDashboard.java.


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


android_apps
Author(s): Daniel Stonier , Kazuto Murase
autogenerated on Fri Aug 28 2015 10:04:41