DescriptionMessageCallbackInterface Class Reference

#include <descriptionmessagecallback.h>

Inheritance diagram for DescriptionMessageCallbackInterface:

Detailed Description

Implement this interface to receive the AMEmulator DescriptionMessageCallbackType callbacks from C4DCoreWrapperInterface implementation.

Public Member Functions

MAXON_METHOD Result< Tuple< Bool, Bool > > DescriptionMessage (const InternedId &id, const Id &cmdId, Int32 type, void *data)
 

Private Member Functions

 MAXON_INTERFACE (DescriptionMessageCallbackInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.descriptionmessagecallback", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel"))
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( DescriptionMessageCallbackInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.interface.descriptionmessagecallback"  ,
MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")   
)
private

◆ DescriptionMessage()

MAXON_METHOD Result<Tuple<Bool, Bool> > DescriptionMessage ( const InternedId id,
const Id cmdId,
Int32  type,
void *  data 
)

Callback function called by a C4dCoreWrapperObject on references that implement DescriptionMessageCallbackInterface. It allows receiving commands callbacks from the attribute manager emulation code.

Parameters
[in]idThe object's id.
[in]cmdIdThe command's id.
[in]typeMessage type.
[in]dataThe legacy message data.
Returns
Tuple<Bool HANDLED, Bool RES_VALUE_IF_HANDLED>.