sofa::component::misc::ReadStateCreator Class Reference

Create ReadState component in the graph each time needed. More...

#include <ReadState.h>

Inheritance diagram for sofa::component::misc::ReadStateCreator:

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

Collaboration graph
[legend]

Public Member Functions

 ReadStateCreator ()
 ReadStateCreator (std::string &n, bool i=true, int c=0)
virtual Result processNodeTopDown (simulation::Node *)
void setSceneName (std::string &n)
void setCounter (int c)
void setCreateInMapping (bool b)

Protected Member Functions

void addReadState (sofa::core::componentmodel::behavior::BaseMechanicalState *ms, simulation::Node *gnode)

Protected Attributes

bool init
std::string sceneName
int counterReadState
bool createInMapping

Detailed Description

Create ReadState component in the graph each time needed.

Definition at line 93 of file ReadState.h.


Constructor & Destructor Documentation

sofa::component::misc::ReadStateCreator::ReadStateCreator (  )  [inline]

Definition at line 96 of file ReadState.h.

sofa::component::misc::ReadStateCreator::ReadStateCreator ( std::string &  n,
bool  i = true,
int  c = 0 
) [inline]

Definition at line 97 of file ReadState.h.

References counterReadState, init, and sceneName.


Member Function Documentation

void sofa::component::misc::ReadStateCreator::addReadState ( sofa::core::componentmodel::behavior::BaseMechanicalState *  ms,
simulation::Node *  gnode 
) [protected]

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

Definition at line 46 of file ReadState.cpp.

References sofa::simulation::Visitor::RESULT_CONTINUE.

void sofa::component::misc::ReadStateCreator::setCounter ( int  c  )  [inline]

Definition at line 101 of file ReadState.h.

References counterReadState.

void sofa::component::misc::ReadStateCreator::setCreateInMapping ( bool  b  )  [inline]

Definition at line 102 of file ReadState.h.

References createInMapping.

void sofa::component::misc::ReadStateCreator::setSceneName ( std::string &  n  )  [inline]

Definition at line 100 of file ReadState.h.

References sceneName.


Field Documentation

Definition at line 107 of file ReadState.h.

Referenced by addReadState(), ReadStateCreator(), and setCounter().

Definition at line 108 of file ReadState.h.

Referenced by addReadState(), and setCreateInMapping().

Definition at line 105 of file ReadState.h.

Referenced by addReadState(), and ReadStateCreator().

Definition at line 106 of file ReadState.h.

Referenced by addReadState(), ReadStateCreator(), and setSceneName().


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