20 lines
512 B
C++
Executable File
20 lines
512 B
C++
Executable File
/**
|
|
* Common functions for Publisher and Subscriber
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#include "pub_sub_base.h"
|
|
|
|
#include <NGLLogger/NGLLoggerBootstrap.h>
|
|
|
|
namespace DDSConnector
|
|
{
|
|
PubSubBase::PubSubBase(const dds::domain::DomainParticipant &domainParticipant, const std::string &partition, const char *loggerName)
|
|
: m_domainParticipant(domainParticipant)
|
|
, m_partitions({partition})
|
|
, m_logger(NGL::NGLLoggerBootstrap::getNGLRootLogger().getNGLLogger(loggerName))
|
|
{}
|
|
} // namespace DDSConnector
|