chrono::ChRefFunctionHandle Class Reference


A reference to an handle of a ChFunction, that is one of the points which can be also dragged with the mouse.

#include <ChRef.h>

Inheritance diagram for chrono::ChRefFunctionHandle:
Collaboration diagram for chrono::ChRefFunctionHandle:

Public Member Functions

 ChRefFunctionHandle (ChFunction *mrootf, int m_hid)
virtual bool RestoreReference (ChFunction *mrootf)
int AccessHandle (double &mx, double &my, bool set_mode)
 Access the referenced handle ==========>>>>>>
void SetHandleId (int m_hid)
 Change the handle ID.
int GetHandleId ()
- Public Member Functions inherited from chrono::ChRefFunction
 ChRefFunction (ChFunction *mf)
virtual ChFunctionGetFunction ()
 Returns the referenced function ==========>>>>>>
- Public Member Functions inherited from chrono::ChRef
virtual bool IsValid ()
 Tells if the reference is currently valid. More...
virtual bool RestoreReference ()
 This may be overloaded by child classes. More...

Protected Attributes

int handle_id
- Protected Attributes inherited from chrono::ChRefFunction
- Protected Attributes inherited from chrono::ChRef
bool valid