CFx SDK Documentation  2022 SP0
Classes | Namespaces | Typedefs | Functions
BcfModule.h File Reference
#include "OdPlatformSettings.h"
#include "IfcBuildOptions.h"
#include "RxModule.h"
#include "SmartPtr.h"

Go to the source code of this file.

Classes

class  OdBcf::OdBcfModule
 

Namespaces

 OdBcf
 

Typedefs

typedef OdSmartPtr< OdBcfModule > OdBcf::OdBcfModulePtr
 

Functions

BCF_EXPORT OdResult odBcfInitialize ()
 
BCF_EXPORT OdResult odBcfUninitialize ()
 

Function Documentation

◆ odBcfInitialize()

BCF_EXPORT OdResult odBcfInitialize ( )

Initializes BCF SDK functionality.

Returns
Returns eOk if BCF SDK was successfully initialized; otherwise, the function returns an appropriate error code.
Remarks
The function checks whether all needed modules are loaded and loads them if they are not. If at least one of the necessary modules is not loaded, the function returns the eNullPtr error code.

◆ odBcfUninitialize()

BCF_EXPORT OdResult odBcfUninitialize ( )

De-initializes BCF SDK functionality.

Returns
Returns eOk if BCF SDK was successfully de-initialized; otherwise, the function returns an appropriate error code.
Remarks
The function checks whether the needed modules are loaded and decreases the reference counters for them. If a reference counter for any appropriate module becomes equal to zero, the function unloads the module. If no BCF-related modules are loaded, the function returns the eNullPtr error code.