All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
cop::Signature Class Reference

contains the information about an object in the SignatureDB, part of the Elem hirarchy More...

#include <Signature.h>

Inheritance diagram for cop::Signature:
Inheritance graph
[legend]

List of all members.

Public Member Functions

size_t CountClasses () const
size_t CountElems () const
virtual ElemDuplicate (bool bStaticCopy)
virtual void Evaluate (const double eval, const double weight)
ClassGetClass (int index)
ElemGetElement (const int &id, const ElemType_t &type) const
virtual std::string GetNodeName () const
virtual ElemType_t GetType ()
bool HasClass (Class *classToSet)
void RemoveElem (Elem *elemToRemove)
long SetClass (Class *classToSet)
long SetElem (Elem *elemToSet)
virtual void SetPose (RelPose *pose)
void Show (Sensor *cam)
 Signature ()
virtual ~Signature ()

Protected Member Functions

virtual void SaveTo (XMLTag *tag)
virtual void SetData (XMLTag *tag)

Private Member Functions

void initAttributes ()

Private Attributes

std::vector< Class * > m_class
std::vector< Elem * > m_elems
boost::mutex m_mutexClasses

Detailed Description

contains the information about an object in the SignatureDB, part of the Elem hirarchy

class Signature

Definition at line 55 of file Signature.h.


Constructor & Destructor Documentation

Empty Constructor

Definition at line 52 of file Signature.cpp.

Signature::~Signature ( ) [virtual]

Definition at line 120 of file Signature.cpp.


Member Function Documentation

size_t cop::Signature::CountClasses ( ) const [inline]

Definition at line 95 of file Signature.h.

size_t cop::Signature::CountElems ( ) const [inline]

Definition at line 96 of file Signature.h.

Elem * Signature::Duplicate ( bool  bStaticCopy) [virtual]

Duplicates an elem (only possible for elems that can be constructed with ElemFactory or that have overriden this member)

Assign Object member

Assign Elem member

Reimplemented from cop::Elem.

Definition at line 267 of file Signature.cpp.

void Signature::Evaluate ( const double  eval,
const double  weight 
) [virtual]

Reimplemented from cop::Elem.

Definition at line 399 of file Signature.cpp.

Class * Signature::GetClass ( int  index)

Definition at line 167 of file Signature.cpp.

Elem * Signature::GetElement ( const int &  index,
const ElemType_t type 
) const
Returns:
Elem
Parameters:
index
type
Returns:
Elem--
Parameters:
index
type

Definition at line 316 of file Signature.cpp.

virtual std::string cop::Signature::GetNodeName ( ) const [inline, virtual]

returns the name that a will be used in the xml. This should be replaced by any derivative of Elem

Reimplemented from cop::Object.

Definition at line 100 of file Signature.h.

virtual ElemType_t cop::Signature::GetType ( ) [inline, virtual]

Definition at line 108 of file Signature.h.

bool Signature::HasClass ( Class classToSet)

Definition at line 177 of file Signature.cpp.

void cop::Signature::initAttributes ( ) [private]
void Signature::RemoveElem ( Elem elemToRemove)

Definition at line 368 of file Signature.cpp.

void Signature::SaveTo ( XMLTag ) [protected, virtual]

Overwrite to save additional data, will be called during saving

Reimplemented from cop::Object.

Definition at line 241 of file Signature.cpp.

long Signature::SetClass ( Class classToSet)

Definition at line 382 of file Signature.cpp.

void Signature::SetData ( XMLTag tag) [protected, virtual]

SetData

Parameters:
tag
Exceptions:
char*with an error message in case of failure

Reimplemented from cop::Object.

Definition at line 57 of file Signature.cpp.

long Signature::SetElem ( Elem elemToSet)
Returns:
int
Parameters:
elemToSet

Definition at line 351 of file Signature.cpp.

void Signature::SetPose ( RelPose pose) [virtual]

Reimplemented from cop::Object.

Definition at line 421 of file Signature.cpp.

void Signature::Show ( Sensor ) [virtual]

Shows the current Element relative to the given Camera

Reimplemented from cop::Elem.

Definition at line 194 of file Signature.cpp.


Member Data Documentation

Definition at line 141 of file Signature.h.

Definition at line 140 of file Signature.h.

boost::mutex cop::Signature::m_mutexClasses [private]

Definition at line 144 of file Signature.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


cognitive_perception
Author(s): Ulrich F Klank
autogenerated on Thu May 23 2013 07:38:35