GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: src/contacts/contact-base.cpp Lines: 0 4 0.0 %
Date: 2024-05-10 01:36:27 Branches: 0 0 - %

Line Branch Exec Source
1
//
2
// Copyright (c) 2017 CNRS
3
//
4
// This file is part of tsid
5
// tsid is free software: you can redistribute it
6
// and/or modify it under the terms of the GNU Lesser General Public
7
// License as published by the Free Software Foundation, either version
8
// 3 of the License, or (at your option) any later version.
9
// tsid is distributed in the hope that it will be
10
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
11
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
// General Lesser Public License for more details. You should have
13
// received a copy of the GNU Lesser General Public License along with
14
// tsid If not, see
15
// <http://www.gnu.org/licenses/>.
16
//
17
18
#include "tsid/contacts/contact-base.hpp"
19
20
namespace tsid {
21
namespace contacts {
22
ContactBase::ContactBase(const std::string& name, RobotWrapper& robot)
23
    : m_name(name), m_robot(robot) {}
24
25
const std::string& ContactBase::name() const { return m_name; }
26
27
void ContactBase::name(const std::string& name) { m_name = name; }
28
29
}  // namespace contacts
30
}  // namespace tsid