About
An interface can declare one or many observables. Such an observable can be used to receive a signal on certain events within that interface.
Declaration
Observables are declared within an interface:
{
{
public:
};
}
int32_t Int32
32 bit signed integer datatype.
Definition: apibase.h:175
#define MAXON_REFERENCE_NORMAL(FREEIMPL)
Definition: interfacebase.h:1192
#define MAXON_INTERFACE(Name, REFKIND, ID,...)
Definition: objectbase.h:1121
#define MAXON_METHOD
Definition: interfacebase.h:1020
#define MAXON_INTERFACE_BASES(...)
Definition: objectbase.h:1049
The maxon namespace contains all declarations of the Maxon API.
Definition: autoweight.h:21
#define MAXON_OBSERVABLE(RETTYPE, NAME,...)
Defined Observables for the source processor.
Definition: observable.h:796
The MAXON_OBSERVABLE() attribute defines the following options:
- the return value of the callback function
- the name of the observable
- the argument list of the callback function
Further Reading