All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
MBSim::MBSimEnvironment Class Reference

singleton class (see GAMMA et al.) to capsulate environment variables for XML multibody systems More...

#include <environment.h>

Inheritance diagram for MBSim::MBSimEnvironment:
MBSim::Environment fmatvec::Atom

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
 
- Public Member Functions inherited from fmatvec::Atom
Atomoperator= (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 MBSimEnvironmentgetInstance ()
 
- Static Public Member Functions inherited from fmatvec::Atom
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
 
- Protected Member Functions inherited from MBSim::Environment
 Environment ()
 constructor
 
virtual ~Environment ()
 destructor
 
- Protected Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 

Protected Attributes

fmatvec::Vec3 grav
 acceleration of gravity
 

Static Protected Attributes

static boost::scoped_ptr
< MBSimEnvironment
instance
 

Additional Inherited Members

- Public Types inherited from fmatvec::Atom
enum  MsgType
 

Detailed Description

singleton class (see GAMMA et al.) to capsulate environment variables for XML multibody systems

Author
Markus Friedrich
Date
2009-07-28 some comments (Thorsten Schindler)

Member Function Documentation

void MBSim::MBSimEnvironment::initializeUsingXML ( xercesc::DOMElement *  element)
virtual

initializes environment variables by XML element

Parameters
XMLelement

Reimplemented from MBSim::Environment.

Member Data Documentation

boost::scoped_ptr< MBSimEnvironment > MBSim::MBSimEnvironment::instance
staticprotected

class pointer to ensure singleton status


The documentation for this class was generated from the following files:

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Valid HTML