Jamoma API
0.6.0.a19
|
Handles TTApplication and #Protocol instances. More...
#include "TTApplicationManager.h"
#include "TTProtocol.h"
#include <libxml/encoding.h>
#include <libxml/xmlwriter.h>
#include <libxml/xmlreader.h>
Go to the source code of this file.
Functions | |
TTErr | TTApplicationManagerAddApplicationObserver (TTSymbol anApplicationName, const TTObject anObserver) |
Add a TTCallback as observer of application creation/destruction note : it uses the extern TTModularApplications variable. More... | |
TTErr | TTApplicationManagerRemoveApplicationObserver (TTSymbol anApplicationName, const TTObject anObserver) |
Remove a TTCallback as observer of application creation/destruction note : it uses the extern TTModularApplications variable. More... | |
TTErr | TTApplicationManagerProtocolActivityInCallback (const TTValue &baton, const TTValue &data) |
To get back raw incoming messages from any protocol. More... | |
TTErr | TTApplicationManagerProtocolActivityOutCallback (const TTValue &baton, const TTValue &data) |
To get back raw outputing messages from any protocol. More... | |
Handles TTApplication and #Protocol instances.
Definition in file TTApplicationManager.cpp.
TTErr TTApplicationManagerAddApplicationObserver | ( | TTSymbol | anApplicationName, |
const TTObject | anObserver | ||
) |
Add a TTCallback as observer of application creation/destruction note : it uses the extern TTModularApplications variable.
anApplicationName | an application to observe |
observer | a TTCallbackPtr to add |
Definition at line 1403 of file TTApplicationManager.cpp.
References TTHash::append(), kTTErrNone, kTTErrValueNotFound, TTHash::lookup(), and TTModularApplicationManager.
TTErr TTApplicationManagerProtocolActivityInCallback | ( | const TTValue & | baton, |
const TTValue & | data | ||
) |
To get back raw incoming messages from any protocol.
baton | .. |
data | .. |
Definition at line 1470 of file TTApplicationManager.cpp.
References kTTErrNone, TTValue::prepend(), TTObject::set(), and TTModularApplicationManager.
TTErr TTApplicationManagerProtocolActivityOutCallback | ( | const TTValue & | baton, |
const TTValue & | data | ||
) |
To get back raw outputing messages from any protocol.
baton | .. |
data | .. |
Definition at line 1486 of file TTApplicationManager.cpp.
References kTTErrNone, TTValue::prepend(), TTObject::set(), and TTModularApplicationManager.
TTErr TTApplicationManagerRemoveApplicationObserver | ( | TTSymbol | anApplicationName, |
const TTObject | anObserver | ||
) |
Remove a TTCallback as observer of application creation/destruction note : it uses the extern TTModularApplications variable.
anApplicationName | an application |
observer | a TTCallbackPtr to remove |
Definition at line 1435 of file TTApplicationManager.cpp.
References kTTErrValueNotFound, TTHash::lookup(), TTHash::remove(), and TTModularApplicationManager.