Share

AcRxArxApp

Class Hierarchy

AcRxDbxApp
    AcRxArxApp

C++

class AcRxArxApp : public AcRxDbxApp;

File

arxEntryPoint.h

Description

This class is used for registering/unregistering ARX and ADS commands, as well as creating the Dynamic Property Manager singleton instance. It is derived from AcRxDbxApp and defines an application class which can replace the standard acrxEntryPoint() and manage new ARX classes, RTTI registration, and ARX/ADS commands automatically for your application.

This class is used by the ObjectARX Wizards, but can be used by anyone who wants to objectify the ARX entrypoint similar to the implementation of theOMF AecAppArx or AecAppDbx classes. Code regarding the registering of ARX classes and commands can also be simplified.

New ARX commands are registered by using the ACED_ARXCOMMAND_ENTRYBYID_AUTO(classname, group, globCmd, locCmdId, cmdFlags, UIContext) macro; ADS symbols by using the ACED_ADSSYMBOL_ENTRYBYID_AUTO(classname, name, nameId, regFunc) macro; and ADS commands by using the ACED_ADSCOMMAND_ENTRYBYID_AUTO(classname, name, nameId, regFunc) macro.

Remarks

Each of the macros need to be processed only once.

Links

AcRxArxApp Methods

Was this information helpful?