AimRT/src/plugins/proxy_plugin/proxy_plugin_main.cc
ATT_POWER 18d45dbb0f
feat: add proxy plugin to transfer messages from one backend to multiple backends (#108)
* feat(plugins): add proxy plugin

* feat: add proxy action

* feat: del the state in proxy action

* feat: format

* fix : add check not to pub same topic and msg_type

* fix: remove TimerSchedule  executor check

* docs: add docs

* doc: change docs

* fix: remove some unnessary code

* refactor(proxy_plugin): migrate TopicMetaKey to core/util directory

* fix: simplify the code

* format

* fix: struct bind

* perf(proxy): use action_raw_ptr capture rather than reference capture local variable

* docs: update proxy_plugin documentation and add example configuration

* fix: remove necessary check in echo plugin

* doc: add proxy plugin example docs

* fix: migrate recordplayback plugin and echo plugin's topic_meta_key into util

* fix: format

* fix: remove necessary code

* perf: remove unnecessary code
2024-11-23 10:25:48 +08:00

17 lines
410 B
C++

// Copyright (c) 2023, AgiBot Inc.
// All rights reserved.
#include "aimrt_core_plugin_interface/aimrt_core_plugin_main.h"
#include "proxy_plugin/proxy_plugin.h"
extern "C" {
aimrt::AimRTCorePluginBase* AimRTDynlibCreateCorePluginHandle() {
return new aimrt::plugins::proxy_plugin::ProxyPlugin();
}
void AimRTDynlibDestroyCorePluginHandle(const aimrt::AimRTCorePluginBase* plugin) {
delete plugin;
}
}