Package edu.wpi.grip.core.sources
Class GrabberService
- java.lang.Object
-
- com.google.common.util.concurrent.AbstractExecutionThreadService
-
- edu.wpi.grip.core.sources.GrabberService
-
- All Implemented Interfaces:
com.google.common.util.concurrent.Service
public class GrabberService extends com.google.common.util.concurrent.AbstractExecutionThreadServiceA service that manages the lifecycle of aFrameGrabber.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classGrabberService.GrabberServiceException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidrun()protected java.lang.StringserviceName()protected voidshutDown()protected voidstartUp()protected voidtriggerShutdown()
-
-
-
Method Detail
-
startUp
protected void startUp() throws GrabberService.GrabberServiceException- Overrides:
startUpin classcom.google.common.util.concurrent.AbstractExecutionThreadService- Throws:
GrabberService.GrabberServiceException
-
run
protected void run() throws GrabberService.GrabberServiceException- Specified by:
runin classcom.google.common.util.concurrent.AbstractExecutionThreadService- Throws:
GrabberService.GrabberServiceException
-
shutDown
protected void shutDown() throws GrabberService.GrabberServiceException- Overrides:
shutDownin classcom.google.common.util.concurrent.AbstractExecutionThreadService- Throws:
GrabberService.GrabberServiceException
-
triggerShutdown
protected void triggerShutdown()
- Overrides:
triggerShutdownin classcom.google.common.util.concurrent.AbstractExecutionThreadService
-
serviceName
protected java.lang.String serviceName()
- Overrides:
serviceNamein classcom.google.common.util.concurrent.AbstractExecutionThreadService
-
-