OpenIG  2.0.4
cross-platform open-source OpenSceneGraph Image Generator
PluginOperation.h
1 //#******************************************************************************
2 //#*
3 //#* Copyright (C) 2015 Compro Computer Services
4 //#* http://openig.compro.net
5 //#*
6 //#* Source available at: https://github.com/CCSI-CSSI/MuseOpenIG
7 //#*
8 //#* This software is released under the LGPL.
9 //#*
10 //#* This software is free software; you can redistribute it and/or modify
11 //#* it under the terms of the GNU Lesser General Public License as published
12 //#* by the Free Software Foundation; either version 2.1 of the License, or
13 //#* (at your option) any later version.
14 //#*
15 //#* This software is distributed in the hope that it will be useful,
16 //#* but WITHOUT ANY WARRANTY; without even the implied warranty of
17 //#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
18 //#* the GNU Lesser General Public License for more details.
19 //#*
20 //#* You should have received a copy of the GNU Lesser General Public License
21 //#* along with this library; if not, write to the Free Software
22 //#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 //#*
24 //#* Please direct any questions or comments to the OpenIG Forums
25 //#* Email address: openig@compro.net
26 //#*
27 //#*
28 //#* Please direct any questions or comments to the OpenIG Forums
29 //#* Email address: openig@compro.net
30 //#*
31 //#*
32 //#*****************************************************************************
33 #ifndef PLUGINOPERATION_H
34 #define PLUGINOPERATION_H
35 
36 #if defined(OPENIG_SDK)
37  #include <OpenIG-PluginBase/Export.h>
38  #include <OpenIG-PluginBase/Plugin.h>
39 #else
40  #include <Core-PluginBase/Export.h>
41  #include <Core-PluginBase/Plugin.h>
42 #endif
43 
44 #include <osg/Referenced>
45 
46 namespace OpenIG {
47  namespace PluginBase {
48 
71  class IGPLUGINCORE_EXPORT PluginOperation : public osg::Referenced
72  {
73  public:
81  : osg::Referenced() {}
82 
90  virtual void apply(OpenIG::PluginBase::Plugin* plugin) = 0;
91  };
92  }
93 } // namespace
94 
95 #endif // PLUGINOPERATION_H
Definition: ImageGenerator.h:62
The PluginOperation class.
Definition: PluginOperation.h:71
PluginOperation()
Constructor.
Definition: PluginOperation.h:80
The Plugin class.
Definition: Plugin.h:134