16 #ifndef SURGSIM_FRAMEWORK_SCENEELEMENT_INL_H
17 #define SURGSIM_FRAMEWORK_SCENEELEMENT_INL_H
30 std::vector<std::shared_ptr<T>> result;
34 std::shared_ptr<T> typedElement = std::dynamic_pointer_cast<T>(componentIt->second);
37 result.emplace_back(std::move(typedElement));
Definition: DriveElementFromInputBehavior.cpp:27
std::vector< std::shared_ptr< Component > > getComponents() const
Gets all the components of this SceneElement.
Definition: SceneElement.cpp:156
std::unordered_map< std::string, std::shared_ptr< Component > > m_components
A collection of Components.
Definition: SceneElement.h:170