Class TestSamgarCompetency2

  • All Implemented Interfaces:
    java.lang.Runnable

    public class TestSamgarCompetency2
    extends SamgarCompetency
    • Field Summary

      • Fields inherited from class cmion.level2.Competency

        available, competencyName, competencyType, plan, running
      • Fields inherited from class cmion.architecture.CmionComponent

        architecture
    • Constructor Summary

      Constructors 
      Constructor Description
      TestSamgarCompetency2​(cmion.architecture.IArchitecture architecture)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean competencyCode​(java.util.HashMap<java.lang.String,​java.lang.String> parameters)  
      void onRead​(yarp.Bottle bottle_in)
      every samgar competency has to implement this function in which it will receive bottles that the connected samgar module sends
      boolean runsInBackground()  
      • Methods inherited from class cmion.level2.Competency

        cancel, getCompetencyName, getCompetencyType, isAvailable, isRunning, registerHandlers, requestStartCompetency, run
      • Methods inherited from class cmion.architecture.CmionComponent

        getArchitecture, isConnected, onDestroy, raise
      • Methods inherited from class ion.Meta.Element

        destroy, getEventFilters, getEventHandlers, getRequestFilters, getRequestHandlers, getSimulation, getUID, schedule, wasDestroyed
      • Methods inherited from class java.lang.Object

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

      • TestSamgarCompetency2

        public TestSamgarCompetency2​(cmion.architecture.IArchitecture architecture)
    • Method Detail

      • onRead

        public void onRead​(yarp.Bottle bottle_in)
        Description copied from class: SamgarCompetency
        every samgar competency has to implement this function in which it will receive bottles that the connected samgar module sends
        Specified by:
        onRead in class SamgarCompetency
      • competencyCode

        protected boolean competencyCode​(java.util.HashMap<java.lang.String,​java.lang.String> parameters)
        Specified by:
        competencyCode in class cmion.level2.Competency
      • runsInBackground

        public boolean runsInBackground()
        Specified by:
        runsInBackground in class cmion.level2.Competency