Public Member Functions | |
| CClassifier () | |
| bool | isActivable () const |
| virtual | ~CClassifier () |
Data Fields | |
| TAction | Behavior |
| std::list< CClassifierConditionCell * > | ConditionWithoutTarget |
| std::list< CClassifierConditionCell * > | ConditionWithTarget |
| CClassifierPriority | Priority |
|
|
Definition at line 553 of file classifier.cpp.
00554 {
00555 }
|
|
|
Definition at line 557 of file classifier.cpp. References ConditionWithoutTarget, and ConditionWithTarget.
00558 {
00559 std::list<CClassifierConditionCell*>::iterator itConditions = ConditionWithTarget.begin();
00560 while (itConditions != ConditionWithTarget.end())
00561 {
00562 delete (*itConditions );
00563 itConditions++;
00564 }
00565 itConditions = ConditionWithoutTarget.begin();
00566 while (itConditions != ConditionWithoutTarget.end())
00567 {
00568 delete (*itConditions );
00569 itConditions++;
00570 }
00571 }
|
|
|
Definition at line 573 of file classifier.cpp. References ConditionWithoutTarget, and ConditionWithTarget.
00574 {
00575 std::list<CClassifierConditionCell*>::const_iterator itConditions;
00576
00577 // On parcour la liste de sensor indépendant d'une cible
00578 for (itConditions = ConditionWithoutTarget.begin(); itConditions != ConditionWithoutTarget.end(); itConditions++)
00579 {
00580 if (! (*itConditions)->isActivable() )
00581 {
00582 return false;
00583 }
00584 }
00585 // On parcour la liste de sensor dépendant d'une cible
00586 for (itConditions = ConditionWithTarget.begin(); itConditions != ConditionWithTarget.end(); itConditions++)
00587 {
00588 if (! (*itConditions)->isActivable() )
00589 {
00590 return false;
00591 }
00592 }
00593 return true;
00594 }
|
|
|
Definition at line 197 of file classifier.h. Referenced by NLAINIMAT::CClassifierSystem::addClassifier(). |
|
|
Definition at line 195 of file classifier.h. Referenced by NLAINIMAT::CClassifierSystem::addClassifier(), isActivable(), and ~CClassifier(). |
|
|
Definition at line 194 of file classifier.h. Referenced by NLAINIMAT::CClassifierSystem::addClassifier(), isActivable(), and ~CClassifier(). |
|
|
Definition at line 196 of file classifier.h. Referenced by NLAINIMAT::CClassifierSystem::addClassifier(). |
1.3.6