Main Page
Namespaces
Classes
Files
File List
File Members
tango_nodelet_manager
src
main
jni
include
tango_helper.h
Go to the documentation of this file.
1
// Copyright 2016 Intermodalics All Rights Reserved.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
#include <jni.h>
15
16
// Helper functions that need to be separated from the tango_ros_native package to get rid of the
17
// jni dependency, so that the tango_ros_native package can be used for Android and Linux.
18
namespace
tango_helper
{
19
// The minimum Tango Core version required from this application.
20
const
int
TANGO_CORE_MINIMUM_VERSION
= 11926;
// Yildun release.
21
22
// Checks the installed version of the TangoCore. If it is too old, then
23
// it will not support the most up to date features.
24
// @return returns true if tango version if supported.
25
bool
IsTangoVersionOk
(JNIEnv* env, jobject activity);
26
// Binds to the tango service.
27
// @return returns true if setting the binder ended successfully.
28
bool
SetBinder
(JNIEnv* env, jobject binder);
29
}
// tango_helper
30
tango_helper::IsTangoVersionOk
bool IsTangoVersionOk(JNIEnv *env, jobject activity)
Definition:
tango_helper.cc:21
tango_helper::SetBinder
bool SetBinder(JNIEnv *env, jobject binder)
Definition:
tango_helper.cc:33
tango_helper::TANGO_CORE_MINIMUM_VERSION
const int TANGO_CORE_MINIMUM_VERSION
Definition:
tango_helper.h:20
tango_helper
Definition:
tango_helper.h:18
TangoRosStreamer
Author(s):
autogenerated on Mon Jun 10 2019 15:37:54