Public Member Functions | Public Attributes | Private Attributes | Static Private Attributes
cop::PerceptionPrimitive Class Reference

#include <PerceptionPrimitive.h>

List of all members.

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 ()
SignatureGetSignature (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_tm_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

Detailed Description

Definition at line 62 of file PerceptionPrimitive.h.


Constructor & Destructor Documentation

Parameters:
sigCreate 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.

Definition at line 81 of file PerceptionPrimitive.h.


Member Function Documentation

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.

Parameters:
algorithmAlgorithm that created this result
idThe Object-id this Evaluation is realted to
qualityQuality assesment between 0.0 and 1.0
calctimeAny time involved for processing these data

Definition at line 99 of file PerceptionPrimitive.h.

Definition at line 145 of file PerceptionPrimitive.h.

Definition at line 90 of file PerceptionPrimitive.h.

Signature* cop::PerceptionPrimitive::GetSignature ( size_t  index = 0) [inline]

GetSignature

Returns:
returns the index-th Signature stored in the PP

Definition at line 89 of file PerceptionPrimitive.h.

Definition at line 130 of file PerceptionPrimitive.h.

Definition at line 137 of file PerceptionPrimitive.h.

Definition at line 118 of file PerceptionPrimitive.h.


Member Data Documentation

Definition at line 147 of file PerceptionPrimitive.h.

Definition at line 153 of file PerceptionPrimitive.h.

Definition at line 158 of file PerceptionPrimitive.h.

Definition at line 151 of file PerceptionPrimitive.h.

Definition at line 157 of file PerceptionPrimitive.h.

Definition at line 150 of file PerceptionPrimitive.h.

Definition at line 148 of file PerceptionPrimitive.h.

Definition at line 146 of file PerceptionPrimitive.h.

Definition at line 154 of file PerceptionPrimitive.h.

Definition at line 152 of file PerceptionPrimitive.h.

Definition at line 156 of file PerceptionPrimitive.h.


The documentation for this class was generated from the following files:


cognitive_perception
Author(s): Ulrich F Klank
autogenerated on Mon Oct 6 2014 10:48:46