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

#include <OSystemLayer.hpp>

Inherits OSystemLayer.

Public Member Functions

 OSystemLayer ()
 Constructor without arguments. More...
 
virtual ~OSystemLayer ()
 Destructor. More...
 
virtual std::string platform_name () const
 
virtual std::string back_trace () const
 
virtual Uint process_id () const
 
virtual double memory_usage () const
 
virtual void regist_os_signal_handlers ()
 Regists the signal handlers that will be handled by this class. More...
 
- Public Member Functions inherited from OSystemLayer
 OSystemLayer ()
 Constructor without arguments. More...
 
std::string memory_usage_str () const
 
void execute_command (const std::string &call)
 

Additional Inherited Members

- Public Types inherited from OSystemLayer
typedef void(* sighandler_t) (int)
 signal function type More...
 
- Static Public Member Functions inherited from OSystemLayer
static std::string type_name ()
 Gets the Class name. More...
 

Detailed Description

This class represents the current information on the memory usage. Is is an implementation for the Win32 operating system

Author
Tiago Quintino

Definition at line 27 of file OSystemLayer.hpp.

Constructor & Destructor Documentation

Constructor without arguments.

Definition at line 252 of file OSystemLayer.cpp.

~OSystemLayer ( )
virtual

Destructor.

Reimplemented from OSystemLayer.

Definition at line 258 of file OSystemLayer.cpp.

Member Function Documentation

std::string back_trace ( ) const
virtual

Dump backtrace

Returns
a string with the backtrace dump

Implements OSystemLayer.

Definition at line 264 of file OSystemLayer.cpp.

double memory_usage ( ) const
virtual

Gets the memory usage

Returns
a double with the memory usage

Implements OSystemLayer.

Definition at line 328 of file OSystemLayer.cpp.

virtual std::string platform_name ( ) const
inlinevirtual
Returns
string with platform name

Implements OSystemLayer.

Definition at line 38 of file OSystemLayer.hpp.

Uint process_id ( ) const
virtual

Gets the current process ID

Returns
a integer witht he current process ID

Implements OSystemLayer.

Definition at line 321 of file OSystemLayer.cpp.

void regist_os_signal_handlers ( )
virtual

Regists the signal handlers that will be handled by this class.

Implements OSystemLayer.

Definition at line 363 of file OSystemLayer.cpp.


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