Jamoma API  0.6.0.a19
TTMirror.h File Reference

A Mirror Object. More...

+ Include dependency graph for TTMirror.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TTMirror
 TODO : how to have TTGetterMethod and TTSetterMethod for Mirror message Property ? More...
 

Macros

#define addMirrorAttribute(name, type)   TTObjectBase::registerAttribute(name, type, NULL, (TTGetterMethod)& TTMirror::getMirrorAttribute, (TTSetterMethod)& TTMirror::setMirrorAttribute )
 TTMirror ... More...
 
#define addMirrorCachedAttribute(name, type)   TTObjectBase::registerAttribute(name, type, NULL, (TTGetterMethod)& TTMirror::getMirrorCachedAttribute, (TTSetterMethod)& TTMirror::setMirrorCachedAttribute )
 A convenience macro to be used for registering mirror cached attribute. More...
 
#define addMirrorMessage(name, flag)   TTObjectBase::registerMessage(name, (TTMethod)& TTMirror::sendMirrorMessage , flag)
 TODO : how to have TTGetterMethod and TTSetterMethod for Mirror attribute Property ? More...
 

Detailed Description

A Mirror Object.

Authors
Théo de la Hogue

Definition in file TTMirror.h.

Macro Definition Documentation

#define addMirrorAttribute (   name,
  type 
)    TTObjectBase::registerAttribute(name, type, NULL, (TTGetterMethod)& TTMirror::getMirrorAttribute, (TTSetterMethod)& TTMirror::setMirrorAttribute )

TTMirror ...

TODO : an explanationA convenience macro to be used for registering mirror attribute. Note that we don't lower the attribute name because we use the name of an existing attribute.

Parameters
nameThe TTSymbol name of the attribute.
typeThe type of the value.

Definition at line 33 of file TTMirror.h.

#define addMirrorCachedAttribute (   name,
  type 
)    TTObjectBase::registerAttribute(name, type, NULL, (TTGetterMethod)& TTMirror::getMirrorCachedAttribute, (TTSetterMethod)& TTMirror::setMirrorCachedAttribute )

A convenience macro to be used for registering mirror cached attribute.

Note that we don't lower the attribute name because we use the name of an existing attribute.

Parameters
nameThe TTSymbol name of the attribute.
typeThe type of the value.

Definition at line 40 of file TTMirror.h.

#define addMirrorMessage (   name,
  flag 
)    TTObjectBase::registerMessage(name, (TTMethod)& TTMirror::sendMirrorMessage , flag)

TODO : how to have TTGetterMethod and TTSetterMethod for Mirror attribute Property ?

A convenience macro to be used for registering properties of mirror attributes. Note that we don't lower the attribute name because we use the name of an existing attribute.

Parameters
nameThe TTSymbol name of the attribute.
propertyNameThe name of the property.
initialValueThe value of the property.A convenience macro to be used for registering mirror message.
nameThe name of the message.
flagThe flag of the message.

Definition at line 57 of file TTMirror.h.