AcsBulkdata::DDSConfiguration

NAME
SYNOPSIS
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Friends And Related Function Documentation
Member Data Documentation
Author

NAME

AcsBulkdata::DDSConfiguration −

DDS configuration class at this moment it is common for all configuration classes.

SYNOPSIS

#include <bulkDataNTConfiguration.h>

Inherited by AcsBulkdata::ReceiverFlowConfiguration, AcsBulkdata::SenderFlowConfiguration, and AcsBulkdata::StreamConfiguration.

Public Member Functions

DDSConfiguration ()

std::string getQosLibrary () const

void setQosLibrary (std::string libraryQos)

std::string getQosProfile () const

void setQosProfile (std::string profileQos)

std::string getStringProfileQoS ()

Static Public Attributes

static const char *const DEFAULT_LIBRARY

static const char *const DEFAULT_SENDER_STREAM_PROFILE

static const char *const DEFAULT_SENDER_FLOW_PROFILE

static const char *const DEFAULT_RECEIVER_STREAM_PROFILE

static const char *const DEFAULT_RECEIVER_FLOW_PROFILE

static const char *const DEFAULT_API_CREATE_PROFILE

static short debugLevel

Protected Member Functions

void setStringProfileQoS (char *cfg, const char *defaultProfile)

QoS configuration profile in the library that should be used.

void setStringProfileQoS (char *profileName, char *cfg, const char *defaultProfile)

void fillUrlProfileQoS (const char *suffix=NULL)

here we specify where it should be looked for default values = DEFAULT_QoS_FILE

bool findProfileQoS (const char *path, const char *suffix=NULL)

search for QoS library file with suffix in path

Static Protected Member Functions

static void setDebugLevelFromEnvVar ()

static void setDDSLogVerbosity ()

Protected Attributes

std::string libraryQos

std::string profileQos

QoS configuration library.

std::string stringProfileQoS

Static Protected Attributes

static bool ignoreUserProfileQoS

her goes DDS QoS Profile

static bool ignoreEnvironmentProfileQoS

static unsigned int DDSLogVerbosity

static const char *const DEFAULT_QoS_FILE

static std::string urlProfileQoS

Friends

class BulkDataNTDDS

class BulkDataNTStream

class BulkDataNTDDSSubscriber

class BulkDataNTDDSPublisher

class BulkDataConfigurationParser

Detailed Description

DDS configuration class at this moment it is common for all configuration classes.

Constructor & Destructor Documentation

AcsBulkdata::DDSConfiguration::DDSConfiguration ()

Member Function Documentation

void AcsBulkdata::DDSConfiguration::fillUrlProfileQoS (const char * suffix = NULL) [protected]

here we specify where it should be looked for default values = DEFAULT_QoS_FILE

bool AcsBulkdata::DDSConfiguration::findProfileQoS (const char * path, const char * suffix = NULL) [protected]

search for QoS library file with suffix in path

std::string AcsBulkdata::DDSConfiguration::getQosLibrary () const [inline] Returns QoS XML library name

Returns:

QoS XML library name

References libraryQos.

std::string AcsBulkdata::DDSConfiguration::getQosProfile () const [inline] Returns QoS XML profile name

Returns:

QoS XML profile name

References profileQos.

std::string AcsBulkdata::DDSConfiguration::getStringProfileQoS () [inline]

References stringProfileQoS.

static void AcsBulkdata::DDSConfiguration::setDDSLogVerbosity () [static, protected] sets DDSLogVerbosity depend on the debug level

static void AcsBulkdata::DDSConfiguration::setDebugLevelFromEnvVar () [static, protected] It tries to read BULKDATA_NT_DEBUG and if it is there set the value of debugLevel

void AcsBulkdata::DDSConfiguration::setQosLibrary (std::string libraryQos) [inline] Sets the QoS XML library name (for detail pls. see RTI DDS documentation). This method should be used with caution - just EXPERT shall use it! If this is not used the default one, DEFAULT_LIBRARY .

Parameters:

libraryQos

void AcsBulkdata::DDSConfiguration::setQosProfile (std::string profileQos) [inline] Sets the QoS XML profile name (for detail pls. see RTI DDS documentation). This method should be used with caution - just EXPERT shall use it! If this is not used the default one DEFAULT_*_*_PROFILE (depends on cfg. class).

Parameters:

profileQos - profile name

void AcsBulkdata::DDSConfiguration::setStringProfileQoS (char * profileName, char * cfg, const char * defaultProfile) [protected] * Sets configuration with profile name

Parameters:

profileName
cfg
defaultProfile

void AcsBulkdata::DDSConfiguration::setStringProfileQoS (char * cfg, const char * defaultProfile) [protected]

QoS configuration profile in the library that should be used. Sets configuration

Parameters:

cfg
defaultProfile

Friends And Related Function Documentation

friend class BulkDataConfigurationParser [friend]

Reimplemented in AcsBulkdata::StreamConfiguration.

friend class BulkDataNTDDS [friend]

friend class BulkDataNTDDSPublisher [friend]

friend class BulkDataNTDDSSubscriber [friend]

friend class BulkDataNTStream [friend]

Reimplemented in AcsBulkdata::StreamConfiguration.

Member Data Documentation

unsigned int AcsBulkdata::DDSConfiguration::DDSLogVerbosity [static, protected]

short AcsBulkdata::DDSConfiguration::debugLevel [static] BulkData NT debug level. The value is read from env. variable BULKDATA_NT_DEBUG now it effects the whole BD running in a single process, but if needed can be later re-factor that can be set per stream/flow

const char* const AcsBulkdata::DDSConfiguration::DEFAULT_API_CREATE_PROFILE [static] Default qos_profile to use when we create QoS using API

const char* const AcsBulkdata::DDSConfiguration::DEFAULT_LIBRARY [static] Default qos_library to use

const char* const AcsBulkdata::DDSConfiguration::DEFAULT_QoS_FILE [static, protected]

const char* const AcsBulkdata::DDSConfiguration::DEFAULT_RECEIVER_FLOW_PROFILE [static] Default qos_profile to use for receiver flows

const char* const AcsBulkdata::DDSConfiguration::DEFAULT_RECEIVER_STREAM_PROFILE [static] Default qos_profile to use for receiver streams

const char* const AcsBulkdata::DDSConfiguration::DEFAULT_SENDER_FLOW_PROFILE [static] Default qos_profile to use for sender flows

const char* const AcsBulkdata::DDSConfiguration::DEFAULT_SENDER_STREAM_PROFILE [static] Default qos_profile to use for sender streams

bool AcsBulkdata::DDSConfiguration::ignoreEnvironmentProfileQoS [static, protected]

bool AcsBulkdata::DDSConfiguration::ignoreUserProfileQoS [static, protected]

her goes DDS QoS Profile

std::string AcsBulkdata::DDSConfiguration::libraryQos [protected]

Referenced by getQosLibrary().

std::string AcsBulkdata::DDSConfiguration::profileQos [protected]

QoS configuration library.

Referenced by getQosProfile().

std::string AcsBulkdata::DDSConfiguration::stringProfileQoS [protected]

Referenced by getStringProfileQoS().

std::string AcsBulkdata::DDSConfiguration::urlProfileQoS [static, protected]

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.