Go to the documentation of this file.
16 #ifndef SURGSIM_BLOCKS_DRIVEELEMENTFROMINPUTBEHAVIOR_H
17 #define SURGSIM_BLOCKS_DRIVEELEMENTFROMINPUTBEHAVIOR_H
33 SURGSIM_STATIC_REGISTRATION(DriveElementFromInputBehavior);
49 void setSource(std::shared_ptr<SurgSim::Framework::Component> source);
53 std::shared_ptr<SurgSim::Framework::Component>
getSource();
65 virtual void update(
double dt);
76 std::shared_ptr<SurgSim::Input::InputComponent>
m_source;
87 #endif // SURGSIM_BLOCKS_DRIVEELEMENTFROMINPUTBEHAVIOR_H
Behaviors perform actions.
Definition: Behavior.h:40
Definition: CompoundShapeToGraphics.cpp:29