source: osgVisual/trunk/src/dataIO/dataIO_executer.cpp @ 417

Last change on this file since 417 was 221, checked in by Torben Dannhauer, 14 years ago

Updated copyright NOTICE
(No code changes)

File size: 1.7 KB
Line 
1/* -*-c++-*- osgVisual - Copyright (C) 2009-2011 Torben Dannhauer
2 *
3 * This library is based on OpenSceneGraph, open source and may be redistributed and/or modified under
4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5 * (at your option) any later version.  The full license is in LICENSE file
6 * included with this distribution, and on the openscenegraph.org website.
7 *
8 * osgVisual requires for some proprietary modules a license from the correspondig manufacturer.
9 * You have to aquire licenses for all used proprietary modules.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * OpenSceneGraph Public License for more details.
15*/
16
17#include "dataIO_executer.h"
18
19REGISTER_OBJECT_WRAPPER( dataIO_executer,                 // The unique wrapper name
20                                                new osgVisual::dataIO_executer,             // The proto
21                         osgVisual::dataIO_executer,                 // The class typename
22                                                 "osg::Node osgVisual::dataIO_executer" )  // The inheritance relations
23{
24    // Serializers for different members   
25        BEGIN_ENUM_SERIALIZER( executerID, DO_NOTHING );
26                ADD_ENUM_VALUE( GET_HAT );
27                ADD_ENUM_VALUE( GET_HOT );
28                ADD_ENUM_VALUE( GET_LAT );
29                ADD_ENUM_VALUE( GET_LON );
30                ADD_ENUM_VALUE( IS_COLLISION );
31                ADD_ENUM_VALUE( IS_INSIDE_CLOUD );
32                ADD_ENUM_VALUE( IS_WIND );
33                ADD_ENUM_VALUE( IS_PRECIPITATION );
34                ADD_ENUM_VALUE( DO_NOTHING );
35                END_ENUM_SERIALIZER();
36                ADD_LIST_SERIALIZER( DoubleParameter, osgVisual::dataIO_executer::parameterList );
37        ADD_STRING_SERIALIZER( StringParameter, "" );   
38}
Note: See TracBrowser for help on using the repository browser.