Classes | |
class | TopicCardScrollAdapter |
Protected Member Functions | |
void | onCreate (Bundle savedInstanceState) |
Private Member Functions | |
void | createCards (ArrayList< String > topicNames) |
void | createTopics () |
ArrayList< String > | getTopics () |
Private Attributes | |
List< Card > | mCards |
CardScrollView | mCardScrollView |
String[] | stringArr = null |
This class handles the original execution of the application. On Startup the applications polls the ROSBridge server to get a list of currently publishing topics After it does this it presents the user with a list of those topics. Once one is selected the application than starts of the TopicService to handle the creation of the live card and the updating and changing of the information being displayed.
Definition at line 49 of file TopicSelectActivity.java.
void edu.nimbus.glass.TopicSelectActivity.createCards | ( | ArrayList< String > | topicNames | ) | [inline, private] |
Definition at line 80 of file TopicSelectActivity.java.
void edu.nimbus.glass.TopicSelectActivity.createTopics | ( | ) | [inline, private] |
Method to poll the ROS Server to get the list of topics that are currenly being published.
On click we are going to get the name of the topic and create the service to display messages from that topic.
Definition at line 128 of file TopicSelectActivity.java.
ArrayList<String> edu.nimbus.glass.TopicSelectActivity.getTopics | ( | ) | [inline, private] |
void edu.nimbus.glass.TopicSelectActivity.onCreate | ( | Bundle | savedInstanceState | ) | [inline, protected] |
Definition at line 55 of file TopicSelectActivity.java.
List<Card> edu.nimbus.glass.TopicSelectActivity.mCards [private] |
Definition at line 50 of file TopicSelectActivity.java.
CardScrollView edu.nimbus.glass.TopicSelectActivity.mCardScrollView [private] |
Definition at line 51 of file TopicSelectActivity.java.
String [] edu.nimbus.glass.TopicSelectActivity.stringArr = null [private] |
Definition at line 52 of file TopicSelectActivity.java.