From e2a594e6407b54387e36d8a4bd73124a83af1d80 Mon Sep 17 00:00:00 2001 From: Yuchen Zhang <134643420+yczhang-nv@users.noreply.github.com> Date: Tue, 24 Sep 2024 16:53:05 -0700 Subject: [PATCH] fix headers --- .../_lib/include/morpheus/stages/monitor.hpp | 21 +++++++++++++++++-- .../morpheus/stages/monitor_controller.hpp | 17 +++++++++++++++ .../morpheus/_lib/src/stages/monitor.cpp | 17 +++++++++++++++ .../_lib/src/stages/monitor_controller.cpp | 17 +++++++++++++++ 4 files changed, 70 insertions(+), 2 deletions(-) diff --git a/python/morpheus/morpheus/_lib/include/morpheus/stages/monitor.hpp b/python/morpheus/morpheus/_lib/include/morpheus/stages/monitor.hpp index bd1655e2c4..a285442a01 100644 --- a/python/morpheus/morpheus/_lib/include/morpheus/stages/monitor.hpp +++ b/python/morpheus/morpheus/_lib/include/morpheus/stages/monitor.hpp @@ -1,7 +1,25 @@ +/* + * SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once -#include "morpheus/export.h" // for MORPHEUS_EXPORT +#include "morpheus/export.h" // for MORPHEUS_EXPORT #include "morpheus/stages/monitor_controller.hpp" // for MonitorController + #include #include // for Builder #include // for PythonNode @@ -41,7 +59,6 @@ class MORPHEUS_EXPORT MonitorStage : public mrc::pymrc::PythonNode m_monitor_controller; - }; /****** MonitorStageInterfaceProxy******************/ diff --git a/python/morpheus/morpheus/_lib/include/morpheus/stages/monitor_controller.hpp b/python/morpheus/morpheus/_lib/include/morpheus/stages/monitor_controller.hpp index 3bbeaca498..274311114d 100644 --- a/python/morpheus/morpheus/_lib/include/morpheus/stages/monitor_controller.hpp +++ b/python/morpheus/morpheus/_lib/include/morpheus/stages/monitor_controller.hpp @@ -1,3 +1,20 @@ +/* + * SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once #include diff --git a/python/morpheus/morpheus/_lib/src/stages/monitor.cpp b/python/morpheus/morpheus/_lib/src/stages/monitor.cpp index a8fc84a286..ba5efa4be9 100644 --- a/python/morpheus/morpheus/_lib/src/stages/monitor.cpp +++ b/python/morpheus/morpheus/_lib/src/stages/monitor.cpp @@ -1,3 +1,20 @@ +/* + * SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "morpheus/stages/monitor.hpp" namespace morpheus { diff --git a/python/morpheus/morpheus/_lib/src/stages/monitor_controller.cpp b/python/morpheus/morpheus/_lib/src/stages/monitor_controller.cpp index 5f8d0a1808..efff7a4547 100644 --- a/python/morpheus/morpheus/_lib/src/stages/monitor_controller.cpp +++ b/python/morpheus/morpheus/_lib/src/stages/monitor_controller.cpp @@ -1,3 +1,20 @@ +/* + * SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "morpheus/stages/monitor_controller.hpp" #include "indicators/setting.hpp"