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.AbstractExecutionThreadService
A service that manages the lifecycle of aFrameGrabber
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
GrabberService.GrabberServiceException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
run()
protected java.lang.String
serviceName()
protected void
shutDown()
protected void
startUp()
protected void
triggerShutdown()
-
-
-
Method Detail
-
startUp
protected void startUp() throws GrabberService.GrabberServiceException
- Overrides:
startUp
in classcom.google.common.util.concurrent.AbstractExecutionThreadService
- Throws:
GrabberService.GrabberServiceException
-
run
protected void run() throws GrabberService.GrabberServiceException
- Specified by:
run
in classcom.google.common.util.concurrent.AbstractExecutionThreadService
- Throws:
GrabberService.GrabberServiceException
-
shutDown
protected void shutDown() throws GrabberService.GrabberServiceException
- Overrides:
shutDown
in classcom.google.common.util.concurrent.AbstractExecutionThreadService
- Throws:
GrabberService.GrabberServiceException
-
triggerShutdown
protected void triggerShutdown()
- Overrides:
triggerShutdown
in classcom.google.common.util.concurrent.AbstractExecutionThreadService
-
serviceName
protected java.lang.String serviceName()
- Overrides:
serviceName
in classcom.google.common.util.concurrent.AbstractExecutionThreadService
-
-