SMACC2
Loading...
Searching...
No Matches
smacc2_client_library
cl_modbus_tcp_relay
src
cl_modbus_tcp_relay
cl_modbus_tcp_relay.cpp
Go to the documentation of this file.
1
// Copyright 2024 RobosoftAI Inc.
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
/*****************************************************************************************************************
16
*
17
* Authors: Pablo Inigo Blasco, Brett Aldrich
18
*
19
******************************************************************************************************************/
20
21
#include <
cl_modbus_tcp_relay/cl_modbus_tcp_relay.hpp
>
22
23
namespace
cl_modbus_tcp_relay
24
{
25
26
ClModbusTcpRelay::ClModbusTcpRelay
() {}
27
28
ClModbusTcpRelay::~ClModbusTcpRelay
() {}
29
30
void
ClModbusTcpRelay::onInitialize
()
31
{
32
// Components will be created here in Phase 2
33
RCLCPP_INFO(
getLogger
(),
"[ClModbusTcpRelay] Client initialized"
);
34
}
35
36
}
// namespace cl_modbus_tcp_relay
cl_modbus_tcp_relay.hpp
cl_modbus_tcp_relay::ClModbusTcpRelay::onInitialize
void onInitialize() override
Definition
cl_modbus_tcp_relay.cpp:30
cl_modbus_tcp_relay::ClModbusTcpRelay::~ClModbusTcpRelay
virtual ~ClModbusTcpRelay()
Definition
cl_modbus_tcp_relay.cpp:28
cl_modbus_tcp_relay::ClModbusTcpRelay::ClModbusTcpRelay
ClModbusTcpRelay()
Definition
cl_modbus_tcp_relay.cpp:26
smacc2::ISmaccClient::getLogger
rclcpp::Logger getLogger()
Definition
smacc_client.hpp:110
cl_modbus_tcp_relay
Definition
cl_modbus_tcp_relay.hpp:27
Generated by
1.12.0