| 513 | } |
| 514 | |
| 515 | IPluginV2Ext* GridAnchorBasePluginCreator::deserializePlugin( |
| 516 | char const* name, void const* serialData, size_t serialLength) noexcept |
| 517 | { |
| 518 | try |
| 519 | { |
| 520 | // This object will be deleted when the network is destroyed, which will |
| 521 | // call GridAnchor::destroy() |
| 522 | GridAnchorGenerator* obj = new GridAnchorGenerator(serialData, serialLength, mPluginName.c_str()); |
| 523 | obj->setPluginNamespace(mNamespace.c_str()); |
| 524 | return obj; |
| 525 | } |
| 526 | catch (std::exception const& e) |
| 527 | { |
| 528 | caughtError(e); |
| 529 | } |
| 530 | return nullptr; |
| 531 | } |
| 532 | |
| 533 | GridAnchorPluginCreator::GridAnchorPluginCreator() |
| 534 | { |
nothing calls this directly
no test coverage detected