Last change
on this file since 209 was
186,
checked in by Torben Dannhauer, 14 years ago
|
XML configuration now works also with dataIO extLink
|
File size:
1.6 KB
|
Line | |
---|
1 | #pragma once |
---|
2 | /* -*-c++-*- osgVisual - Copyright (C) 2009-2010 Torben Dannhauer |
---|
3 | * |
---|
4 | * This library is based on OpenSceneGraph, open source and may be redistributed and/or modified under |
---|
5 | * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or |
---|
6 | * (at your option) any later version. The full license is in LICENSE file |
---|
7 | * included with this distribution, and on the openscenegraph.org website. |
---|
8 | * |
---|
9 | * osgVisual requires for some proprietary modules a license from the correspondig manufacturer. |
---|
10 | * You have to aquire licenses for all used proprietary modules. |
---|
11 | * |
---|
12 | * This library is distributed in the hope that it will be useful, |
---|
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
15 | * OpenSceneGraph Public License for more details. |
---|
16 | */ |
---|
17 | |
---|
18 | #include <dataIO_extLink.h> |
---|
19 | #include <osg/Notify> |
---|
20 | #include <vector> |
---|
21 | |
---|
22 | namespace osgVisual |
---|
23 | { |
---|
24 | |
---|
25 | /** |
---|
26 | * \brief This class is a dummy class for the externalLink. |
---|
27 | * |
---|
28 | * All functions which are called always return true and send a debug string to stdout to announce that they were called. |
---|
29 | * |
---|
30 | * @author Torben Dannhauer |
---|
31 | * @date Sep 2009 |
---|
32 | */ |
---|
33 | class dataIO_extLinkDummy : public dataIO_extLink |
---|
34 | { |
---|
35 | public: |
---|
36 | dataIO_extLinkDummy(std::vector<dataIO_slot *>& dataSlots_); |
---|
37 | virtual ~dataIO_extLinkDummy(void); |
---|
38 | |
---|
39 | bool processXMLConfiguration(xmlNode* extLinkConfig_); |
---|
40 | bool init(xmlNode* configurationNode); |
---|
41 | void shutdown(); |
---|
42 | |
---|
43 | bool readTO_OBJvalues(); |
---|
44 | bool writebackFROM_OBJvalues(); |
---|
45 | void provideSlots(); |
---|
46 | }; |
---|
47 | |
---|
48 | } // END NAMESPACE |
---|
Note: See
TracBrowser
for help on using the repository browser.