COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
#include <OSystemLayer.hpp>
Inherits noncopyable.
Inherited by OSystemLayer, OSystemLayer, and OSystemLayer.
Public Types | |
typedef void(* | sighandler_t) (int) |
signal function type More... | |
Public Member Functions | |
OSystemLayer () | |
Constructor without arguments. More... | |
virtual | ~OSystemLayer () |
Destructor. More... | |
virtual std::string | platform_name () const =0 |
virtual std::string | back_trace () const =0 |
virtual cf3::Uint | process_id () const =0 |
virtual void | regist_os_signal_handlers ()=0 |
Regists the signal handlers that will be handled by this class. More... | |
virtual cf3::Real | memory_usage () const =0 |
std::string | memory_usage_str () const |
void | execute_command (const std::string &call) |
Static Public Member Functions | |
static std::string | type_name () |
Gets the Class name. More... | |
This class represents the current information on the memory usage.
Definition at line 31 of file OSystemLayer.hpp.
typedef void(* sighandler_t) (int) |
signal function type
Definition at line 36 of file OSystemLayer.hpp.
OSystemLayer | ( | ) |
Constructor without arguments.
Definition at line 27 of file OSystemLayer.cpp.
|
virtual |
Destructor.
Reimplemented in OSystemLayer, OSystemLayer, and OSystemLayer.
Definition at line 29 of file OSystemLayer.cpp.
|
pure virtual |
Dump backtrace The format of the backtrace is operating system dependent
Implemented in OSystemLayer, OSystemLayer, and OSystemLayer.
void execute_command | ( | const std::string & | call | ) |
Executes the command passed in the string
Definition at line 33 of file OSystemLayer.cpp.
|
pure virtual |
Gets the memory usage
Implemented in OSystemLayer, OSystemLayer, and OSystemLayer.
std::string memory_usage_str | ( | ) | const |
out | the output stream |
Definition at line 49 of file OSystemLayer.cpp.
|
pure virtual |
Implemented in OSystemLayer, OSystemLayer, and OSystemLayer.
|
pure virtual |
Gets the current process ID
Implemented in OSystemLayer, OSystemLayer, and OSystemLayer.
|
pure virtual |
Regists the signal handlers that will be handled by this class.
Implemented in OSystemLayer, OSystemLayer, and OSystemLayer.
|
inlinestatic |
Gets the Class name.
Definition at line 74 of file OSystemLayer.hpp.
Send comments to: COOLFluiD Web Admin |