Files Classes Functions Hierarchy
#include <gobjbase.h>
Public Types | |
| typedef void(T::* | Fptr )(gobjContainer &) |
Public Member Functions | |
| gobjcallbackcontainer (T &data_, Fptr fn_) | |
| Constructor binding function. | |
| void | draw () |
| Write graphics by executing the callback function. | |
A function is supplied that pushes gobj's to a gobjContainer.
Definition at line 404 of file gobjbase.h.
| typedef void(T::* gobjcallbackcontainer< T >::Fptr)(gobjContainer &) |
| gobjcallbackcontainer< T >::gobjcallbackcontainer | ( | T & | data_, | |
| Fptr | fn_ | |||
| ) | [inline] |
| void gobjcallbackcontainer< T >::draw | ( | ) | [inline, virtual] |
Write graphics by executing the callback function.
Implements gobj.
Definition at line 416 of file gobjbase.h.
References GOBJDEBUGCODE, and gobjpush.
00417 { 00418 GOBJDEBUGCODE 00419 gobjContainer* shp = new gobjContainer(true); 00420 00421 fobj(*shp); 00422 gobjpush(shp); 00423 }
1.5.8