16 #ifndef SURGSIM_BLOCKS_DRIVEELEMENTFROMINPUTBEHAVIOR_H 17 #define SURGSIM_BLOCKS_DRIVEELEMENTFROMINPUTBEHAVIOR_H 49 void setSource(std::shared_ptr<SurgSim::Framework::Component> source);
53 std::shared_ptr<SurgSim::Framework::Component> getSource();
65 virtual void update(
double dt);
69 virtual bool doInitialize();
72 virtual bool doWakeUp();
76 std::shared_ptr<SurgSim::Input::InputComponent>
m_source;
87 #endif // SURGSIM_BLOCKS_DRIVEELEMENTFROMINPUTBEHAVIOR_H Definition: DriveElementFromInputBehavior.cpp:27
string(TOUPPER ${DEVICE}DEVICE_UPPER_CASE) option(BUILD_DEVICE_ $
Definition: CMakeLists.txt:35
#define SURGSIM_CLASSNAME(ClassName)
Declare the class name of a class with the appropriate function header, do not use quotes...
Definition: Macros.h:21
Behaviors perform actions.
Definition: Behavior.h:40