Main Page
Namespaces
Files
File List
File Members
src
tracetools
status.cpp
Go to the documentation of this file.
1
// Copyright (c) 2016, 2017 - for information on the respective
2
// copyright owner see the NOTICE file and/or the repository
3
// https://github.com/bosch-robotics-cr/tracetools.git
4
//
5
// Licensed under the Apache License, Version 2.0 (the "License");
6
// you may not use this file except in compliance with the License.
7
// You may obtain a copy of the License at
8
//
9
// http://www.apache.org/licenses/LICENSE-2.0
10
//
11
// Unless required by applicable law or agreed to in writing, software
12
// distributed under the License is distributed on an "AS IS" BASIS,
13
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
// See the License for the specific language governing permissions and
15
// limitations under the License.
16
17
18
#include <
tracetools/tracetools.h
>
19
#include <iostream>
20
21
int
main
(
int
,
char
**)
22
{
23
std::cout << (
ros::trace::compile_status
() ?
"Tracing enabled"
:
24
"Tracing disabled"
) << std::endl;
25
}
tracetools.h
ros::trace::compile_status
bool compile_status()
report whether tracing is compiled in
Definition:
tracetools.cpp:29
main
int main(int, char **)
Definition:
status.cpp:21
tracetools
Author(s): Ingo Luetkebohle
autogenerated on Wed Dec 18 2019 03:54:24