Go to the documentation of this file.
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;
Base Component Manager class.
Definition: ComponentManager.h:50
Definition: CompoundShapeToGraphics.cpp:30
string(TOUPPER ${DEVICE} DEVICE_UPPER_CASE) option(BUILD_DEVICE_$
Definition: CMakeLists.txt:38