Main Page
Namespaces
Classes
Files
File List
File Members
src
trainer
source
ObjectSetList.cpp
Go to the documentation of this file.
1
18
#include "
trainer/source/ObjectSetList.h
"
19
20
namespace
SceneModel
{
21
22
ObjectSetList::ObjectSetList
()
23
{
24
}
25
26
ObjectSetList::~ObjectSetList
()
27
{
28
}
29
30
boost::shared_ptr<ISM::ObjectSet>
ObjectSetList::getSetIfExists
(std::string identifier)
31
{
32
boost::shared_ptr<ISM::ObjectSet>
result;
33
34
// Look over all objects and find out if there's one with the given name.
35
BOOST_FOREACH(
boost::shared_ptr<ISM::ObjectSet>
set
,
mObjectSets
)
36
{
37
// Same identifier?
38
if
((
set
->mIdentifier.compare(identifier)) == 0)
39
{
40
result =
set
;
41
break
;
42
}
43
}
44
return
result;
45
}
46
47
}
SceneModel::ObjectSetList::getSetIfExists
boost::shared_ptr< ISM::ObjectSet > getSetIfExists(std::string identifier)
Definition:
ObjectSetList.cpp:30
SceneModel::ObjectSetList::~ObjectSetList
~ObjectSetList()
Definition:
ObjectSetList.cpp:26
SceneModel::ObjectSetList::mObjectSets
std::vector< boost::shared_ptr< ISM::ObjectSet > > mObjectSets
Definition:
ObjectSetList.h:67
ObjectSetList.h
SceneModel::ObjectSetList::ObjectSetList
ObjectSetList()
Definition:
ObjectSetList.cpp:22
boost::shared_ptr
set
ROSCPP_DECL void set(const std::string &key, const XmlRpc::XmlRpcValue &v)
SceneModel
Definition:
MathHelper.h:25
asr_relation_graph_generator
Author(s): Meißner Pascal
autogenerated on Fri Nov 15 2019 03:39:19