Creates a DOF instance that uses the specified configuration.
- Limitations:
- The C OAL currently supports only a single DOF per process. The DOF_Create function returns
NULL
if a DOF instance has already been created.
- Resource Management:
- This function allocates resources that must later be freed by calling DOF_Destroy.
- Parameters
-
config | An instance of DOFConfig, which represents a source of configuration parameters for the DOF. Use DOFConfigBuilder to create an instance of DOFConfig. You may pass a NULL argument to use the default configuration. |
- Returns
- An instance of DOF.
- Exceptions
-
NULL | is returned if a DOF instance could not be created for any reason, including that invalid arguments were used in the configuration. |
- See Also
- DOF_Destroy
-
DOF_Init