singleton class (see GAMMA et al.) to capsulate environment variables for XML multibody systems More...
#include <environment.h>
Public Member Functions | |
| void | initializeUsingXML (xercesc::DOMElement *element) override |
| initializes environment variables by XML element More... | |
| void | setAccelerationOfGravity (const fmatvec::Vec3 &grav_) |
| const fmatvec::Vec3 & | getAccelerationOfGravity () const |
Public Member Functions inherited from fmatvec::Atom | |
| Atom & | operator= (const Atom &) |
| void | setMessageStreamActive (MsgType type, bool activeFlag) |
| void | getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) const |
| void | adoptMessageStreams (const Atom *src=nullptr) |
| std::ostream & | msg (MsgType type) const |
| bool | msgAct (MsgType type) const |
Static Public Member Functions | |
| static MBSimEnvironment * | getInstance () |
Static Public Member Functions inherited from fmatvec::Atom | |
| static void | setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf())) |
| static std::ostream & | msgStatic (MsgType type) |
| static bool | msgActStatic (MsgType type) |
Protected Member Functions | |
| MBSimEnvironment () | |
| constructor | |
Protected Member Functions inherited from MBSim::Environment | |
| Environment () | |
| constructor | |
| ~Environment () override=default | |
| destructor | |
Protected Member Functions inherited from fmatvec::Atom | |
| Atom (const Atom &src) | |
Protected Attributes | |
| fmatvec::Vec3 | grav |
| acceleration of gravity | |
Static Private Attributes | |
| static std::unique_ptr < MBSimEnvironment > | instance |
Additional Inherited Members | |
Public Types inherited from fmatvec::Atom | |
| enum | MsgType |
singleton class (see GAMMA et al.) to capsulate environment variables for XML multibody systems
|
overridevirtual |
initializes environment variables by XML element
| XML | element |
Reimplemented from MBSim::Environment.
|
staticprivate |
class pointer to ensure singleton status