VotingBin.hpp
Go to the documentation of this file.
1 
18 #pragma once
19 
20 //Pkg includes
21 #include <boost/shared_ptr.hpp>
22 
23 //Local includes
24 #include "typedef.hpp"
25 #include "VotedPose.hpp"
26 
27 namespace ISM
28 {
29 
33 class VotingBin {
34 public:
36  int x, y, z;
37  VotingBin(int x, int y, int z) : x(x), y(y), z(z) {}
38 
39  //Save reference pose vote according to type and id of the object from which it is coming.
40  void insert(const VotedPosePtr& vote);
41 };
42 
43 }
void insert(const VotedPosePtr &vote)
Definition: VotingBin.cpp:26
TypeToInnerMap votes
Definition: VotingBin.hpp:35
boost::shared_ptr< VotedPose > VotedPosePtr
Definition: typedef.hpp:31
std::map< std::string, IdToVoteMap > TypeToInnerMap
Definition: typedef.hpp:71
VotingBin(int x, int y, int z)
Definition: VotingBin.hpp:37
this namespace contains all generally usable classes.


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41