42 static const std::string ORCHESTRATOR_EXECUTOR_NAME;
43 static const std::string MISSION_EXECUTOR_NAME;
44 static const std::string EVENT_MONITOR_EXECUTOR_NAME;
45 static const std::string EVENT_HANDLER_EXECUTOR_NAME;
47 MissionBuildHandlerBase(rclcpp::Node::SharedPtr ros_node_ptr, NodeLoader::SharedPtr tree_node_loader_ptr);
51 const std::string & build_request,
const NodeManifest & node_manifest,
52 const std::string & root_tree_name)
override final;
54 TreeDocument::TreeElement
buildTree(TreeDocument & doc, TreeBlackboard & bb)
override final;
59 virtual void buildBringUp(TreeDocument::TreeElement & sub_tree,
const std::vector<TreeResource::Identity> & trees);
61 virtual void buildMission(
62 TreeDocument::TreeElement & sub_tree,
const std::vector<TreeResource::Identity> & trees) = 0;
64 virtual void buildEventMonitor(
65 TreeDocument::TreeElement & sub_tree,
66 const std::vector<std::pair<TreeResource::Identity, TreeResource::Identity>> & contingencies,
67 const std::vector<std::pair<TreeResource::Identity, TreeResource::Identity>> & emergencies);
69 virtual void buildContingencyHandling(
70 TreeDocument::TreeElement & sub_tree,
71 const std::vector<std::pair<TreeResource::Identity, TreeResource::Identity>> & contingencies);
73 virtual void buildEmergencyHandling(
74 TreeDocument::TreeElement & sub_tree,
75 const std::vector<std::pair<TreeResource::Identity, TreeResource::Identity>> & emergencies);
77 virtual void buildShutDown(TreeDocument::TreeElement & sub_tree,
const std::vector<TreeResource::Identity> & trees);
79 virtual void configureOrchestratorRootBlackboard(TreeBlackboard & bb);