25 #ifndef __PROCESSINFO_H__
26 #define __PROCESSINFO_H__
29 #include <boost/noncopyable.hpp>
30 #include <boost/shared_ptr.hpp>
31 #include <Safir/Utilities/Internal/VisibilityHelpers.h>
33 #ifdef lluf_utils_EXPORTS
34 # define LLUF_UTILS_API SAFIR_HELPER_DLL_EXPORT
36 # define LLUF_UTILS_API SAFIR_HELPER_DLL_IMPORT
37 # define SAFIR_LIBRARY_NAME "lluf_utils"
38 # include <Safir/Utilities/Internal/AutoLink.h>
40 #define LLUF_UTILS_LOCAL SAFIR_HELPER_DLL_LOCAL
44 #if defined(linux) || defined(__linux) || defined(__linux__)
45 # include <sys/types.h>
46 #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
49 # error You need to get hold of pid_t for this platform
54 #pragma warning(disable: 4275)
62 private boost::noncopyable
72 static pid_t GetPid();
81 const std::string GetProcessName()
const;
87 static const std::string GetProcessDescription();
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition: Backdoor.h:30
Definition: ProcessInfo.h:61
#define LLUF_UTILS_API
Definition: ProcessInfo.h:36