Jamoma API  0.6.0.a19
j.pack-/j.pack.cpp File Reference

j.pack# - External object for Max/MSP to bring Max values into a Jamoma Graph. More...

#include "maxGraph.h"
#include "TTGraphInput.h"
+ Include dependency graph for j.pack-/j.pack.cpp:

Go to the source code of this file.

Classes

struct  Pack
 Data Structure for the j.pack= Max object. More...
 

Functions

PackPtr PackNew (t_symbol *msg, long argc, t_atom *argv)
 Create a new instance of the j.in= object. More...
 
void PackFree (PackPtr self)
 Called when the object is freed (destroyed), ensuring that memory is properly freed up. More...
 
void PackAssist (PackPtr self, void *b, long msg, long arg, char *dst)
 Provides assist strings in Max for object inlets and outlets. More...
 
int C74_EXPORT main (void)
 Set up this class as a Max external the first time an object of this kind is instantiated. More...
 

Detailed Description

j.pack# - External object for Max/MSP to bring Max values into a Jamoma Graph.

Authors
Tim Place, Trond Lossius

Definition in file j.pack-/j.pack.cpp.

Function Documentation

int C74_EXPORT main ( void  )

Set up this class as a Max external the first time an object of this kind is instantiated.

Returns
Error message if the object fails to load.

Set up this class as a Max external the first time an object of this kind is instantiated.

Definition at line 58 of file j.pack-/j.pack.cpp.

References PackAssist(), PackFree(), and PackNew().

+ Here is the call graph for this function:

void PackAssist ( PackPtr  self,
void *  b,
long  msg,
long  arg,
char *  dst 
)

Provides assist strings in Max for object inlets and outlets.

Parameters
selfPointer to this instance of j.in=. Not used Is this a request for assistance regarding an inlet or outlet?
  • Which inlet or outlet number is the request relating to? Destination that the assistance string is to be copied to.

Definition at line 294 of file j.pack-/j.pack.cpp.

Referenced by main().

void PackFree ( PackPtr  self)

Called when the object is freed (destroyed), ensuring that memory is properly freed up.

Parameters
selfPointer to this instance of j.in=.

Definition at line 130 of file j.pack-/j.pack.cpp.

Referenced by main().

PackPtr PackNew ( t_symbol *  msg,
long  argc,
t_atom *  argv 
)

Create a new instance of the j.in= object.

Parameters
msgMessage to the new instance at creation time.
argcThe number of arguments to the object at instantiation.
argvPointer to an array of atoms containing instantiation arguments.
Returns
Pointer to this instance if successfully instantiated.

Definition at line 92 of file j.pack-/j.pack.cpp.

Referenced by main().