Namespaces | Functions
Component-inl.h File Reference

Go to the source code of this file.

Namespaces

 SurgSim
 
 SurgSim::Framework
 

Functions

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...