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

List of all members.

Public Member Functions

GraphName getDefaultNodeName ()
PlatformInfo getPlatformInfo ()
String getRobotAppManagerNamespace ()
Icon getRobotIcon ()
String getRobotType ()
String getRobotUniqueName ()
void onStart (final ConnectedNode connectedNode)
 PlatformInfoServiceClient (String namespace)
 PlatformInfoServiceClient ()
void waitForResponse () throws ServiceNotFoundException

Private Member Functions

void _createListeners ()

Private Attributes

ConnectedNode connectedNode
String errorMessage = ""
PlatformInfo platformInfo
ServiceResponseListener
< GetPlatformInfoResponse > 
platformInfoListener
String robotUniqueName

Detailed Description

Communicates with the robot app manager and determines various facets of the platform information. Actually does a bit more than platform info.

Definition at line 31 of file PlatformInfoServiceClient.java.


Constructor & Destructor Documentation

Configures the service client.

Parameters:
namespace: namespace for the app manager's services

Definition at line 44 of file PlatformInfoServiceClient.java.

Definition at line 49 of file PlatformInfoServiceClient.java.


Member Function Documentation

Definition at line 51 of file PlatformInfoServiceClient.java.

This is unused, but abstract, so have to override.

Returns:

Definition at line 185 of file PlatformInfoServiceClient.java.

Definition at line 89 of file PlatformInfoServiceClient.java.

Definition at line 93 of file PlatformInfoServiceClient.java.

Definition at line 109 of file PlatformInfoServiceClient.java.

Definition at line 105 of file PlatformInfoServiceClient.java.

Robot unique name is simply the unadorned app manager namespace (i.e. no '/').

Returns:

Definition at line 101 of file PlatformInfoServiceClient.java.

This gets executed by the nodeMainExecutor. Note that any exception handling here will set an error message that can be picked up when calling the waitForResponse() method.

Parameters:
connectedNode

Definition at line 120 of file PlatformInfoServiceClient.java.

Utility function to block until platform info's callback gets processed.

Exceptions:
ServiceNotFoundException: when it times out waiting for the service.

Definition at line 71 of file PlatformInfoServiceClient.java.


Member Data Documentation

Definition at line 36 of file PlatformInfoServiceClient.java.

Definition at line 37 of file PlatformInfoServiceClient.java.

Definition at line 35 of file PlatformInfoServiceClient.java.

Definition at line 34 of file PlatformInfoServiceClient.java.

Definition at line 32 of file PlatformInfoServiceClient.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