COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
OSystem Class Reference

#include <OSystem.hpp>

Inherits noncopyable.

Public Member Functions

boost::shared_ptr< common::OSystemLayerlayer ()
 
boost::shared_ptr< common::LibLoaderlib_loader ()
 

Static Public Member Functions

static OSysteminstance ()
 
static void setenv (const std::string &name, const std::string &value)
 Set an environment variable. More...
 

Private Member Functions

 OSystem ()
 constructor More...
 
 ~OSystem ()
 destructor More...
 

Private Attributes

boost::shared_ptr< common::OSystemLayerm_layer
 memory usage object More...
 
boost::shared_ptr< common::LibLoaderm_lib_loader
 libloader object More...
 

Detailed Description

Represents the operating system

Author
Tiago Quintino

Definition at line 26 of file OSystem.hpp.

Constructor & Destructor Documentation

OSystem ( )
private

constructor

Definition at line 46 of file OSystem.cpp.

~OSystem ( )
private

destructor

Definition at line 79 of file OSystem.cpp.

Member Function Documentation

OSystem & instance ( )
static
Returns
the single object that represents the operating system

Definition at line 83 of file OSystem.cpp.

boost::shared_ptr< OSystemLayer > layer ( )
Returns
ProcessInfo object

Definition at line 91 of file OSystem.cpp.

boost::shared_ptr< LibLoader > lib_loader ( )
Returns
LibLoader object

Definition at line 98 of file OSystem.cpp.

void setenv ( const std::string &  name,
const std::string &  value 
)
static

Set an environment variable.

Definition at line 105 of file OSystem.cpp.

Member Data Documentation

boost::shared_ptr<common::OSystemLayer> m_layer
private

memory usage object

Definition at line 52 of file OSystem.hpp.

boost::shared_ptr<common::LibLoader> m_lib_loader
private

libloader object

Definition at line 54 of file OSystem.hpp.


The documentation for this class was generated from the following files:
Send comments to:
COOLFluiD Web Admin