GNU Radio 3.6.5 C++ API

gr_constants.h File Reference

#include <gr_core_api.h>
#include <string>

Go to the source code of this file.

Functions

GR_CORE_API const std::string gr_prefix ()
 return CMAKE_INSTALL_PREFIX. Typically /usr/local
GR_CORE_API const std::string gr_sysconfdir ()
 return SYSCONFDIR. Typically ${CMAKE_INSTALL_PREFIX}/etc or /etc
GR_CORE_API const std::string gr_prefsdir ()
 return preferences file directory. Typically ${SYSCONFDIR}/etc/conf.d
GR_CORE_API const std::string gr_build_date ()
 return date/time of build, as set when 'cmake' is run
GR_CORE_API const std::string gr_version ()
 return version string defined by cmake (GrVersion.cmake)

Function Documentation

GR_CORE_API const std::string gr_build_date ( )

return date/time of build, as set when 'cmake' is run

GR_CORE_API const std::string gr_prefix ( )

return CMAKE_INSTALL_PREFIX. Typically /usr/local

GR_CORE_API const std::string gr_prefsdir ( )

return preferences file directory. Typically ${SYSCONFDIR}/etc/conf.d

GR_CORE_API const std::string gr_sysconfdir ( )

return SYSCONFDIR. Typically ${CMAKE_INSTALL_PREFIX}/etc or /etc

GR_CORE_API const std::string gr_version ( )

return version string defined by cmake (GrVersion.cmake)