sofa::component::misc::ReadStateActivator Class Reference

#include <ReadState.h>

Inheritance diagram for sofa::component::misc::ReadStateActivator:

Inheritance graph
[legend]
Collaboration diagram for sofa::component::misc::ReadStateActivator:

Collaboration graph
[legend]

Public Member Functions

 ReadStateActivator (bool active)
virtual Result processNodeTopDown (simulation::Node *)
 if state is true, we activate all the write states present in the scene.
bool getState () const
void setState (bool active)

Protected Member Functions

void changeStateReader (sofa::component::misc::ReadState *ws)

Protected Attributes

bool state

Detailed Description

Definition at line 111 of file ReadState.h.


Constructor & Destructor Documentation

sofa::component::misc::ReadStateActivator::ReadStateActivator ( bool  active  )  [inline]

Definition at line 114 of file ReadState.h.


Member Function Documentation

void sofa::component::misc::ReadStateActivator::changeStateReader ( sofa::component::misc::ReadState *  ws  )  [protected]

bool sofa::component::misc::ReadStateActivator::getState ( void   )  const [inline]

Definition at line 117 of file ReadState.h.

References state.

simulation::Visitor::Result sofa::component::misc::ReadStateActivator::processNodeTopDown ( simulation::Node *  gnode  )  [virtual]

if state is true, we activate all the write states present in the scene.

Definition at line 79 of file ReadState.cpp.

References changeStateReader(), sofa::core::objectmodel::BaseContext::get(), and sofa::simulation::Visitor::RESULT_CONTINUE.

void sofa::component::misc::ReadStateActivator::setState ( bool  active  )  [inline]

Definition at line 118 of file ReadState.h.

References state.


Field Documentation

Definition at line 122 of file ReadState.h.

Referenced by changeStateReader(), getState(), and setState().


The documentation for this class was generated from the following files:

Generated on Sun Nov 23 04:21:16 2008 for Sofa by  doxygen 1.5.7.1