Version

menu_open
Wwise SDK 2024.1.0
ak_wwise_plugin_cpp_base_instance Struct Reference

Generic base for all plug-in instances in C++. More...

#include <PluginDef.h>

Inheritance diagram for ak_wwise_plugin_cpp_base_instance:
ak_wwise_plugin_instance_ptr AK.Wwise::Plugin::HostInterfaceGlue< CPPInstance, in_baseInstance > ak_wwise_plugin_analysis_task_instance_v1 ak_wwise_plugin_backend_instance ak_wwise_plugin_custom_data_instance_v1 ak_wwise_plugin_feedback_aware_instance_v1 ak_wwise_plugin_first_time_creation_message_instance_v1 ak_wwise_plugin_frontend_instance ak_wwise_plugin_host_conversion_helpers_instance_v1 ak_wwise_plugin_host_data_writer_instance_v1 ak_wwise_plugin_host_frontend_model_args_v1 ak_wwise_plugin_host_frontend_model_instance_v1 ak_wwise_plugin_host_instance_v1 ak_wwise_plugin_host_object_media_instance_v1 ak_wwise_plugin_host_object_store_instance_v1 ak_wwise_plugin_host_property_set_instance_v1 ak_wwise_plugin_host_undo_manager_instance_v1 ak_wwise_plugin_host_xml_reader_instance_v1 ak_wwise_plugin_host_xml_writer_instance_v1 ak_wwise_plugin_license_instance_v1 ak_wwise_plugin_link_backend_instance_v1 ak_wwise_plugin_link_frontend_instance_v1 ak_wwise_plugin_media_converter_instance_v1 ak_wwise_plugin_notifications_host_instance_v1 ak_wwise_plugin_notifications_monitor_instance_v1 ak_wwise_plugin_notifications_object_media_instance_v1 ak_wwise_plugin_notifications_object_store_instance_v1 ak_wwise_plugin_notifications_property_set_instance_v1 ak_wwise_plugin_property_display_name_instance_v1 ak_wwise_plugin_sink_devices_instance_v1 ak_wwise_plugin_source_instance_v1 ak_wwise_plugin_test_service_instance_v1 ak_wwise_plugin_test_service_instance_v2 ak_wwise_plugin_undo_event_instance_v1 AK.Wwise::Plugin::HostInterfaceGlue< CPPInstance, false > AK.Wwise::Plugin::HostInterfaceGlue< DataWriter, false > AK.Wwise::Plugin::HostInterfaceGlue< FrontendModel, true > AK.Wwise::Plugin::HostInterfaceGlue< Host, true > AK.Wwise::Plugin::HostInterfaceGlue< LinkBackend, true > AK.Wwise::Plugin::HostInterfaceGlue< LinkFrontend, true > AK.Wwise::Plugin::HostInterfaceGlue< ObjectMedia, true > AK.Wwise::Plugin::HostInterfaceGlue< ObjectStore, true > AK.Wwise::Plugin::HostInterfaceGlue< PropertySet, true > AK.Wwise::Plugin::HostInterfaceGlue< TestService, true > AK.Wwise::Plugin::HostInterfaceGlue< UndoManager, true > AK.Wwise::Plugin::HostInterfaceGlue< XmlReader, false > AK.Wwise::Plugin::HostInterfaceGlue< XmlWriter, false >

Public Member Functions

virtual ~ak_wwise_plugin_cpp_base_instance ()
 

Detailed Description

Generic base for all plug-in instances in C++.

Warning
This differs from the ak_wwise_plugin_base_instance, as C++ classes have a virtual table as their first member. It's important to make the distinction between the two by specifically doing a static_cast between the C version and the C++ version, and not a mere reinterpret_cast or a C-style cast. As such, it is expected to instantiate a plug-in in C++, and return C pointers back to the instance structures with a different base address.

Definition at line 520 of file PluginDef.h.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise