Usage: you must use this class as is. You should never derive it.
public class CATPLMUpdateFactory
Factory class exposing a static method to create a PLMUpdate Engine.
Role: Expose a static method allowing the creation of
a PLMUpdate engine. Do not forget that only one PLMUpdate engine
can be used at each time.
CATIPLMUpdateEngine* engine = NULL;
HRESULT rc = CATPLMUpdateFactory::InstantiateUpdateEngine(engine);
if (S_OK == rc && (engine != NULL))
{
// Init and use your engine.
// ...
// Do not forget to release it:
engine->Release();
engine = NULL;
}
| public static InstantiateUpdateEngine( | oUpdateEngine) |
S_OK if everything ran ok,
E_UNEXPECTED if a serious error occured.
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.