| 266 | { |
| 267 | public: |
| 268 | SharedFunction(ThrowStatusWrapper* status, Engine* aEngine, IExternalContext* context, |
| 269 | IRoutineMetadata* aMetadata, |
| 270 | IMetadataBuilder* inBuilder, IMetadataBuilder* outBuilder) |
| 271 | : engine(aEngine), |
| 272 | metadata(aMetadata), |
| 273 | moduleName(*getDefaultMemoryPool()), |
| 274 | entryPoint(*getDefaultMemoryPool()), |
| 275 | info(*getDefaultMemoryPool()), |
| 276 | children(*getDefaultMemoryPool()) |
| 277 | { |
| 278 | module = engine->loadModule(status, metadata, &moduleName, &entryPoint); |
| 279 | |
| 280 | IUdrFunctionFactory* factory = engine->findNode<IUdrFunctionFactory>( |
| 281 | status, module->functionsMap, entryPoint); |
| 282 | |
| 283 | factory->setup(status, context, metadata, inBuilder, outBuilder); |
| 284 | } |
| 285 | |
| 286 | ~SharedFunction() |
| 287 | { |
nothing calls this directly
no test coverage detected