CameraSensorDefines.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2017 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *   http://www.apache.org/licenses/LICENSE-2.0
00009 
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */ 
00016  
00017 
00018 // The following defines are used to determine which camera driver have been compiled 
00019 // and are therefore available
00020 
00021 #ifndef __IPA_CAMERASENSORDEFINES_H__
00022 #define __IPA_CAMERASENSORDEFINES_H__
00023 
00024 namespace ipa_CameraSensors {
00025 
00026 #if defined _MSC_VER && _MSC_VER >= 1200
00027     // disable warnings related to inline functions
00028     #pragma warning( disable: 4251 4275)
00029 #endif
00030 
00032 #ifdef __LINUX__
00033         #define __DLL_LIBCAMERASENSORS__ 
00034         #define APIENTRY
00035 #else
00036         #ifdef __LIBCAMERASENSORS_EXPORT__
00037                 #define __DLL_LIBCAMERASENSORS__ __declspec(dllexport)
00038         #else
00039                 #define __DLL_LIBCAMERASENSORS__ __declspec(dllimport)
00040         #endif
00041 #endif
00042 
00043 } // namespace ipa_CameraSensors
00044 
00045 #endif // __IPA_CAMERASENSORDEFINES_H__


cob_vision_utils
Author(s): Jan Fischer
autogenerated on Fri Mar 15 2019 03:10:16