SDK Resources > C++ CIM Framework API > C++ CimFramework Classes

C++ CimFramework Classes

The C++ CimFramework classes support both strong typing and no a priori typing. The generated classes based on the MOFs supported by Intel AMT inherit from the CimBase abstract class. The generated classes implement strong typing as the C++ compiler validates their correct use. The members of the generated classes send or receive data by creating an instance of CimObject and invoking its methods. CimObject converts the data in the object to and from elements in the XML document contained in CimData. The object under consideration is maintained internally as the XML document.

The C++ CimFramework supports applications that do not depend on strong typing as an application can create instances of CimObject directly, providing the class and field names as strings. Of course, invalid requests may result in runtime errors.

The only class that a developer uses directly is CimBase (via a generated class inheriting from it).

The figure shows the relationship between the classes. CIM_ManagedElement and CIM_ManagedSystemElement are examples of generated C++ classes that inherit from CimBase and are based on their defining MOFs.

Untyped applications use the CimObject and CimParam classes directly.

See Also:

   CimBase

   CimObject

   CimParam

   CimData

 

Copyright © 2006-2022, Intel Corporation. All rights reserved.