16 #ifndef SURGSIM_INPUT_INPUTMANAGER_H 17 #define SURGSIM_INPUT_INPUTMANAGER_H 19 #include <boost/thread/mutex.hpp> 21 #include <unordered_map> 30 class DeviceInterface;
32 class OutputComponent;
48 bool addDevice(std::shared_ptr<SurgSim::Input::DeviceInterface> device);
53 bool removeDevice(std::shared_ptr<SurgSim::Input::DeviceInterface> device);
71 bool executeAdditions(
const std::shared_ptr<SurgSim::Framework::Component>& component)
override;
76 bool executeRemovals(
const std::shared_ptr<SurgSim::Framework::Component>& component)
override;
93 std::vector<std::shared_ptr<InputComponent>>
m_inputs;
95 std::vector<std::shared_ptr<OutputComponent>>
m_outputs;
100 std::unordered_map<std::string, std::shared_ptr<SurgSim::Input::DeviceInterface>>
m_devices;
Definition: CompoundShapeToGraphics.cpp:29
Base Component Manager class.
Definition: ComponentManager.h:49