From d54e9233d188e45a778cf851a4f8f86d7678e878 Mon Sep 17 00:00:00 2001 From: Pedro Pinto Date: Tue, 4 Jun 2019 09:12:11 -0400 Subject: [PATCH] Improved comment. --- src/sdk/examples/order_plugin_example.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sdk/examples/order_plugin_example.cpp b/src/sdk/examples/order_plugin_example.cpp index 82747faea..69a715c5c 100644 --- a/src/sdk/examples/order_plugin_example.cpp +++ b/src/sdk/examples/order_plugin_example.cpp @@ -304,11 +304,12 @@ void DynamicJoin::on_child_change(OrderKey, ChildState const &st) { } } +// This is called by the spark daemon at startup. In this call we +// describe our algo's parameters and register a factory function to +// create an instance of the algo. extern "C" void init_spark_plugin(bts::SparkServices &serv) { using namespace bts; - // Describe our new algo order so that Spark can generate a GUI for - // it. DynamicOrderDescriptor join_desc; // Start by naming our order type