PlatformUtils.h File Reference

This file is a wrapper around platform specific include files. More...

#include "Config.h"
#include "../Defines.h"
#include "WinUtils.h"
#include <vector>
#include <string>

Go to the source code of this file.

Namespaces

 te
 URI C++ Library.
 
 te::common
 Namespace for the Common module of TerraLib.
 

Functions

TECOMMONEXPORT std::string te::common::FindInTerraLibPath (const std::string &p)
 Returns the path relative to a directory or file in the context of TerraLib. More...
 
TECOMMONEXPORT void te::common::GetDecompostedLDPathEnvVar (std::vector< std::string > &paths)
 Returns the system LD_LIBRARY_PATH enviroment variable, decomposed into directory names, or an empty vector if no values were found. More...
 
TECOMMONEXPORT void te::common::GetDecompostedPathEnvVar (std::vector< std::string > &paths)
 Returns the system PATH enviroment variable, decomposed into directory names, or an empty vector if no values were found. More...
 
TECOMMONEXPORT unsigned long int te::common::GetFreePhysicalMemory ()
 Returns the amount of free physical memory (bytes). More...
 
TECOMMONEXPORT unsigned int te::common::GetPhysProcNumber ()
 Returns the number of physical processors. More...
 
TECOMMONEXPORT unsigned long int te::common::GetTotalPhysicalMemory ()
 Returns the amount of total physical memory (bytes). More...
 
TECOMMONEXPORT unsigned long int te::common::GetTotalVirtualMemory ()
 Returns the amount of total virtual memory (bytes) that can be claimed by the current process (physical + swapped). More...
 
TECOMMONEXPORT unsigned long int te::common::GetUsedVirtualMemory ()
 Returns the amount of used virtual memory (bytes) for the current process (physical + swapped). More...
 

Detailed Description

This file is a wrapper around platform specific include files.

Definition in file PlatformUtils.h.