Add smart ptr typedefs (#153)
This commit is contained in:
parent
ce0fcc860a
commit
f8cb99cd0f
|
@ -41,6 +41,8 @@
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <urdf_model/model.h>
|
#include <urdf_model/model.h>
|
||||||
#include <tinyxml.h>
|
#include <tinyxml.h>
|
||||||
|
#include <boost/shared_ptr.hpp>
|
||||||
|
#include <boost/weak_ptr.hpp>
|
||||||
|
|
||||||
namespace urdf{
|
namespace urdf{
|
||||||
|
|
||||||
|
@ -59,6 +61,10 @@ public:
|
||||||
bool initString(const std::string& xmlstring);
|
bool initString(const std::string& xmlstring);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef boost::shared_ptr<Model> ModelSharedPtr;
|
||||||
|
typedef boost::shared_ptr<const Model> ModelConstSharedPtr;
|
||||||
|
typedef boost::weak_ptr<Model> ModelWeakPtr;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue