#pragma once /* -*-c++-*- osgVisual - Copyright (C) 2009-2010 Torben Dannhauer * * This library is based on OpenSceneGraph, open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with this distribution, and on the openscenegraph.org website. * * osgVisual requires for some proprietary modules a license from the correspondig manufacturer. * You have to aquire licenses for all used proprietary modules. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * OpenSceneGraph Public License for more details. */ #include #include #include #include // VCL //// To keep the VS 2005 Solution file clean from VCL dependencies: Link dependencies here: #ifndef _DEBUG #pragma comment ( lib, "../VCL_1.0.3.4/source/3rdParty/expatpp/lib/releasemtdll/libexpatMT.lib" ) #pragma comment ( lib, "../VCL_1.0.3.4/source/3rdParty/expatpp/lib/releasemtdll/expatpp.lib" ) #pragma comment ( lib, "../VCL_1.0.3.4/source/lib/VCL1_34.lib" ) #endif #ifdef _DEBUG #pragma comment ( lib, "../VCL_1.0.3.4/source/3rdParty/expatpp/lib/debugmtdll/libexpatMT_d.lib" ) #pragma comment ( lib, "../VCL_1.0.3.4/source/3rdParty/expatpp/lib/debugmtdll/expatpp_d.lib" ) #pragma comment ( lib, "../VCL_1.0.3.4/source/lib/VCL1_34D.lib" ) #endif //// include VCL header #ifdef WIN32 #include #endif #include "VCLDefinitions.h" #include "VCLIO.h" #include "VCLIOChannel.h" #include "VCLIOChannelEntry.h" #include "VCLVariable.h" #include "VCLSocketDefs.h" #include #include "stdlib.h" #include namespace osgVisual { /** * \brief This class is a VCL-based implementation of the externalLink. * * @author Torben Dannhauer * @date Nov 2009 */ class dataIO_extLinkVCL : public dataIO_extLink { public: dataIO_extLinkVCL(std::vector& dataSlots_); virtual ~dataIO_extLinkVCL(void); void init(); void shutdown(); bool readTO_OBJvalues(); bool writebackFROM_OBJvalues(); private: CVCLVariable SAENGER1_POS_LAT; CVCLVariable SAENGER1_POS_LON; CVCLVariable SAENGER1_POS_ALT; CVCLVariable SAENGER1_ROT_X; CVCLVariable SAENGER1_ROT_Y; CVCLVariable SAENGER1_ROT_Z; CVCLVariable SAENGER2_POS_LAT; CVCLVariable SAENGER2_POS_LON; CVCLVariable SAENGER2_POS_ALT; CVCLVariable SAENGER2_ROT_X; CVCLVariable SAENGER2_ROT_Y; CVCLVariable SAENGER2_ROT_Z; CVCLVariable SAENGER_POS_LAT; CVCLVariable SAENGER_POS_LON; CVCLVariable SAENGER_POS_ALT; CVCLVariable SAENGER_ROT_X; CVCLVariable SAENGER_ROT_Y; CVCLVariable SAENGER_ROT_Z; }; } // END NAMESPACE