FEDEM Solver  R8.0
Source code of the dynamics solver
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
FFrReadOp< RetType > Class Template Reference

#include <FFrReadOp.H>

Inheritance diagram for FFrReadOp< RetType >:
Inheritance graph
[legend]
Collaboration diagram for FFrReadOp< RetType >:
Collaboration graph
[legend]

Public Member Functions

 FFrReadOp (FFrVariableReference *vr)
 
virtual bool hasData () const
 Checks if this operation will return any data. More...
 
virtual bool evaluate (RetType &value)
 Invokes the actual operation. More...
 
bool evaluate (double &value)
 
bool evaluate (std::vector< double > &value)
 
bool evaluate (FaMat33 &value)
 
bool evaluate (FaMat34 &value)
 
bool evaluate (FaVec3 &value)
 
bool evaluate (FFaTensor1 &value)
 
bool evaluate (FFaTensor2 &value)
 
bool evaluate (FFaTensor3 &value)
 
bool evaluate (float &value)
 
bool evaluate (int &value)
 
- Public Member Functions inherited from FFaOperation< RetType >
bool invoke (RetType &value)
 Returns current value of this operation. More...
 
virtual void invalidate ()
 Invalidates the cached value of this operation. More...
 
- Public Member Functions inherited from FFaOperationBase
void ref ()
 Increments the reference counter. More...
 
void unref ()
 Decrements the reference counter, and deletes *this if zero. More...
 

Static Public Member Functions

static void create (FFrVariableReference *rdbVar, FFaOperationBase *&created)
 
- Static Public Member Functions inherited from FFaOperationBase
static void freeMemPools ()
 Dummy method doing nothing. More...
 

Protected Member Functions

virtual ~FFrReadOp ()
 
- Protected Member Functions inherited from FFaOperation< RetType >
 FFaOperation ()
 Default constructor. More...
 
virtual ~FFaOperation ()
 Empty destructor. More...
 
- Protected Member Functions inherited from FFaOperationBase
 FFaOperationBase ()
 Default constructor. More...
 
virtual ~FFaOperationBase ()
 Empty destructor. More...
 

Private Attributes

FFrVariableReferencemyRdbVar
 

Additional Inherited Members

- Protected Attributes inherited from FFaOperation< RetType >
bool IAmEvaluated
 If true, the cached value will be used. More...
 

Constructor & Destructor Documentation

◆ FFrReadOp()

template<class RetType >
FFrReadOp< RetType >::FFrReadOp ( FFrVariableReference vr)
inline

◆ ~FFrReadOp()

template<class RetType >
virtual FFrReadOp< RetType >::~FFrReadOp ( )
inlineprotectedvirtual

Member Function Documentation

◆ create()

template<class RetType >
static void FFrReadOp< RetType >::create ( FFrVariableReference rdbVar,
FFaOperationBase *&  created 
)
inlinestatic

◆ evaluate() [1/11]

bool FFrReadOp< double >::evaluate ( double &  value)

◆ evaluate() [2/11]

bool FFrReadOp< FaMat33 >::evaluate ( FaMat33 value)

◆ evaluate() [3/11]

bool FFrReadOp< FaMat34 >::evaluate ( FaMat34 value)

◆ evaluate() [4/11]

bool FFrReadOp< FaVec3 >::evaluate ( FaVec3 value)

◆ evaluate() [5/11]

bool FFrReadOp< FFaTensor1 >::evaluate ( FFaTensor1 value)

◆ evaluate() [6/11]

bool FFrReadOp< FFaTensor2 >::evaluate ( FFaTensor2 value)

◆ evaluate() [7/11]

bool FFrReadOp< FFaTensor3 >::evaluate ( FFaTensor3 value)

◆ evaluate() [8/11]

bool FFrReadOp< float >::evaluate ( float &  value)

◆ evaluate() [9/11]

bool FFrReadOp< int >::evaluate ( int &  value)

◆ evaluate() [10/11]

template<class RetType >
bool FFrReadOp< RetType >::evaluate ( RetType &  value)
virtual

Invokes the actual operation.

Implements FFaOperation< RetType >.

◆ evaluate() [11/11]

bool FFrReadOp< std::vector< double > >::evaluate ( std::vector< double > &  value)

◆ hasData()

template<class RetType >
bool FFrReadOp< RetType >::hasData ( ) const
virtual

Checks if this operation will return any data.

Implements FFaOperation< RetType >.

Member Data Documentation

◆ myRdbVar

template<class RetType >
FFrVariableReference* FFrReadOp< RetType >::myRdbVar
private

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