#include <ServiceInterface.h>
Public Member Functions | |
void | LoadList (XMLTag *tag) |
Puts entries of an xmltag to the list. | |
XMLTag * | SaveList () |
Saves all known los to a list. | |
ServiceInterface (const char *configFile) | |
reads config file | |
~ServiceInterface () | |
Static Public Member Functions | |
static void | AddMapString (ServiceLocatedObject *pose, std::string mapstring) |
Creates an lookup entry for a pose in the list of names. | |
static void | DisposeList () |
Deletes all Lo. | |
static unsigned long | FreeServiceLocatedObject (ServiceLocatedObject *pose) |
Deletes one Lo. | |
static ServiceLocatedObject * | FServiceLocatedObject (XMLTag *tag) |
Creates a ServiceLocatedObject out of an xmltag. | |
static ServiceLocatedObject * | FServiceLocatedObject (ServiceLocatedObject *pose, Matrix m, Matrix cov, unsigned long type=LO_TYPE_PERCEIVED) |
Creates a ServiceLocatedObject taking an parent and matrix information. | |
static ServiceLocatedObject * | FServiceLocatedObjectCopy (ServiceLocatedObject *pose, ServiceLocatedObject *parent=NULL) |
Creates a ServiceLocatedObject taking another one. | |
static ServiceLocatedObject * | FServiceLocatedObjectWorld () |
Creates a ServiceLocatedObject with the world. | |
static ServiceLocatedObject * | GetServiceLocatedObject (unsigned long id) |
Looks up an lo. | |
static unsigned long | GetServiceLocatedObjectID (std::string) |
Looks up an lo. | |
static ServiceLocatedObject * | GetServiceLocatedObjectIndex (unsigned long index) |
Internal function: takes an lo from the list. | |
static void | RemoveMapString (std::string mapstring) |
Removes the lookup entry for a name. | |
static unsigned long | SetServiceLocatedObject (ServiceLocatedObject *pose) |
Internal function: puts a lo to the list. |
The lo pose service Holds a list of poses The poses contain tree information
Definition at line 24 of file ServiceInterface.h.
ServiceInterface::ServiceInterface | ( | const char * | configFile | ) |
Definition at line 644 of file ServiceInterface.cpp.
void ServiceInterface::AddMapString | ( | ServiceLocatedObject * | pose, |
std::string | mapstring | ||
) | [static] |
Creates an lookup entry for a pose in the list of names.
Definition at line 706 of file ServiceInterface.cpp.
void ServiceInterface::DisposeList | ( | ) | [static] |
Deletes all Lo.
Definition at line 599 of file ServiceInterface.cpp.
unsigned long ServiceInterface::FreeServiceLocatedObject | ( | jlo::ServiceLocatedObject * | pose | ) | [static] |
Deletes one Lo.
free also the parent, if and only if they are movement artefacts
Definition at line 557 of file ServiceInterface.cpp.
ServiceLocatedObject * ServiceInterface::FServiceLocatedObject | ( | XMLTag * | tag | ) | [static] |
Creates a ServiceLocatedObject out of an xmltag.
Definition at line 661 of file ServiceInterface.cpp.
ServiceLocatedObject * ServiceInterface::FServiceLocatedObject | ( | ServiceLocatedObject * | pose, |
Matrix | m, | ||
Matrix | cov, | ||
unsigned long | type = LO_TYPE_PERCEIVED |
||
) | [static] |
Creates a ServiceLocatedObject taking an parent and matrix information.
Definition at line 784 of file ServiceInterface.cpp.
ServiceLocatedObject * ServiceInterface::FServiceLocatedObjectCopy | ( | ServiceLocatedObject * | pose, |
ServiceLocatedObject * | parent = NULL |
||
) | [static] |
Creates a ServiceLocatedObject taking another one.
Definition at line 721 of file ServiceInterface.cpp.
Creates a ServiceLocatedObject with the world.
Definition at line 649 of file ServiceInterface.cpp.
ServiceLocatedObject * ServiceInterface::GetServiceLocatedObject | ( | unsigned long | id | ) | [static] |
Looks up an lo.
Definition at line 811 of file ServiceInterface.cpp.
unsigned long ServiceInterface::GetServiceLocatedObjectID | ( | std::string | st | ) | [static] |
Looks up an lo.
Definition at line 831 of file ServiceInterface.cpp.
ServiceLocatedObject * ServiceInterface::GetServiceLocatedObjectIndex | ( | unsigned long | index | ) | [static] |
Internal function: takes an lo from the list.
Definition at line 842 of file ServiceInterface.cpp.
void ServiceInterface::LoadList | ( | XMLTag * | tag | ) |
Puts entries of an xmltag to the list.
Definition at line 798 of file ServiceInterface.cpp.
void ServiceInterface::RemoveMapString | ( | std::string | mapstring | ) | [static] |
Removes the lookup entry for a name.
Definition at line 713 of file ServiceInterface.cpp.
Saves all known los to a list.
Definition at line 611 of file ServiceInterface.cpp.
unsigned long ServiceInterface::SetServiceLocatedObject | ( | jlo::ServiceLocatedObject * | pose | ) | [static] |
Internal function: puts a lo to the list.
Definition at line 491 of file ServiceInterface.cpp.