C++
#define acrxKernel \ AcRxKernel::cast(AcRxDictionary::cast(\ acrxSysRegistry()->at(ACRX_SERVICE_DICTIONARY))->at(ACRX_KERNEL_SERVICES))
File
rxkernel.h
Description
The acrxKernel macro provides a pointer to the ObjectARX system kernel object. Normally this macro is not used by ObjectARX applications.
The actual definition of the macro is as follows.
#define ACRX_KERNEL_SERVICES "KernelServices" #define ACRX_SERVICE_DICTIONARY "ServiceDictionary" #define acrxKernel AcRxKernel::cast(AcRxDictionary::cast( acrxSysRegistry()->at(ACRX_SERVICE_DICTIONARY))->at(ACRX_KERNEL_SERVICES))
An example of using this macro is:
acrxKernel-> newAcRxDictionary();