X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fcatalogue.h;h=caf104e5ef146bcb9ec844dd963037bf41294ab7;hb=8dce175e31941c2f6e92ce52204e9b61a071d4f9;hp=bda1314ce6528a8f4721ca1ed2e9933c1bdbe0b4;hpb=1ff06c5bc46a677fa389ef86c6b26664368f1653;p=r2c2.git diff --git a/source/3d/catalogue.h b/source/3d/catalogue.h index bda1314..caf104e 100644 --- a/source/3d/catalogue.h +++ b/source/3d/catalogue.h @@ -8,6 +8,8 @@ Distributed under the GPL #ifndef R2C2_3D_CATALOGUE_H_ #define R2C2_3D_CATALOGUE_H_ +#include +#include #include #include #include "libr2c2/catalogue.h" @@ -17,7 +19,7 @@ namespace R2C2 { class TrackType3D; class VehicleType3D; -class Catalogue3D +class Catalogue3D: public Msp::DataFile::Collection { private: Catalogue &catalogue; @@ -41,6 +43,14 @@ private: void track_added(const TrackType &); void vehicle_added(const VehicleType &); void build_endpoint_mesh(); + + Msp::FS::Path locate_file(const std::string &); + + template + T *create(const std::string &); + + template + T *create2(const std::string &); }; }