Move PVACCESS_DEFAULT_PROVIDER def out of header

This commit is contained in:
Michael Davidsaver
2018-02-08 11:32:18 -08:00
parent b397e3e928
commit d12a6cad9b
2 changed files with 8 additions and 4 deletions
+4 -4
View File
@@ -67,19 +67,19 @@ const epics::pvData::int16 PVA_DEFAULT_PRIORITY = 0;
const epics::pvData::uint32 MAX_CHANNEL_NAME_LENGTH = 500;
/** Invalid data type. */
const epics::pvData::int16 INVALID_DATA_TYPE = static_cast<epics::pvData::int16>(0xFFFF);
const epics::pvData::int16 INVALID_DATA_TYPE = 0xFFFF;
/** Invalid IOID. */
const epics::pvData::int32 INVALID_IOID = 0;
/** Default PVA provider name. */
const std::string PVACCESS_DEFAULT_PROVIDER = "local";
const std::string PVACCESS_DEFAULT_PROVIDER;
/** "All-providers registered" PVA provider name. */
const std::string PVACCESS_ALL_PROVIDERS = "<all>";
const std::string PVACCESS_ALL_PROVIDERS;
/** Name of the system env. variable to turn on debugging. */
const std::string PVACCESS_DEBUG = "EPICS_PVA_DEBUG";
const std::string PVACCESS_DEBUG;
}
}
+4
View File
@@ -15,6 +15,10 @@ using std::string;
namespace epics {
namespace pvAccess {
const std::string PVACCESS_DEFAULT_PROVIDER = "local";
const std::string PVACCESS_ALL_PROVIDERS = "<all>";
const std::string PVACCESS_DEBUG = "EPICS_PVA_DEBUG";
Version::Version(std::string const & productName,
std::string const & implementationLangugage,
int majorVersion, int minorVersion,