17 #include <fletcher/common.h>
18 #include <cerata/api.h>
29 cerata::Port::Dir
mode2dir(fletcher::Mode mode);
40 std::string
const &message,
41 char const *source_function,
42 char const *source_file,
46 constexpr
char DEFAULT_NOTICE[] =
"-- Copyright 2018-2019 Delft University of Technology\n"
48 "-- Licensed under the Apache License, Version 2.0 (the \"License\");\n"
49 "-- you may not use this file except in compliance with the License.\n"
50 "-- You may obtain a copy of the License at\n"
52 "-- http://www.apache.org/licenses/LICENSE-2.0\n"
54 "-- Unless required by applicable law or agreed to in writing, software\n"
55 "-- distributed under the License is distributed on an \"AS IS\" BASIS,\n"
56 "-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n"
57 "-- See the License for the specific language governing permissions and\n"
58 "-- limitations under the License.\n"
60 "-- This file was generated by Fletchgen. Modify this file at your own risk.\n"
Contains all classes and functions related to Fletchgen.
void LogCerata(cerata::LogLevel level, std::string const &message, char const *source_function, char const *source_file, int line_number)
Callback function for the Cerata logger.
constexpr char DEFAULT_NOTICE[]
Default copyright notice.
std::string GetProgramName(char *argv0)
Return the name of this program executable.
std::string version()
Return Fletchgen version string.
cerata::Port::Dir mode2dir(fletcher::Mode mode)
Return a Cerata port direction from a Fletcher access mode.