Plug-in Based Software Architecture for Robotics
interface 2. Plugins - Stand-alone independent components that contain implementation of core application’s features 3. Plugin Manager - Component responsible for loading and unloading plugins Core use plugin architecture? ● More testable code ○ Interface can be mocked to test core system ○ Plugins can be individually tested ● Simplifies integration ○ Core system has a well defined API ○ Increase have to compile the entire project ● Plugins are be loaded, updated and deleted on the fly without application restart 8Some popular C++ projects that use plugins 9 ● Audio editing software ● Game0 码力 | 75 页 | 2.40 MB | 5 月前3Conan 1.8 Documentation
requires: reusing python code in recipes [EXPERIMENTAL] . . . . . . . . . . . . . . . . . 119 11.2 Plugins [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 14.10 Plugins [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392 them is a simple two-step process: 1. Copy the authenticator source file into the .conan_server/plugins/authenticator folder. 2. Add custom_authenticator: authenticator_name to the server.conf [server]0 码力 | 458 页 | 3.03 MB | 1 年前3Dynamically Loaded Libraries Outside the Standard
(hypothetical)43 CppCon 2021 | • Declaration decides the symbol of the entity • The idea also presents in Plugins in C++ (wg21.link/n2015), 2006 Resolving dynamic entities using declarations44 CppCon 2021 | • void (*RUNPROC) (void); Prepare the types for GetProcAddress53 CppCon 2021 | void load_all_plugins(GtkWidget *widget, gpointer user_data) { LPPLUGINSTRUCT pls = NULL; CREATEPROC create = NULL; ler_factory * whereispython::fullinstaller_factory instance;64 CppCon 2021 | • Load a list of plugins under a directory auto openplugins(std::filesystem::path dir) -> std::vector>; 0 码力 | 100 页 | 3.98 MB | 5 月前3Conan 2.10 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.13 New extensions plugins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.14 Package might detect different default profiles. • Builtin default implementation of extension points as plugins or hooks can also change with every release. Users can provide their own ones for stability. • Output extensions plugins Several extension points, named “plugins” have been added, to provide advanced and typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared0 码力 | 803 页 | 5.02 MB | 10 月前3Conan 2.9 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.13 New extensions plugins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.14 Package might detect different default profiles. • Builtin default implementation of extension points as plugins or hooks can also change with every release. Users can provide their own ones for stability. • Output extensions plugins Several extension points, named “plugins” have been added, to provide advanced and typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared0 码力 | 795 页 | 4.99 MB | 10 月前3Conan 2.8 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.13 New extensions plugins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.14 Package might detect different default profiles. • Builtin default implementation of extension points as plugins or hooks can also change with every release. Users can provide their own ones for stability. • Output extensions plugins Several extension points, named “plugins” have been added, to provide advanced and typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared0 码力 | 785 页 | 4.95 MB | 10 月前3Continuous Regression Testing for Safer and Faster Refactoring
touca::decimal_rule::min_absolute(3));57 Aurora Innovation Tracking performance benchmarks $ touca plugin add plugins://google_benchmark $ touca google_benchmark output.json #includestatic "items_per_second": 33516 } ] }58 Aurora Innovation Pro�ling build times $ touca plugin add plugins://bazel $ touca bazel sample_app.profile.gz 1 $ bazel build :sample_app --generate_json_trace_profile 3.309 s 100.00%59 Aurora Innovation Pro�ling the size of binaries $ touca plugin add plugins://bloaty $ touca bloaty ./bloaty 1 $ ./bloaty bloaty -d compileunits 2 FILE SIZE VM 0 码力 | 85 页 | 11.66 MB | 5 月前3Conan 2.0 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.13 New extensions plugins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.14 Package might detect different default profiles. • Builtin default implementation of extension points as plugins or hooks can also change with every release. Users can provide their own ones for stability. • Output extensions plugins Several extension points, named “plugins” have been added, to provide advanced and typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared0 码力 | 652 页 | 4.00 MB | 1 年前3Conan 2.1 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.13 New extensions plugins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.14 Package might detect different default profiles. • Builtin default implementation of extension points as plugins or hooks can also change with every release. Users can provide their own ones for stability. • Output extensions plugins Several extension points, named “plugins” have been added, to provide advanced and typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared0 码力 | 694 页 | 4.13 MB | 1 年前3Conan 2.3 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.13 New extensions plugins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.14 Package might detect different default profiles. • Builtin default implementation of extension points as plugins or hooks can also change with every release. Users can provide their own ones for stability. • Output extensions plugins Several extension points, named “plugins” have been added, to provide advanced and typically orthogonal function- ality to what the Conan recipes implement. These plugins can be shared0 码力 | 748 页 | 4.65 MB | 1 年前3
共 81 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9