source: ION/trunk/Lirec/CompetencyLibraryTest.xml @ 145

Revision 143, 1.2 KB checked in by michael.kriegel, 11 years ago (diff)
  • made loading of competencies and architecture components dynamic (not requiring code changes), instead they are specified in xml files now
  • added support for background competencies (competencies started automatically with the architecture and running all the time in the background, ideal for sensing competencies)
  • added classes for easy implementation of competencies that communicate with a remote program via tcp and an ExampleCompetency?
  • added LGPL preamble to all files
  • updated documentation to reflect all changes above
1<?xml version="1.0" ?>
5<!-- Competency library for the test scenario. Following all competencies
6have to be listed. You need to specify
7a) the class name,
8b) optional parameters that should be passed to the competency during
9construction (assumed parameter type is String, parameters are seperated by comma).
10c) if you include the attribute runInBackground and set it to "true" the competency
11will be started and run in background as soon as it is initialised, it will then however
12not be available to include in competency execution plans, since it will be already
13running in the background. -->
15<Competency ClassName="lirec.level2.competencies.test.TestCompetency1"
16                        ConstructorParameters="" />
17<Competency ClassName="lirec.level2.competencies.test.TestCompetency2" /> 
18<Competency ClassName="lirec.level2.competencies.test.TestCompetency3" /> 
19<Competency ClassName="lirec.level2.competencies.test.TestCompetency4" /> 
20<Competency ClassName="lirec.level2.competencies.test.TestCompetency5"
21                        ConstructorParameters="Pizza,Pasta" />
22<Competency ClassName="lirec.level2.competencies.test.TestCompetency6" RunInBackground="true" />
Note: See TracBrowser for help on using the repository browser.