| 328 | { |
| 329 | public: |
| 330 | SharedProcedure(ThrowStatusWrapper* status, Engine* aEngine, IExternalContext* context, |
| 331 | IRoutineMetadata* aMetadata, |
| 332 | IMetadataBuilder* inBuilder, IMetadataBuilder* outBuilder) |
| 333 | : engine(aEngine), |
| 334 | metadata(aMetadata), |
| 335 | moduleName(*getDefaultMemoryPool()), |
| 336 | entryPoint(*getDefaultMemoryPool()), |
| 337 | info(*getDefaultMemoryPool()), |
| 338 | children(*getDefaultMemoryPool()) |
| 339 | { |
| 340 | module = engine->loadModule(status, metadata, &moduleName, &entryPoint); |
| 341 | |
| 342 | IUdrProcedureFactory* factory = engine->findNode<IUdrProcedureFactory>( |
| 343 | status, module->proceduresMap, entryPoint); |
| 344 | |
| 345 | factory->setup(status, context, metadata, inBuilder, outBuilder); |
| 346 | } |
| 347 | |
| 348 | ~SharedProcedure() |
| 349 | { |
nothing calls this directly
no test coverage detected