#include <memory>
#include <string>
#include <boost/uuid/uuid.hpp>
#include "SurgSim/Framework/Accessible.h"
#include "SurgSim/Framework/ObjectFactory.h"
#include "SurgSim/Framework/Component-inl.h"
Go to the source code of this file.
|
template<class Target , class Source > |
std::shared_ptr< Target > | SurgSim::Framework::checkAndConvert (std::shared_ptr< Source > incoming, const std::string &expectedTypeName) |
| The function tries to convert the Source type to the Target type it will throw if Target is not a subclass of Source. More...
|
|