Classes | |
class | CheckerThread |
interface | ConcertDescriptionReceiver |
interface | FailureHandler |
Public Member Functions | |
void | beginChecking (MasterId masterId) |
ConcertChecker (ConcertDescriptionReceiver foundConcertCallback, FailureHandler failureCallback) | |
void | stopChecking () |
Private Attributes | |
CheckerThread | checkerThread |
FailureHandler | failureCallback |
ConcertDescriptionReceiver | foundConcertCallback |
Threaded ROS-concert checker. Runs a thread which checks for a valid ROS concert and sends back a ConcertDescription (with concert name and type) on success or a failure reason on failure.
Definition at line 66 of file graveyard/common_tools/ConcertChecker.java.
com.github.rosjava.android_remocons.common_tools.ConcertChecker.ConcertChecker | ( | ConcertDescriptionReceiver | foundConcertCallback, |
FailureHandler | failureCallback | ||
) | [inline] |
Constructor. Should not take any time.
Definition at line 89 of file graveyard/common_tools/ConcertChecker.java.
void com.github.rosjava.android_remocons.common_tools.ConcertChecker.beginChecking | ( | MasterId | masterId | ) | [inline] |
Start the checker thread with the given masterId. If the thread is already running, kill it first and then start anew. Returns immediately.
Definition at line 98 of file graveyard/common_tools/ConcertChecker.java.
Stop the checker thread.
Definition at line 118 of file graveyard/common_tools/ConcertChecker.java.
CheckerThread com.github.rosjava.android_remocons.common_tools.ConcertChecker.checkerThread [private] |
Definition at line 82 of file graveyard/common_tools/ConcertChecker.java.
FailureHandler com.github.rosjava.android_remocons.common_tools.ConcertChecker.failureCallback [private] |
Definition at line 84 of file graveyard/common_tools/ConcertChecker.java.
ConcertDescriptionReceiver com.github.rosjava.android_remocons.common_tools.ConcertChecker.foundConcertCallback [private] |
Definition at line 83 of file graveyard/common_tools/ConcertChecker.java.