Class NavigationSamgarCompetency
- java.lang.Object
-
- ion.Meta.Element
-
- cmion.architecture.CmionComponent
-
- cmion.level2.Competency
-
- cmion.addOns.samgar.SamgarCompetency
-
- cmion.addOns.samgar.competencies.player.NavigationSamgarCompetency
-
- All Implemented Interfaces:
java.lang.Runnable
public class NavigationSamgarCompetency extends SamgarCompetency
-
-
Constructor Summary
Constructors Constructor Description NavigationSamgarCompetency(cmion.architecture.IArchitecture architecture, java.lang.String configFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancompetencyCode(java.util.HashMap<java.lang.String,java.lang.String> parameters)voidimportConfig(org.w3c.dom.Document doc)voidonRead(yarp.Bottle b)every samgar competency has to implement this function in which it will receive bottles that the connected samgar module sendsprotected java.io.InputStreamopenConfigFile(java.lang.String configFile)This method is responsible for opening the configuration file correctly.booleanrunsInBackground()-
Methods inherited from class cmion.addOns.samgar.SamgarCompetency
initialize, prepareBottle, sendBottle, setAdditionalData
-
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
-
-
-
-
Method Detail
-
onRead
public void onRead(yarp.Bottle b)
Description copied from class:SamgarCompetencyevery samgar competency has to implement this function in which it will receive bottles that the connected samgar module sends- Specified by:
onReadin classSamgarCompetency
-
competencyCode
protected boolean competencyCode(java.util.HashMap<java.lang.String,java.lang.String> parameters)
- Specified by:
competencyCodein classcmion.level2.Competency
-
runsInBackground
public boolean runsInBackground()
- Specified by:
runsInBackgroundin classcmion.level2.Competency
-
openConfigFile
protected java.io.InputStream openConfigFile(java.lang.String configFile)
This method is responsible for opening the configuration file correctly. It should be different depending on the platform and the way it provides access to resources.- Returns:
- InputStream for the configuration file of the migration competency.
-
importConfig
public void importConfig(org.w3c.dom.Document doc)
-
-