OpenDOF Project
DOF DOF_Create ( DOFConfig  config)

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
configAn 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
NULLis 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
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22