chrono::ChControls Class Reference
Description
Basic interface class for 'controls', that are objects that change parameters during the simulation, ex.
to simulate PIDs, etc. Must be inherited and implemented by user.
#include <ChControls.h>
Inheritance diagram for chrono::ChControls:
Collaboration diagram for chrono::ChControls:
Public Member Functions | |
ChControls (const ChControls &other) | |
virtual ChControls * | Clone () const override |
"Virtual" copy constructor. | |
virtual bool | ExecuteForUpdate () |
virtual bool | ExecuteForStep () |
virtual void | ArchiveOUT (ChArchiveOut &marchive) override |
Method to allow serialization of transient data to archives. | |
virtual void | ArchiveIN (ChArchiveIn &marchive) override |
Method to allow de serialization of transient data from archives. | |
Public Member Functions inherited from chrono::ChObj | |
ChObj (const ChObj &other) | |
int | GetIdentifier () const |
Gets the numerical identifier of the object. | |
void | SetIdentifier (int id) |
Sets the numerical identifier of the object. | |
double | GetChTime () const |
Gets the simulation time of this object. | |
void | SetChTime (double m_time) |
Sets the simulation time of this object. | |
const char * | GetName () const |
Gets the name of the object as C Ascii null-terminated string -for reading only! | |
void | SetName (const char myname[]) |
Sets the name of this object, as ascii string. | |
std::string | GetNameString () const |
Gets the name of the object as C Ascii null-terminated string. | |
void | SetNameString (const std::string &myname) |
Sets the name of this object, as std::string. | |
void | MFlagsSetAllOFF (int &mflag) |
void | MFlagsSetAllON (int &mflag) |
void | MFlagSetON (int &mflag, int mask) |
void | MFlagSetOFF (int &mflag, int mask) |
int | MFlagGet (int &mflag, int mask) |
virtual std::string & | ArchiveContainerName () |
Additional Inherited Members | |
Protected Attributes inherited from chrono::ChObj | |
double | ChTime |
the time of simulation for the object | |
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono/physics/ChControls.h
- /builds/uwsbel/chrono/src/chrono/physics/ChControls.cpp