Xonotic
Callback Class Reference

Callbacks may be added to zero or more callback chains. More...

+ Inheritance diagram for Callback:
+ Collaboration diagram for Callback:

Public Member Functions

 ATTRIB (Callback, cbc_func, bool())
 a callback function is like this: bool mycallback() { do something return false; } More...
 
 Callback ::Callback (bool() func)
 

Detailed Description

Callbacks may be added to zero or more callback chains.

Definition at line 17 of file base.qh.

Member Function Documentation

◆ ATTRIB()

Callback::ATTRIB ( Callback  ,
cbc_func  ,
bool()   
)

a callback function is like this: bool mycallback() { do something return false; }

◆ Callback ::Callback()

Callback::Callback ::Callback ( bool()  func)
inline

Definition at line 27 of file base.qh.

References CONSTRUCT, and ENDCLASS.

27  {
29  this.cbc_func = func;
30  }
Callbacks may be added to zero or more callback chains.
Definition: base.qh:17
#define CONSTRUCT(cname,...)
Definition: oo.qh:111

The documentation for this class was generated from the following file: