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();
57 void setPoseName(
const std::string& poseName);
61 std::string getPoseName();
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: CompoundShapeToGraphics.cpp:29
#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