Package util
Class PipelineProcesser
- java.lang.Object
-
- util.PipelineProcesser
-
public class PipelineProcesser extends java.lang.Object
Class to scan for pipelines to be implemented.
-
-
Constructor Summary
Constructors Constructor Description PipelineProcesser(java.lang.String pkg)
Constructor initilizes reflections object
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
getCamera(LightningVisionPipeline pipe)
Gets the configured camera for a given pipelinejava.util.Set<java.lang.String>
retrieve()
Gets all declared pipelines as aSet<String>
object
-
-
-
Method Detail
-
retrieve
public java.util.Set<java.lang.String> retrieve()
Gets all declared pipelines as aSet<String>
object- Returns:
- the names of the declared pipelines in a set
-
getCamera
public static int getCamera(LightningVisionPipeline pipe)
Gets the configured camera for a given pipeline- Parameters:
pipe
- Pipeline name- Returns:
- the camera port (an
int
) of the camera the pipeline wants to run on
-
-