Description

This is the base data for all types of references.

The base implementation is basically useless unless it has some inherited implementation (see other classes below)

#include <ChRef.h>

Inheritance diagram for chrono::ChRef:

Public Member Functions

virtual bool IsValid ()
 Tells if the reference is currently valid. More...
 
virtual bool RestoreReference ()
 This may be overloaded by child classes. More...
 

Protected Attributes

bool valid
 

Member Function Documentation

◆ IsValid()

virtual bool chrono::ChRef::IsValid ( )
inlinevirtual

Tells if the reference is currently valid.

Instead of implementing it, child classes may simply set valif=false (or true) depending on the result of their implementations of RestoreReference();

◆ RestoreReference()

virtual bool chrono::ChRef::RestoreReference ( )
inlinevirtual

This may be overloaded by child classes.

Argument should be the 'database' where the reference restoring takes place. Should return false if referencing was not possible. Should set valid=true/false depending on referencing success.


The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/physics/ChRef.h