16 #ifndef SURGSIM_FRAMEWORK_BEHAVIOR_H 17 #define SURGSIM_FRAMEWORK_BEHAVIOR_H 19 #include "SurgSim/Framework/Component.h" 29 MANAGER_TYPE_NONE = -1,
30 MANAGER_TYPE_BEHAVIOR,
31 MANAGER_TYPE_GRAPHICS,
52 virtual void update(
double dt) = 0;
61 #endif // SURGSIM_FRAMEWORK_BEHAVIOR_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
virtual int getTargetManagerType() const
Specifies which manger will handle this behavior.
Definition: Behavior.h:55
Component(const std::string &name)
Constructor.
Definition: Component.cpp:34
Component is the main interface class to pass information to the system managers each will decide whe...
Definition: Component.h:42
virtual void update(double dt)=0
Update the behavior.
Behaviors perform actions.
Definition: Behavior.h:40