TuttleOFX
1
|
00001 #ifndef _CALLBACK_HPP_ 00002 #define _CALLBACK_HPP_ 00003 00004 namespace tuttle { 00005 namespace host { 00006 00007 class INode; 00008 00009 /** Used to store a callback object, atm, this object is triggered 00010 * before the render process **/ 00011 class Callback { 00012 public: 00013 Callback(){}; 00014 virtual ~Callback(){}; 00015 00016 // Propagate the call to inherited classes 00017 virtual void call(INode &, double ofxtime)=0; 00018 }; 00019 00020 }; 00021 00022 }; 00023 00024 00025 #endif//_CALLBACK_HPP_