16 #ifndef SURGSIM_INPUT_COMMONDEVICE_H 17 #define SURGSIM_INPUT_COMMONDEVICE_H 22 #include "SurgSim/Input/DeviceInterface.h" 23 #include "SurgSim/DataStructures/DataGroup.h" 30 class InputConsumerInterface;
31 class OutputProducerInterface;
61 std::string
getName()
const override;
75 bool addInputConsumer(std::shared_ptr<InputConsumerInterface> inputConsumer)
override;
81 bool setOutputProducer(std::shared_ptr<OutputProducerInterface> outputProducer)
override;
113 const std::string m_name;
116 std::string m_nameForCallback;
125 std::vector<std::weak_ptr<InputConsumerInterface>> m_inputConsumerList;
128 std::weak_ptr<OutputProducerInterface> m_outputProducer;
131 boost::mutex m_consumerProducerMutex;
139 #endif // SURGSIM_INPUT_COMMONDEVICE_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
A collection of NamedData objects.
Definition: DataGroup.h:68