CORESENSE4home_Architecture
Loading...
Searching...
No Matches
Coupling.hpp
Go to the documentation of this file.
1// Copyright 2024 Intelligent Robotics Lab
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#ifndef CS4HOME_CORE__COUPLING_HPP_
16#define CS4HOME_CORE__COUPLING_HPP_
17
18#include "rclcpp_lifecycle/lifecycle_node.hpp"
19#include "rclcpp/macros.hpp"
20
21namespace cs4home_core
22{
23
30{
31public:
32 RCLCPP_SMART_PTR_DEFINITIONS(Coupling)
33
34
38 explicit Coupling(rclcpp_lifecycle::LifecycleNode::SharedPtr parent);
39
44 bool configure();
45
46protected:
48 rclcpp_lifecycle::LifecycleNode::SharedPtr parent_;
49};
50
51} // namespace cs4home_core
52
53#endif // CS4HOME_CORE__COUPLING_HPP_
Coupling(rclcpp_lifecycle::LifecycleNode::SharedPtr parent)
Constructs a Coupling object associated with a parent lifecycle node.
Definition Coupling.cpp:24
rclcpp_lifecycle::LifecycleNode::SharedPtr parent_
< Shared pointer to the parent lifecycle node.
Definition Coupling.hpp:48
bool configure()
Configures the Coupling component.
Definition Coupling.cpp:34
Definition Afferent.hpp:32