Class GroupProcessorBuilder

    • Nested Class Summary

      • Nested classes/interfaces inherited from class ca.uqac.lif.bullwinkle.ParseTreeObjectBuilder

        ca.uqac.lif.bullwinkle.ParseTreeObjectBuilder.BuildException, ca.uqac.lif.bullwinkle.ParseTreeObjectBuilder.MethodAnnotation
      • Nested classes/interfaces inherited from interface ca.uqac.lif.bullwinkle.ParseNodeVisitor

        ca.uqac.lif.bullwinkle.ParseNodeVisitor.VisitException
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.Object,​ca.uqac.lif.cep.tmf.Fork> m_inputForks  
      protected java.util.Set<ca.uqac.lif.cep.Processor> m_processors  
      • Fields inherited from class ca.uqac.lif.bullwinkle.ParseTreeObjectBuilder

        m_builtObject, m_methods, m_stack
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ca.uqac.lif.cep.Processor add​(ca.uqac.lif.cep.Processor... procs)  
      protected static ca.uqac.lif.cep.GroupProcessor encapsulate​(ca.uqac.lif.cep.Processor p)
      Encapsulates a processor into a group processor
      ca.uqac.lif.cep.tmf.Passthrough forkInput​(java.lang.Object name)  
      ca.uqac.lif.cep.tmf.Fork getFork​(java.lang.Object name)  
      protected ca.uqac.lif.cep.tmf.Fork newFork()  
      protected ca.uqac.lif.cep.GroupProcessor postVisit​(java.util.Deque<java.lang.Object> stack)  
      void remove​(ca.uqac.lif.cep.Processor... procs)  
      • Methods inherited from class ca.uqac.lif.bullwinkle.ParseTreeObjectBuilder

        build, fillMethods, getParents, handleNode, pop, preVisit, visit
      • Methods inherited from class java.lang.Object

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

      • m_processors

        protected java.util.Set<ca.uqac.lif.cep.Processor> m_processors
      • m_inputForks

        protected java.util.Map<java.lang.Object,​ca.uqac.lif.cep.tmf.Fork> m_inputForks
    • Constructor Detail

      • GroupProcessorBuilder

        public GroupProcessorBuilder()
    • Method Detail

      • add

        public ca.uqac.lif.cep.Processor add​(ca.uqac.lif.cep.Processor... procs)
      • remove

        public void remove​(ca.uqac.lif.cep.Processor... procs)
      • postVisit

        protected ca.uqac.lif.cep.GroupProcessor postVisit​(java.util.Deque<java.lang.Object> stack)
        Overrides:
        postVisit in class ca.uqac.lif.bullwinkle.ParseTreeObjectBuilder<ca.uqac.lif.cep.GroupProcessor>
      • getFork

        public ca.uqac.lif.cep.tmf.Fork getFork​(java.lang.Object name)
      • newFork

        protected ca.uqac.lif.cep.tmf.Fork newFork()
      • forkInput

        public ca.uqac.lif.cep.tmf.Passthrough forkInput​(java.lang.Object name)
      • encapsulate

        protected static ca.uqac.lif.cep.GroupProcessor encapsulate​(ca.uqac.lif.cep.Processor p)
        Encapsulates a processor into a group processor
        Parameters:
        p - The processor to encapsulate
        Returns:
        A GroupProcessor containing only p inside