Jamoma API  0.6.0.a19
TTProtocol.cpp File Reference

A Protocol interface. More...

#include "TTProtocol.h"
+ Include dependency graph for TTProtocol.cpp:

Go to the source code of this file.

Functions

TTErr TTProtocolDirectoryCallback (const TTValue &baton, const TTValue &data)
 Called when an application directory send a notification to registered application observers. More...
 
TTErr TTProtocolAttributeCallback (const TTValue &baton, const TTValue &data)
 Called when an application object attribute send a notification to registered application observers. More...
 
TTErr TTProtocolGetAttributeCallback (const TTValue &baton, const TTValue &data)
 
TTErr TTProtocolSetAttributeCallback (const TTValue &baton, const TTValue &data)
 
TTErr TTProtocolSendMessageCallback (const TTValue &baton, const TTValue &data)
 
TTErr TTProtocolListenAttributeCallback (const TTValue &baton, const TTValue &data)
 

Detailed Description

A Protocol interface.

Author
Laurent Garnier, Théo de la Hogue

Definition in file TTProtocol.cpp.

Function Documentation

TTErr TTProtocolAttributeCallback ( const TTValue baton,
const TTValue data 
)

Called when an application object attribute send a notification to registered application observers.

Parameters
baton..
data..
Returns
an error code

Definition at line 471 of file TTProtocol.cpp.

References TTObject::instance(), and kTTErrGeneric.

+ Here is the call graph for this function:

TTErr TTProtocolDirectoryCallback ( const TTValue baton,
const TTValue data 
)

Called when an application directory send a notification to registered application observers.

Parameters
baton..
data..
Returns
an error code

Definition at line 433 of file TTProtocol.cpp.

References TTValue::append(), TTAddress::appendAttribute(), TTNode::getObject(), TTObject::instance(), kAddressCreated, kAddressDestroyed, kTTErrGeneric, TTObject::name(), and TTObject::valid().

+ Here is the call graph for this function:

TTErr TTProtocolGetAttributeCallback ( const TTValue baton,
const TTValue data 
)
Parameters
baton..
data..
Returns
an error code

Definition at line 488 of file TTProtocol.cpp.

References TTAddress::appendAttribute(), TTObject::instance(), and kTTErrGeneric.

+ Here is the call graph for this function:

TTErr TTProtocolListenAttributeCallback ( const TTValue baton,
const TTValue data 
)
Parameters
baton..
data..
Returns
an error code

Definition at line 560 of file TTProtocol.cpp.

References TTAddress::appendAttribute(), TTObject::instance(), and kTTErrGeneric.

+ Here is the call graph for this function:

TTErr TTProtocolSendMessageCallback ( const TTValue baton,
const TTValue data 
)
Parameters
baton..
data..
Returns
an error code

Definition at line 536 of file TTProtocol.cpp.

References TTAddress::appendAttribute(), TTObject::instance(), and kTTErrGeneric.

+ Here is the call graph for this function:

TTErr TTProtocolSetAttributeCallback ( const TTValue baton,
const TTValue data 
)
Parameters
baton..
data..
Returns
an error code

Definition at line 512 of file TTProtocol.cpp.

References TTAddress::appendAttribute(), TTObject::instance(), and kTTErrGeneric.

Referenced by TTApplicationProxyDataValueCallback().

+ Here is the call graph for this function: