#include <ContextObject.h>


Public Member Functions | |
| ContextObject () | |
| virtual | ~ContextObject () |
| virtual void | apply ()=0 |
| modify the Context | |
Protected Member Functions | |
| BaseContext * | getContext () |
| Get a writable pointer to the context. | |
..).
Definition at line 45 of file ContextObject.h.
| sofa::core::objectmodel::ContextObject::ContextObject | ( | ) | [inline] |
Definition at line 48 of file ContextObject.h.
| virtual sofa::core::objectmodel::ContextObject::~ContextObject | ( | ) | [inline, virtual] |
Definition at line 52 of file ContextObject.h.
| virtual void sofa::core::objectmodel::ContextObject::apply | ( | ) | [pure virtual] |
modify the Context
Implemented in sofa::component::contextobject::CoordinateSystem, and sofa::component::contextobject::Gravity.
| BaseContext* sofa::core::objectmodel::ContextObject::getContext | ( | ) | [inline, protected] |
Get a writable pointer to the context.
Note that this method should only be called inside apply()
Reimplemented from sofa::core::objectmodel::BaseObject.
Definition at line 62 of file ContextObject.h.
References sofa::core::objectmodel::BaseObject::context_.
Referenced by sofa::component::contextobject::Gravity::apply(), and sofa::component::contextobject::CoordinateSystem::apply().
1.5.7.1