Public Member Functions | Public Attributes | Protected Member Functions
cop::cop_world Class Reference

Loads an initial state for the framework from an xml file. More...

#include <cop.h>

List of all members.

Public Member Functions

bool AddElement (XMLTag *tag)
 Allows to change the configuration file by adding an element.
 cop_world (XMLTag *config, std::string nodename="cop")
 Constructor: Loads an initial state for the framework from an xml file.
void SaveCop (std::string filename)
 Saves the frameworks state.
void StartNodeSubscription (char *topic)
 Subscripe a specified ROS topic for incoming locate or track requests.
 ~cop_world ()
 Destructor: deletes the framework.

Public Attributes

AttentionManagers_attManager
ImageInputSystems_inputSystem
ros::NodeHandles_node
SignatureDBs_sigDb
Statisticss_stats
VisFinders_visFinder
VisLearners_visLearner

Protected Member Functions

virtual int Setup ()
virtual int Shutdown ()

Detailed Description

Loads an initial state for the framework from an xml file.

******************************************************************

Remarks:
Several defines can restrict the compiled functionality: HALCONIMG Enables the use of Halcon images and Halcon image qcquisition, also several algorithms implemented with halcon _DEBUG Enables debug messages BOOST_THREAD Enables multithread image acquisistion and learning LOGFILE Logs actions of the VisFinder and VisLearner systems OPENCV_USED Enables the conversion of Hobjects to IplImages DEFORMSHAPE_AVAILABLE Enables the usage of the planar matching of hofhausa@in.tum.de DESCRIPTOR_AVAILABLE Enables the usage of an 3D descriptor matching

Definition at line 116 of file cop.h.


Constructor & Destructor Documentation

cop::cop_world::cop_world ( XMLTag config,
std::string  nodename = "cop" 
) [inline]

Constructor: Loads an initial state for the framework from an xml file.

******************************************************************

Parameters:
configpointer to an xml file (loaded by
See also:
XMLTag ) that contains at least the following child-nodes XML_NODE_RELPOSELIST XML_NODE_IMAGEINPUTSYSTEM XML_NODE_SIGNATUREDB XML_NODE_ATTENTIONMANAGER XML_NODE_VISLEARNER XML_NODE_VISFINDER

Loading visual finder

Definition at line 156 of file cop.h.

Destructor: deletes the framework.

******************************************************************

Definition at line 234 of file cop.h.


Member Function Documentation

bool cop::cop_world::AddElement ( XMLTag tag) [inline]

Allows to change the configuration file by adding an element.

AddElement

Remarks:
The element should be recognized via the noe name passed.
Returns:
if the node name was unknown and could not be interpreted
Parameters:
taga tag with a correct tagname for identifying it as a element used by cop

Definition at line 347 of file cop.h.

void cop::cop_world::SaveCop ( std::string  filename) [inline]

Saves the frameworks state.

******************************************************************

Parameters:
filenameof the file to be saved

Definition at line 256 of file cop.h.

virtual int cop::cop_world::Setup ( ) [inline, protected, virtual]

Definition at line 133 of file cop.h.

virtual int cop::cop_world::Shutdown ( ) [inline, protected, virtual]

Definition at line 137 of file cop.h.

void cop::cop_world::StartNodeSubscription ( char *  topic) [inline]

Subscripe a specified ROS topic for incoming locate or track requests.

StartNodeSubscription

Parameters:
topicname of the node to listen for new incoming data

Definition at line 315 of file cop.h.


Member Data Documentation

Definition at line 121 of file cop.h.

Definition at line 119 of file cop.h.

Definition at line 129 of file cop.h.

Definition at line 120 of file cop.h.

Definition at line 124 of file cop.h.

Definition at line 122 of file cop.h.

Definition at line 123 of file cop.h.


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


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