VISR  0.11.6
Versatile Interactive Scene Renderer
visr::maxmsp::ExternalBase Class Referenceabstract

#include <external_base.hpp>

Inheritance diagram for visr::maxmsp::ExternalBase:
visr::maxmsp::DelayVector visr::maxmsp::GainMatrix visr::maxmsp::matrix_convolver::MatrixConvolver visr::maxmsp::visr_renderer::VisrRenderer

Public Member Functions

 ExternalBase (t_pxobject &maxProxy)
 
virtual ~ExternalBase ()
 
virtual void initDsp (t_object *dsp64, short *count, double samplerate, long maxvectorsize, long flags)=0
 
virtual void perform (t_object *dsp64, double **ins, long numins, double **outs, long numouts, long sampleframes, long flags, void *userparam)=0
 
virtual void getFloat (double f)
 
virtual void assist (void *b, long msg, long arg, char *dst)=0
 

Protected Member Functions

t_pxobject * getMaxProxy ()
 
t_pxobject const * getMaxProxy () const
 

Detailed Description

Abstract base class for Max/MSP externals C++ classes to use the abstractions shall derive from this class.

Constructor & Destructor Documentation

◆ ExternalBase()

visr::maxmsp::ExternalBase::ExternalBase ( t_pxobject &  maxProxy)
explicit

Constructor. Initializes the reference to the Max proxy object associated with the external.

◆ ~ExternalBase()

visr::maxmsp::ExternalBase::~ExternalBase ( )
virtual

Destructor. Declared as virtual, although it is unlikely that external objects are used in a polymorhic way (if they are created using the ExternalWrapper/ClassRegistrar infrastructure, they are not used polymorphically).

Member Function Documentation

◆ assist()

virtual void visr::maxmsp::ExternalBase::assist ( void *  b,
long  msg,
long  arg,
char *  dst 
)
pure virtual

◆ getFloat()

virtual void visr::maxmsp::ExternalBase::getFloat ( double  f)
inlinevirtual

◆ getMaxProxy() [1/2]

t_pxobject* visr::maxmsp::ExternalBase::getMaxProxy ( )
inlineprotected

◆ getMaxProxy() [2/2]

t_pxobject const* visr::maxmsp::ExternalBase::getMaxProxy ( ) const
inlineprotected

◆ initDsp()

virtual void visr::maxmsp::ExternalBase::initDsp ( t_object *  dsp64,
short *  count,
double  samplerate,
long  maxvectorsize,
long  flags 
)
pure virtual

◆ perform()

virtual void visr::maxmsp::ExternalBase::perform ( t_object *  dsp64,
double **  ins,
long  numins,
double **  outs,
long  numouts,
long  sampleframes,
long  flags,
void *  userparam 
)
pure virtual

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