libRoadRunner Plugin C++ API  1.0.0
 All Classes Files Functions Variables Friends Pages
rrCPlugin.h
Go to the documentation of this file.
1 
41 #ifndef rrCPluginH
42 #define rrCPluginH
43 #include "rrPlugin.h"
44 //---------------------------------------------------------------------------
45 
46 namespace rrp
47 {
48 
52 typedef bool (*executeF)(bool);
53 
57 typedef bool (*destroyF)();
58 
63 class PLUGINS_API_DECLSPEC CPlugin : public Plugin
64 {
65  friend PluginManager;
66  public:
68  CPlugin(const string& name, const string& cat = gNoneString,
69  RoadRunner* aRR = NULL);
70 
72  virtual ~CPlugin();
73  string getImplementationLanguage();
74  virtual bool execute(bool useThread = false);
75 
76  protected:
77 
82  executeF executeFunction;
83 
88  destroyF destroyFunction;
89 
90 };
91 
92 }
93 #endif
Definition: rrPlugin.h:94
RoadRunner plugin implementation.
Definition: rrPluginManager.h:79
Definition: rrCPlugin.h:63
destroyF destroyFunction
Definition: rrCPlugin.h:88
executeF executeFunction
Definition: rrCPlugin.h:82