LegacyCommandClassInterface Class Reference

#include <commandbase.h>

Inheritance diagram for LegacyCommandClassInterface:

Detailed Description

A legacy command interface that implements the ability to convert legacy data settings to regular settings.

Public Member Functions

MAXON_METHOD Result< void > ConvertSettings (LegacyCommandDataRef &data) const
 

Private Member Functions

 MAXON_INTERFACE (LegacyCommandClassInterface, MAXON_REFERENCE_CONST, "net.maxon.command.interface.legacycommand", MAXON_IMPLEMENTATION_MODULE("net.maxon.command"))
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( LegacyCommandClassInterface  ,
MAXON_REFERENCE_CONST  ,
"net.maxon.command.interface.legacycommand"  ,
MAXON_IMPLEMENTATION_MODULE("net.maxon.command")   
)
private

◆ ConvertSettings()

MAXON_METHOD Result<void> ConvertSettings ( LegacyCommandDataRef &  data) const

Converts legacy settings (e.g. from a BaseContainer) to regular data parameters.

Parameters
[in,out]dataThe command data.
Returns
OK on success.