Tracks.hpp
Go to the documentation of this file.
1 
18 #pragma once
19 
20 #include <string>
21 #include <vector>
22 #include <map>
23 #include <sstream>
24 #include <boost/shared_ptr.hpp>
25 #include "ObjectSet.hpp"
26 #include "Object.hpp"
27 #include "Pose.hpp"
28 #include "Track.hpp"
29 
30 namespace ISM {
31  class Tracks {
32  public:
33  Tracks(std::vector<ObjectSetPtr> sets);
34  Tracks(std::vector<TrackPtr> tracks);
35 
36  std::vector<TrackPtr> tracks;
37  TrackPtr getTrackByTypeAndId(std::string type, std::string observedId);
38  std::vector<ObjectSetPtr> toObjectSetVector();
39  void replace(std::vector<TrackPtr> tracks, TrackPtr newTrack);
40  };
41 
42  typedef boost::shared_ptr<Tracks> TracksPtr;
43 }
TrackPtr getTrackByTypeAndId(std::string type, std::string observedId)
Definition: Tracks.cpp:56
std::vector< ObjectSetPtr > toObjectSetVector()
Definition: Tracks.cpp:66
std::vector< TrackPtr > tracks
Definition: Tracks.hpp:36
Tracks(std::vector< ObjectSetPtr > sets)
Definition: Tracks.cpp:21
boost::shared_ptr< Tracks > TracksPtr
Definition: Tracks.hpp:42
void replace(std::vector< TrackPtr > tracks, TrackPtr newTrack)
Definition: Tracks.cpp:83
boost::shared_ptr< Track > TrackPtr
Definition: Track.hpp:55
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