#include <notifier_factory.h>
◆ CreateNotifier()
auto apollo::cyber::transport::NotifierFactory::CreateNotifier |
( |
| ) |
|
|
static |
在文件 notifier_factory.cc 第 32 行定义.
32 {
34 auto& g_conf = GlobalData::Instance()->Config();
35 if (g_conf.has_transport_conf() && g_conf.transport_conf().has_shm_conf() &&
36 g_conf.transport_conf().shm_conf().has_notifier_type()) {
37 notifier_type = g_conf.transport_conf().shm_conf().notifier_type();
38 }
39
40 ADEBUG <<
"notifier type: " << notifier_type;
41
43 return CreateMulticastNotifier();
45 return CreateConditionNotifier();
46 }
47
48 AINFO <<
"unknown notifier, we use default notifier: " << notifier_type;
49 return CreateConditionNotifier();
50}
static const char * Type()
static const char * Type()
该类的文档由以下文件生成: