00001 #ifndef IGUANA_FRAMEWORK_IG_PLUGIN_LOADER_H 00002 # define IGUANA_FRAMEWORK_IG_PLUGIN_LOADER_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "Iguana/Framework/interface/IgStateElement.h" 00007 # include <string> 00008 00009 //<<<<<< PUBLIC DEFINES >>>>>> 00010 //<<<<<< PUBLIC CONSTANTS >>>>>> 00011 //<<<<<< PUBLIC TYPES >>>>>> 00012 00013 class IgState; 00014 00015 //<<<<<< PUBLIC VARIABLES >>>>>> 00016 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00017 //<<<<<< CLASS DECLARATIONS >>>>>> 00018 00019 class IGUANA_FRAMEWORK_API IgPluginLoader : public IgStateElement 00020 { 00021 IG_DECLARE_STATE_ELEMENT (IgPluginLoader); 00022 public: 00023 IgPluginLoader (IgState *in); 00024 // implicit copy constructor 00025 // implicit assignment operator 00026 // implicit destructor 00027 00028 virtual void load (const std::string &name, 00029 bool prefix = false); 00030 virtual void load (IgState *state, 00031 const std::string &name, 00032 bool prefix = false); 00033 00034 private: 00035 IgState *m_state; //< State object. 00036 }; 00037 00038 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00039 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00040 00041 #endif // IGUANA_FRAMEWORK_IG_PLUGIN_LOADER_H