Jamoma API  0.6.0.a19
PureData/source/j.score/j.score.cpp File Reference

j.score - external to handle a score project localy or remotely More...

#include "TTModularClassWrapperPd.h"
#include "TTScore.h"
+ Include dependency graph for PureData/source/j.score/j.score.cpp:

Go to the source code of this file.

Classes

struct  t_extra
 Data structure for storing extra data. More...
 

Functions

void WrapTTScoreClass (WrappedClassPtr c)
 Set up what methods (Max messages) that the wrapped class is to respond to. More...
 
void WrappedScoreClass_new (TTPtr self, long argc, t_atom *argv)
 Constructor: Initiate the wrapped object instance. More...
 
void WrappedScoreClass_free (TTPtr self)
 Deconstructor: Destroy the object and free memory assigned to it. More...
 
void score_assist (TTPtr self, void *b, long msg, long arg, char *dst)
 Display assist messages for inlets and outlets in Max. More...
 
void score_filechanged (TTPtr self, char *filename, short path)
 
void score_read (TTPtr self, t_symbol *msg, long argc, t_atom *argv)
 
void score_doread (TTPtr self, t_symbol *msg, long argc, t_atom *argv)
 
void score_read_again (TTPtr self)
 
void score_doread_again (TTPtr self)
 
void score_write (TTPtr self, t_symbol *msg, long argc, t_atom *argv)
 
void score_dowrite (TTPtr self, t_symbol *msg, long argc, t_atom *argv)
 
void score_write_again (TTPtr self)
 
void score_dowrite_again (TTPtr self)
 
void score_edit (TTPtr self, t_symbol *msg, long argc, t_atom *argv)
 
void score_edclose (TTPtr self, char **text, long size)
 
void score_doedit (TTPtr self)
 

Detailed Description

j.score - external to handle a score project localy or remotely

Author
Théo de la Hogue

Definition in file PureData/source/j.score/j.score.cpp.

Function Documentation

void score_assist ( TTPtr  self,
void *  b,
long  msg,
long  arg,
char *  dst 
)

Display assist messages for inlets and outlets in Max.

Parameters
selfPointer to the object.
bThis does not seem to be used.
msg"1" if we are to display assist message for an inlet, else we are to display assist message for an outlet.
argThe number of the inlet or outlet that we are to display assist message for. 0 is the leftmost.
dstPointer to the destination used for displaying the assist message.

Definition at line 244 of file PureData/source/j.score/j.score.cpp.

Referenced by WrapTTScoreClass().

void score_doedit ( TTPtr  self)
Parameters
self

Definition at line 544 of file PureData/source/j.score/j.score.cpp.

Referenced by score_edclose().

void score_doread ( TTPtr  self,
t_symbol *  msg,
long  argc,
t_atom *  argv 
)
Parameters
self
msg
argc
argv

Definition at line 270 of file PureData/source/j.score/j.score.cpp.

References TTSymbol::c_str(), TTObject::get(), jamoma_file_read(), TTObject::registerObserverForNotifications(), TTObject::send(), TTValue::size(), TTObject::valid(), and WrappedModularInstance::wrappedObject.

Referenced by score_filechanged(), and score_read().

+ Here is the call graph for this function:

void score_doread_again ( TTPtr  self)
Parameters
self

Definition at line 344 of file PureData/source/j.score/j.score.cpp.

References TTObject::send(), TTObject::valid(), and WrappedModularInstance::wrappedObject.

Referenced by score_read_again().

+ Here is the call graph for this function:

void score_dowrite ( TTPtr  self,
t_symbol *  msg,
long  argc,
t_atom *  argv 
)
Parameters
self
msg
argc
argv

Definition at line 369 of file PureData/source/j.score/j.score.cpp.

References TTSymbol::c_str(), jamoma_file_write(), TTObject::valid(), and WrappedModularInstance::wrappedObject.

Referenced by score_write().

+ Here is the call graph for this function:

void score_dowrite_again ( TTPtr  self)
Parameters
self

Definition at line 425 of file PureData/source/j.score/j.score.cpp.

References TTObject::valid(), and WrappedModularInstance::wrappedObject.

Referenced by score_write_again().

+ Here is the call graph for this function:

void score_edclose ( TTPtr  self,
char **  text,
long  size 
)
Parameters
self
text
size

Definition at line 534 of file PureData/source/j.score/j.score.cpp.

References score_doedit().

+ Here is the call graph for this function:

void score_edit ( TTPtr  self,
t_symbol *  msg,
long  argc,
t_atom *  argv 
)
Parameters
self
msg
argc
argv

Definition at line 454 of file PureData/source/j.score/j.score.cpp.

References TTObject::get(), and WrappedModularInstance::wrappedObject.

Referenced by WrapTTScoreClass().

+ Here is the call graph for this function:

void score_filechanged ( TTPtr  self,
char *  filename,
short  path 
)
Parameters
self
filename
path

Definition at line 258 of file PureData/source/j.score/j.score.cpp.

References score_doread().

Referenced by WrapTTScoreClass().

+ Here is the call graph for this function:

void score_read ( TTPtr  self,
t_symbol *  msg,
long  argc,
t_atom *  argv 
)
Parameters
self
msg
argc
argv

Definition at line 265 of file PureData/source/j.score/j.score.cpp.

References score_doread().

Referenced by WrapTTScoreClass().

+ Here is the call graph for this function:

void score_read_again ( TTPtr  self)
Parameters
self

Definition at line 339 of file PureData/source/j.score/j.score.cpp.

References score_doread_again().

Referenced by WrapTTScoreClass().

+ Here is the call graph for this function:

void score_write ( TTPtr  self,
t_symbol *  msg,
long  argc,
t_atom *  argv 
)
Parameters
self
msg
argc
argv

Definition at line 364 of file PureData/source/j.score/j.score.cpp.

References score_dowrite().

Referenced by WrapTTScoreClass().

+ Here is the call graph for this function:

void score_write_again ( TTPtr  self)
Parameters
self

Definition at line 420 of file PureData/source/j.score/j.score.cpp.

References score_dowrite_again().

Referenced by WrapTTScoreClass().

+ Here is the call graph for this function:

void WrappedScoreClass_free ( TTPtr  self)

Deconstructor: Destroy the object and free memory assigned to it.

Parameters
selfPointer to the object.

Definition at line 224 of file PureData/source/j.score/j.score.cpp.

References TTObject::send(), and WrappedModularInstance::wrappedObject.

+ Here is the call graph for this function:

void WrappedScoreClass_new ( TTPtr  self,
long  argc,
t_atom *  argv 
)

Constructor: Initiate the wrapped object instance.

Parameters
selfPointer to the object.
argcThe number of arguments to the new object instance
argvPointer to the array of atoms containing the arguments to the object instance.

Definition at line 177 of file PureData/source/j.score/j.score.cpp.

References WrappedModularInstance::extra, TTModularApplicationManager, and WrappedModularInstance::wrappedObject.

void WrapTTScoreClass ( WrappedClassPtr  c)

Set up what methods (Max messages) that the wrapped class is to respond to.

Parameters
cPointer to the wrapped class.

Definition at line 164 of file PureData/source/j.score/j.score.cpp.

References score_assist(), score_edit(), score_filechanged(), score_read(), score_read_again(), score_write(), and score_write_again().

+ Here is the call graph for this function: