libAlgAudio  v1.99-440-g08538e5-dirty
The development library for AlgAudio framework.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AlgAudio::Builtin::SubpatchEntrance Class Reference

#include <BuiltinModules.hpp>

Inheritance diagram for AlgAudio::Builtin::SubpatchEntrance:
AlgAudio::Module AlgAudio::DynamicallyLoadableClass AlgAudio::SubscriptionsManager AlgAudio::TimerHandleManager

Public Member Functions

void LinkOutput (int output_no, int busid)
 
void on_init () override
 
- Public Member Functions inherited from AlgAudio::Module
virtual std::shared_ptr
< ModuleGUI
BuildGUI (std::shared_ptr< Window > parent_window)
 
LateReturn CreateIOFromTemplate (bool fake=false)
 
void DropGUI ()
 
std::shared_ptr< ModuleGUIGetGUI () const
 
std::shared_ptr< InletGetInletByID (std::string id) const
 
std::shared_ptr< OutletGetOutletByID (std::string id) const
 
std::shared_ptr< ParamControllerGetParamControllerByID (std::string) const
 
 Module (const Module &other)=delete
 
virtual void on_destroy ()
 
virtual void on_gui_build (std::shared_ptr< ModuleGUI >)
 
virtual LateReturn on_init_latereturn ()
 
virtual void on_param_set (std::string, float)
 
void PrepareParamControllers ()
 
void ResetControllers ()
 
virtual void state_load_string (std::string)
 
virtual void state_load_xml (rapidxml::xml_node< char > *)
 
virtual std::string state_store_string () const
 
virtual void state_store_xml (rapidxml::xml_node< char > *) const
 
virtual ~Module ()
 
 Module ()
 
 Module (void(*deleter)(void *))
 
 Module (std::shared_ptr< ModuleTemplate > t)
 
- Public Member Functions inherited from AlgAudio::DynamicallyLoadableClass
 DynamicallyLoadableClass (void(*d)(void *))
 
 DynamicallyLoadableClass ()
 
void SelfDestruct ()
 
void SetDeleter (void(*d)(void *))
 
virtual ~DynamicallyLoadableClass ()
 

Additional Inherited Members

- Public Attributes inherited from AlgAudio::Module
std::weak_ptr< Canvascanvas
 
bool enabled_by_factory = false
 
std::vector< std::shared_ptr
< Inlet > > 
inlets
 
std::vector< std::shared_ptr
< Outlet > > 
outlets
 
std::vector< std::shared_ptr
< ParamController > > 
param_controllers
 
Point2D position_in_canvas
 
std::vector< std::shared_ptr
< SendReplyController > > 
reply_controllers
 
int sc_id = -1
 
std::shared_ptr< ModuleTemplatetempl
 
- Public Attributes inherited from AlgAudio::SubscriptionsManager
SubscriptionList subscriptions
 
- Public Attributes inherited from AlgAudio::TimerHandleManager
TimerHandleList timerhandles
 
- Protected Attributes inherited from AlgAudio::Module
std::shared_ptr< ModuleGUImodulegui
 

Member Function Documentation

void AlgAudio::Builtin::SubpatchEntrance::LinkOutput ( int  output_no,
int  busid 
)
void AlgAudio::Builtin::SubpatchEntrance::on_init ( )
overridevirtual

Custom module implementations will prefer to override on_init and on_destroy, instead of creating a custom constructor/destructor. on_init is guaranteed to run when the module is ready to work - the corresponding SC instance was created etc. Similarly, on_destroy is called before the SC instance is removed, while the buses still exist etc.

Reimplemented from AlgAudio::Module.


The documentation for this class was generated from the following file: