HMSBEAGLE  1.0.0
libhmsbeagle/CPU/BeagleCPUOpenMPPlugin.h
00001 
00008 #ifndef __BEAGLE_CPU_OPENMP_PLUGIN_H__
00009 #define __BEAGLE_CPU_OPENMP_PLUGIN_H__
00010 
00011 #ifdef HAVE_CONFIG_H
00012 #include "libhmsbeagle/config.h"
00013 #endif
00014 
00015 #include "libhmsbeagle/platform.h"
00016 #include "libhmsbeagle/plugin/Plugin.h"
00017 
00018 namespace beagle {
00019 namespace cpu {
00020 
00021 /*
00022  * An OpenMP plugin based on the standard CPU plugin
00023  * This plugin uses all the same code as the CPU plugin, but should be built with
00024  * OpenMP enabled
00025  */
00026 class BEAGLE_DLLEXPORT BeagleCPUOpenMPPlugin : public beagle::plugin::Plugin
00027 {
00028 public:
00029         BeagleCPUOpenMPPlugin();
00030 private:
00031         BeagleCPUOpenMPPlugin( const BeagleCPUOpenMPPlugin& cp );       // disallow copy by defining this private
00032 };
00033 
00034 } // namespace cpu
00035 } // namespace beagle
00036 
00037 extern "C" {
00038         BEAGLE_DLLEXPORT void* plugin_init(void);
00039 }
00040 
00041 #endif  // __BEAGLE_CPU_OPENMP_PLUGIN_H__
00042 
00043