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