libRoadRunner Plugin C API  1.0.0
Plugin Framework for libRoadRunner
 All Data Structures Files Functions Variables Typedefs Groups Pages
rrp_cpp_support.h
Go to the documentation of this file.
1 
44 #ifndef rrp_cpp_supportH
45 #define rrp_cpp_supportH
46 #include "rrp_api.h"
47 #include "rrRoadRunnerData.h"
48 namespace rrp
49 {
50 template <class T>
51 class Parameter;
52 class Parameters;
53 class PluginParameter;
54 class Plugin;
55 class PluginManager;
56 
57 
64 PluginManager* castToPluginManager(RRPluginManagerHandle handle);
65 
72 Plugin* castToPlugin(RRPluginHandle handle);
73 
80 Parameters* castToParameters(RRParametersHandle handle);
81 
88 PluginParameter* castToParameter(RRParameterHandle handle);
89 
96 Parameter< bool >* castToBoolParameter(RRParameterHandle handle);
97 
104 Parameter< int >* castToIntParameter(RRParameterHandle handle);
105 
112 Parameter<double>* castToDoubleParameter(RRParameterHandle handle);
113 
120 Parameter<string>* castToStringParameter(RRParameterHandle handle);
121 
128 Parameter<Parameters>* castToParametersParameter(RRParameterHandle handle);
129 
136 rr::RoadRunnerData* castToRoadRunnerData(RRParameterHandle handle);
137 
146 Parameter<rr::RoadRunnerData*>* castToRoadRunnerDataParameter(RRParameterHandle handle);
147 
148 //Result data
155 RRCDataPtr createRRCData(const rr::RoadRunnerData& result);
156 
157 }
158 
159 #endif
void * RRParametersHandle
Void pointer to a RRParameters instance (Container for parameters)
Definition: rrp_types.h:66
void * RRPluginHandle
Void pointer to a Plugin instance.
Definition: rrp_types.h:60
void * RRPluginManagerHandle
Void pointer to a PluginManager instance.
Definition: rrp_types.h:57
Definition: rrp_cpp_support.h:51
void * RRParameterHandle
Void pointer to a Parameter instance.
Definition: rrp_types.h:63
Plugins Core C-API Header.
RRCDataPtr createRRCData(RRDataHandle rrDataHandle)
Create a RoadRunner C data structure (RRCDataPtr) from RoadRunner data.
Definition: rrp_api.cpp:381