test_utils.h
Go to the documentation of this file.
1 /*+-------------------------------------------------------------------------+
2  | MultiVehicle simulator (libmvsim) |
3  | |
4  | Copyright (C) 2014-2024 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/system/os.h>
13 #include <mrpt/version.h>
14 
15 static inline void setConsoleErrorColor()
16 {
17  mrpt::system::consoleColorAndStyle(mrpt::system::ConsoleForegroundColor::RED);
18 }
19 
20 static inline void setConsoleNormalColor()
21 {
22  mrpt::system::consoleColorAndStyle(mrpt::system::ConsoleForegroundColor::DEFAULT);
23 }
24 
25 static inline void setConsoleBlueColor()
26 {
27  mrpt::system::consoleColorAndStyle(mrpt::system::ConsoleForegroundColor::BLUE);
28 }
setConsoleErrorColor
static void setConsoleErrorColor()
Definition: test_utils.h:15
setConsoleNormalColor
static void setConsoleNormalColor()
Definition: test_utils.h:20
setConsoleBlueColor
static void setConsoleBlueColor()
Definition: test_utils.h:25


mvsim
Author(s):
autogenerated on Wed May 28 2025 02:13:08