sas
Modularised monitoring, logging, and control of robots.
Loading...
Searching...
No Matches
sas_object.hpp
Go to the documentation of this file.
1#pragma once
2/*
3# Copyright (c) 2022-2023 Murilo Marques Marinho
4#
5# This file is part of sas_core.
6#
7# sas_core is free software: you can redistribute it and/or modify
8# it under the terms of the GNU Lesser General Public License as published by
9# the Free Software Foundation, either version 3 of the License, or
10# (at your option) any later version.
11#
12# sas_core is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU Lesser General Public License for more details.
16#
17# You should have received a copy of the GNU Lesser General Public License
18# along with sas_core. If not, see <https://www.gnu.org/licenses/>.
19#
20# ################################################################
21#
22# Author: Murilo M. Marinho, email: murilomarinho@ieee.org
23#
24# ################################################################*/
25
34#include <string>
35
36namespace sas
37{
38class Object
39{
40protected:
41 const std::string class_name_;
42 void _print_license_header(const std::string& class_name);
43 Object(const std::string& class_name);
44public:
45 Object() = delete;
50 std::string get_class_name() const;
51};
52}
Definition sas_object.hpp:39
void _print_license_header(const std::string &class_name)
Object::_print_license_header A Copyright header to help enforce LGPLv3 compliance.
Definition sas_object.cpp:37
std::string get_class_name() const
Get the class name identifier.
Definition sas_object.cpp:58