@@ -21,10 +21,10 @@ extern "C" {
2121
2222#include < villas/exceptions.hpp>
2323#include < villas/node_compat.hpp>
24- #include < villas/nodes/orchestra /ddf.hpp>
25- #include < villas/nodes/orchestra /error.hpp>
26- #include < villas/nodes/orchestra /locks.hpp>
27- #include < villas/nodes/orchestra /signal.hpp>
24+ #include < villas/nodes/opal_orchestra /ddf.hpp>
25+ #include < villas/nodes/opal_orchestra /error.hpp>
26+ #include < villas/nodes/opal_orchestra /locks.hpp>
27+ #include < villas/nodes/opal_orchestra /signal.hpp>
2828#include < villas/sample.hpp>
2929#include < villas/signal_type.hpp>
3030#include < villas/super_node.hpp>
@@ -35,8 +35,8 @@ using namespace villas::node;
3535using namespace villas ::utils;
3636using namespace villas ::node::orchestra;
3737
38- // An OrchestraMapping maps one or more VILLASnode signals to an Orchestra data item.
39- class OrchestraMapping {
38+ // An OpalOrchestraMapping maps one or more VILLASnode signals to an Orchestra data item.
39+ class OpalOrchestraMapping {
4040public:
4141 DataItem *item;
4242 std::string path;
@@ -53,7 +53,7 @@ class OrchestraMapping {
5353 unsigned int typeSize; // sizeof() of the signal type. See RTSignalType.
5454 unsigned short length;
5555
56- OrchestraMapping (DataItem *item, const std::string &path)
56+ OpalOrchestraMapping (DataItem *item, const std::string &path)
5757 : item(item), path(path), signals(), signalList(), indices() {}
5858
5959 void addSignal (Signal::Ptr signal, int orchestraIdx) {
@@ -226,7 +226,7 @@ class OrchestraMapping {
226226 }
227227};
228228
229- class OrchestraNode : public Node {
229+ class OpalOrchestraNode : public Node {
230230
231231protected:
232232 Task task; // The task which is used to pace the node in asynchronous mode.
@@ -237,8 +237,8 @@ class OrchestraNode : public Node {
237237
238238 Domain domain; // The domain to which the node belongs.
239239
240- std::map<DataItem *, OrchestraMapping > subscribeMappings;
241- std::map<DataItem *, OrchestraMapping > publishMappings;
240+ std::map<DataItem *, OpalOrchestraMapping > subscribeMappings;
241+ std::map<DataItem *, OpalOrchestraMapping > publishMappings;
242242
243243 double rate;
244244 std::optional<std::filesystem::path> dataDefinitionFilename;
@@ -325,15 +325,15 @@ class OrchestraNode : public Node {
325325 }
326326
327327public:
328- OrchestraNode (const uuid_t &id = {}, const std::string &name = " " ,
329- unsigned int key = 0 )
328+ OpalOrchestraNode (const uuid_t &id = {}, const std::string &name = " " ,
329+ unsigned int key = 0 )
330330 : Node(id, name), task(), connectionKey(key), domain(),
331331 subscribeMappings (), publishMappings(), connectTimeout(5 ), flagDelay(0 ),
332332 skipWaitToGo(false ), dataDefinitionFileOverwrite(false ),
333333 dataDefinitionFileWriteOnly(false ) {}
334334
335335 void parseSignals (json_t *json, SignalList::Ptr signals, DataSet &dataSet,
336- std::map<DataItem *, OrchestraMapping > &mappings) {
336+ std::map<DataItem *, OpalOrchestraMapping > &mappings) {
337337 if (!json_is_array (json)) {
338338 throw ConfigError (json, " node-config-node-opal-orchestra-signals" ,
339339 " Signals must be an array" );
@@ -373,7 +373,7 @@ class OrchestraNode : public Node {
373373 item->type = orchestraType;
374374 item->defaultValue = defaultValue.f ;
375375
376- mappings.emplace (item, OrchestraMapping (item, orchestraName));
376+ mappings.emplace (item, OpalOrchestraMapping (item, orchestraName));
377377 }
378378
379379 auto &mapping = mappings.at (item);
@@ -641,7 +641,7 @@ class OrchestraNode : public Node {
641641 }
642642};
643643
644- class OrchestraNodeFactory : public NodeFactory {
644+ class OpalOrchestraNodeFactory : public NodeFactory {
645645
646646public:
647647 using NodeFactory::NodeFactory;
@@ -655,7 +655,7 @@ class OrchestraNodeFactory : public NodeFactory {
655655 throw RTError (ret, " Failed to create new Orchestra node" );
656656 }
657657
658- auto *n = new OrchestraNode (id, nme, connectionKey);
658+ auto *n = new OpalOrchestraNode (id, nme, connectionKey);
659659
660660 init (n);
661661
@@ -676,4 +676,4 @@ class OrchestraNodeFactory : public NodeFactory {
676676 }
677677};
678678
679- static OrchestraNodeFactory p;
679+ static OpalOrchestraNodeFactory p;
0 commit comments