Pothos  0.7.0-gf7fbae99
The Pothos dataflow programming software suite
Macros
Config.hpp File Reference
#include <ciso646>

Go to the source code of this file.

Macros

#define POTHOS_HELPER_DLL_IMPORT
 
#define POTHOS_HELPER_DLL_EXPORT
 
#define POTHOS_HELPER_DLL_LOCAL
 
#define POTHOS_DLL
 
#define POTHOS_API   POTHOS_HELPER_DLL_IMPORT
 
#define POTHOS_EXTERN   extern
 
#define POTHOS_LOCAL   POTHOS_HELPER_DLL_LOCAL
 
#define POTHOS_DEPRECATED(msg)
 
#define POTHOS_FCN_TUPLE(classPath, functionName)   #functionName, &classPath::functionName
 

Detailed Description

Common macro definitions for library API export.

Macro Definition Documentation

◆ POTHOS_API

#define POTHOS_API   POTHOS_HELPER_DLL_IMPORT

◆ POTHOS_DEPRECATED

#define POTHOS_DEPRECATED (   msg)

◆ POTHOS_DLL

#define POTHOS_DLL

◆ POTHOS_EXTERN

#define POTHOS_EXTERN   extern

◆ POTHOS_FCN_TUPLE

#define POTHOS_FCN_TUPLE (   classPath,
  functionName 
)    #functionName, &classPath::functionName

The function tuple emits a string name + function pointer tuple. This macro simplifies specifying a function name more than once for API calls that take a string name and function pointer.

Example: To simplify this->register("foo", &MyNamespace::MyClass::foo), this->register(POTHOS_FCN_TUPLE(MyNamespace::MyClass, foo));

Parameters
classPaththe colon separated namespace and class name
functionNamethe name of a function within the specified classPath

◆ POTHOS_HELPER_DLL_EXPORT

#define POTHOS_HELPER_DLL_EXPORT

◆ POTHOS_HELPER_DLL_IMPORT

#define POTHOS_HELPER_DLL_IMPORT

◆ POTHOS_HELPER_DLL_LOCAL

#define POTHOS_HELPER_DLL_LOCAL

◆ POTHOS_LOCAL

#define POTHOS_LOCAL   POTHOS_HELPER_DLL_LOCAL