sofa::component::misc::ReadStateModifier Class Reference

#include <ReadState.h>

Inheritance diagram for sofa::component::misc::ReadStateModifier:

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

Collaboration graph
[legend]

Public Member Functions

 ReadStateModifier (double _time)
virtual Result processNodeTopDown (simulation::Node *)
 Callback method called when decending to a new node. Recursion will stop if this method returns RESULT_PRUNE.
double getTime () const
void setTime (double _time)

Protected Member Functions

void changeTimeReader (sofa::component::misc::ReadState *rs)

Protected Attributes

double time

Detailed Description

Definition at line 125 of file ReadState.h.


Constructor & Destructor Documentation

sofa::component::misc::ReadStateModifier::ReadStateModifier ( double  _time  )  [inline]

Definition at line 128 of file ReadState.h.


Member Function Documentation

void sofa::component::misc::ReadStateModifier::changeTimeReader ( sofa::component::misc::ReadState *  rs  )  [inline, protected]

Definition at line 134 of file ReadState.h.

References sofa::component::misc::ReadState::processReadState(), and time.

Referenced by processNodeTopDown().

double sofa::component::misc::ReadStateModifier::getTime (  )  const [inline]

Definition at line 131 of file ReadState.h.

References time.

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

Callback method called when decending to a new node. Recursion will stop if this method returns RESULT_PRUNE.

Reimplemented from sofa::simulation::Visitor.

Definition at line 95 of file ReadState.cpp.

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

void sofa::component::misc::ReadStateModifier::setTime ( double  _time  )  [inline]

Definition at line 132 of file ReadState.h.

References time.


Field Documentation

Definition at line 136 of file ReadState.h.

Referenced by changeTimeReader(), getTime(), and setTime().


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