test_utils.h
Go to the documentation of this file.
1 /*+-------------------------------------------------------------------------+
2  | MultiVehicle simulator (libmvsim) |
3  | |
4  | Copyright (C) 2014-2023 Jose Luis Blanco Claraco |
5  | Copyright (C) 2017 Borys Tymchenko (Odessa Polytechnic University) |
6  | Distributed under 3-clause BSD License |
7  | See COPYING |
8  +-------------------------------------------------------------------------+ */
9 
10 #pragma once
11 
12 #include <mrpt/version.h>
13 #include <mrpt/system/os.h>
14 
15 static inline void setConsoleErrorColor()
16 {
17  mrpt::system::consoleColorAndStyle(
18  mrpt::system::ConsoleForegroundColor::RED);
19 }
20 
21 static inline void setConsoleNormalColor()
22 {
23  mrpt::system::consoleColorAndStyle(
24  mrpt::system::ConsoleForegroundColor::DEFAULT);
25 }
26 
27 static inline void setConsoleBlueColor()
28 {
29  mrpt::system::consoleColorAndStyle(
30  mrpt::system::ConsoleForegroundColor::BLUE);
31 }
static void setConsoleNormalColor()
Definition: test_utils.h:21
static void setConsoleErrorColor()
Definition: test_utils.h:15
static void setConsoleBlueColor()
Definition: test_utils.h:27


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:21