SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::simulation::common::VisitorExecuteFunc Struct Reference

#include <VisitorExecuteFunc.h>

Public Attributes

bool precomputedTraversalOrder
 

Protected Attributes

core::objectmodel::BaseContextctx
 

Public Member Functions

 VisitorExecuteFunc (core::objectmodel::BaseContext &ctx, bool precomputedTraversalOrder=false)
 
template<class Visitor >
void operator() (Visitor *pv)
 
template<class Visitor >
void operator() (Visitor v)
 

Protected Member Functions

void prepareVisitor (sofa::simulation::Visitor *v)
 
void prepareVisitor (sofa::simulation::BaseMechanicalVisitor *mv)
 

Attribute details

core::objectmodel::BaseContext& sofa::simulation::common::VisitorExecuteFunc::ctx
protected
bool sofa::simulation::common::VisitorExecuteFunc::precomputedTraversalOrder

Constructor details

sofa::simulation::common::VisitorExecuteFunc::VisitorExecuteFunc ( core::objectmodel::BaseContext ctx,
bool  precomputedTraversalOrder = false 
)
inline

Function details

template<class Visitor >
void sofa::simulation::common::VisitorExecuteFunc::operator() ( Visitor pv)
inline
template<class Visitor >
void sofa::simulation::common::VisitorExecuteFunc::operator() ( Visitor  v)
inline
void sofa::simulation::common::VisitorExecuteFunc::prepareVisitor ( sofa::simulation::Visitor v)
inlineprotected
void sofa::simulation::common::VisitorExecuteFunc::prepareVisitor ( sofa::simulation::BaseMechanicalVisitor mv)
inlineprotected