typedef.hpp
Go to the documentation of this file.
1 
18 #ifndef TYPEDEF_HPP
19 #define TYPEDEF_HPP
20 
21 #include <set>
22 #include <vector>
23 #include <map>
24 #include <string>
25 #include <boost/shared_ptr.hpp>
29 namespace ISM {
30  // Forward declaration
31  struct VotedPose;
32  typedef boost::shared_ptr<VotedPose> VotedPosePtr;
33 
34  class VotingSpace;
35  typedef boost::shared_ptr<VotingSpace> VotingSpacePtr;
36 
37  struct VotingResult;
38  typedef boost::shared_ptr<VotingResult> VotingResultPtr;
39 
40  struct Point;
41  typedef boost::shared_ptr<Point> PointPtr;
42 
43  struct VotingBin;
44  typedef boost::shared_ptr<VotingBin> VotingBinPtr;
45 
46  struct Tree;
47  typedef boost::shared_ptr<Tree> TreePtr;
48 
49  struct LogHelper;
50  typedef boost::shared_ptr<LogHelper> LogHelperPtr;
51 
52  struct ObjectSet;
53  typedef boost::shared_ptr<ObjectSet> ObjectSetPtr;
54 
56  typedef boost::shared_ptr<VotingResultCalculator> VotingResultCalculatorPtr;
57 
58  //Global typedefs
59  typedef std::vector<VotedPosePtr> VotedPosePtrs;
60  typedef std::vector<VotingResultPtr> VotingResultPtrs;
61  typedef std::vector<PointPtr> PointPtrs;
62 
63  typedef std::pair<std::string, VotingSpacePtr> PatternNameAndVotingSpaceTuple;
64 
65  typedef std::map<std::string, VotedPosePtrs> PatternNameToVotedPoses;
66  typedef std::map<unsigned int, std::set<std::string> > TreeHeightToPatternName;
67 
68  typedef std::map<std::string, std::vector<ObjectSetPtr> > PatternNameToObjectSet;
69 
70  typedef std::map<std::string, VotedPosePtrs> IdToVoteMap;
71  typedef std::map<std::string, IdToVoteMap> TypeToInnerMap;
72 
73  typedef std::pair<unsigned int, double> CountWeightPair;
74  typedef std::pair<VotedPosePtr, CountWeightPair> SummarizedVotedPosePtr;
75  typedef std::vector<SummarizedVotedPosePtr> SummarizedVotedPosePtrs;
76 
77  typedef std::map<int, VotingBinPtr> ZIndexToVotingBinPtr;
78  typedef std::map<int, ZIndexToVotingBinPtr> YIndexToZIndex;
79  typedef std::map<int, YIndexToZIndex> XIndexToYIndex;
80 }
81 
82 #endif // TYPEDEF_HPP
boost::shared_ptr< VotingBin > VotingBinPtr
Definition: typedef.hpp:43
boost::shared_ptr< Point > PointPtr
Definition: Point.hpp:45
std::map< int, YIndexToZIndex > XIndexToYIndex
Definition: typedef.hpp:79
std::map< unsigned int, std::set< std::string > > TreeHeightToPatternName
Definition: typedef.hpp:66
boost::shared_ptr< VotingResult > VotingResultPtr
Definition: typedef.hpp:37
boost::shared_ptr< LogHelper > LogHelperPtr
Definition: typedef.hpp:49
std::map< std::string, std::vector< ObjectSetPtr > > PatternNameToObjectSet
Definition: typedef.hpp:68
std::vector< VotedPosePtr > VotedPosePtrs
Definition: typedef.hpp:59
boost::shared_ptr< VotedPose > VotedPosePtr
Definition: typedef.hpp:31
std::map< std::string, IdToVoteMap > TypeToInnerMap
Definition: typedef.hpp:71
boost::shared_ptr< Tree > TreePtr
Definition: typedef.hpp:46
std::map< int, ZIndexToVotingBinPtr > YIndexToZIndex
Definition: typedef.hpp:78
boost::shared_ptr< ObjectSet > ObjectSetPtr
Definition: ObjectSet.hpp:53
std::map< std::string, VotedPosePtrs > PatternNameToVotedPoses
Definition: typedef.hpp:65
std::pair< unsigned int, double > CountWeightPair
Definition: typedef.hpp:73
std::map< int, VotingBinPtr > ZIndexToVotingBinPtr
Definition: typedef.hpp:77
std::vector< PointPtr > PointPtrs
Definition: typedef.hpp:61
boost::shared_ptr< VotingResultCalculator > VotingResultCalculatorPtr
std::vector< VotingResultPtr > VotingResultPtrs
Definition: typedef.hpp:60
std::vector< SummarizedVotedPosePtr > SummarizedVotedPosePtrs
Definition: typedef.hpp:75
std::pair< VotedPosePtr, CountWeightPair > SummarizedVotedPosePtr
Definition: typedef.hpp:74
boost::shared_ptr< VotingSpace > VotingSpacePtr
Definition: typedef.hpp:34
std::pair< std::string, VotingSpacePtr > PatternNameAndVotingSpaceTuple
Definition: typedef.hpp:63
this namespace contains all generally usable classes.
std::map< std::string, VotedPosePtrs > IdToVoteMap
Definition: typedef.hpp:70


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