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:41
Definition: CompoundShapeToGraphics.cpp:30
string(TOUPPER ${DEVICE} DEVICE_UPPER_CASE) option(BUILD_DEVICE_$
Definition: CMakeLists.txt:38