#include <PerceptionPrimitive.h>
Public Member Functions | |
| void | AddResult (Evaluable *alg, Evaluator *eval, ObjectID_t id, double quality=1.0, unsigned long calctime=0) |
| PerceptionPrimitiveState | GetCurrState () |
| PerceptionPrimitiveID_t | GetID () |
| Signature * | GetSignature (size_t index=0) |
| PerceptionPrimitive (Signature *sig) | |
| void | SetEvaluated () |
| void | SetEvaluating () |
| void | SetTerminated () |
| ~PerceptionPrimitive () | |
Public Attributes | |
| std::vector< std::pair < Evaluable *, Evaluator * > > | m_AlgorithmIDs |
| unsigned long | m_count |
| double | m_evaluation |
| std::vector< ObjectID_t > | m_results |
| std::vector< Sensor * > | m_sensors |
| std::vector< Signature * > | m_signatures |
| time_t | m_startTime |
| unsigned long | m_timing |
Private Attributes | |
| PerceptionPrimitiveState | m_currState |
| PerceptionPrimitiveID_t | m_uniqueID |
Static Private Attributes | |
| static PerceptionPrimitiveID_t | m_lastID = 0 |
Definition at line 62 of file PerceptionPrimitive.h.
| cop::PerceptionPrimitive::PerceptionPrimitive | ( | Signature * | sig | ) | [inline] |
| sig | Create a PerceptionPrimitive always with a corresponding Signature |
A PerceptionPrimitive (PP) has at least one Signature it validates
Definition at line 70 of file PerceptionPrimitive.h.
| cop::PerceptionPrimitive::~PerceptionPrimitive | ( | ) | [inline] |
Definition at line 81 of file PerceptionPrimitive.h.
| void cop::PerceptionPrimitive::AddResult | ( | Evaluable * | alg, |
| Evaluator * | eval, | ||
| ObjectID_t | id, | ||
| double | quality = 1.0, |
||
| unsigned long | calctime = 0 |
||
| ) | [inline] |
AddResult Add resulting descriptors/ignatures to the current list of derived elements.
| algorithm | Algorithm that created this result |
| id | The Object-id this Evaluation is realted to |
| quality | Quality assesment between 0.0 and 1.0 |
| calctime | Any time involved for processing these data |
Definition at line 99 of file PerceptionPrimitive.h.
Definition at line 145 of file PerceptionPrimitive.h.
| PerceptionPrimitiveID_t cop::PerceptionPrimitive::GetID | ( | ) | [inline] |
Definition at line 90 of file PerceptionPrimitive.h.
| Signature* cop::PerceptionPrimitive::GetSignature | ( | size_t | index = 0 | ) | [inline] |
GetSignature
Definition at line 89 of file PerceptionPrimitive.h.
| void cop::PerceptionPrimitive::SetEvaluated | ( | ) | [inline] |
Definition at line 130 of file PerceptionPrimitive.h.
| void cop::PerceptionPrimitive::SetEvaluating | ( | ) | [inline] |
Definition at line 137 of file PerceptionPrimitive.h.
| void cop::PerceptionPrimitive::SetTerminated | ( | ) | [inline] |
Definition at line 118 of file PerceptionPrimitive.h.
| std::vector< std::pair<Evaluable*, Evaluator*> > cop::PerceptionPrimitive::m_AlgorithmIDs |
Definition at line 147 of file PerceptionPrimitive.h.
| unsigned long cop::PerceptionPrimitive::m_count |
Definition at line 153 of file PerceptionPrimitive.h.
Definition at line 158 of file PerceptionPrimitive.h.
Definition at line 151 of file PerceptionPrimitive.h.
PerceptionPrimitiveID_t PerceptionPrimitive::m_lastID = 0 [static, private] |
Definition at line 157 of file PerceptionPrimitive.h.
| std::vector<ObjectID_t> cop::PerceptionPrimitive::m_results |
Definition at line 150 of file PerceptionPrimitive.h.
| std::vector<Sensor*> cop::PerceptionPrimitive::m_sensors |
Definition at line 148 of file PerceptionPrimitive.h.
| std::vector<Signature*> cop::PerceptionPrimitive::m_signatures |
Definition at line 146 of file PerceptionPrimitive.h.
Definition at line 154 of file PerceptionPrimitive.h.
| unsigned long cop::PerceptionPrimitive::m_timing |
Definition at line 152 of file PerceptionPrimitive.h.
Definition at line 156 of file PerceptionPrimitive.h.