Package util

Class 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 pipeline
      java.util.Set<java.lang.String> retrieve()
      Gets all declared pipelines as a Set<String> object
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PipelineProcesser

        public PipelineProcesser​(java.lang.String pkg)
        Constructor initilizes reflections object
    • Method Detail

      • retrieve

        public java.util.Set<java.lang.String> retrieve()
        Gets all declared pipelines as a Set<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