Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends

AcsBulkdata::DDSConfiguration Class Reference

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

#include <bulkDataNTConfiguration.h>

Inheritance diagram for AcsBulkdata::DDSConfiguration:
Inheritance graph
[legend]
Collaboration diagram for AcsBulkdata::DDSConfiguration:
Collaboration graph
[legend]

List of all members.

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]
friend class BulkDataNTDDS [friend]
friend class BulkDataNTDDSPublisher [friend]
friend class BulkDataNTDDSSubscriber [friend]
friend class BulkDataNTStream [friend]

Member Data Documentation

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

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

Default qos_profile to use when we create QoS using API

Default qos_library to use

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

Default qos_profile to use for receiver flows

Default qos_profile to use for receiver streams

Default qos_profile to use for sender flows

Default qos_profile to use for sender streams

her goes DDS QoS Profile

Referenced by getQosLibrary().

QoS configuration library.

Referenced by getQosProfile().

Referenced by getStringProfileQoS().

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

The documentation for this class was generated from the following file: