24 #ifndef __CH_EventManager__
25 #define __CH_EventManager__
89 ::memcpy(buffer, s.
c_str(), len);
131 void removeReferencingEvents(
void *
data);
147 void endHandlingEvents();
152 void setEnabled(
bool e);
CH_EventHandler *(* CH_EventHandlerCreator)()
CH_AutoEventHandler(CH_EventHandlerCreator creator)
ImageBuf OIIO_API min(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
GLenum GLenum GLsizei const GLuint GLboolean enabled
CH_AutoEventHandlerEx(CH_EventHandlerCreator creator, bool enable)
CH_API const char * CHeventNames[CH_CHANGE_TYPE_COUNT]
virtual ~CH_EventHandler()
static CH_EventHandler * newHandler()
GLint GLint GLsizei GLint GLenum format
CH_API void CHevent(CH_CHANGE_TYPE, void *)
CH_API CH_EventManager * CHgetEventManager()
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
SYS_FORCE_INLINE const char * c_str() const
virtual void event(CH_CHANGE_TYPE, void *)
void beginHandlingEvents(CH_EventHandlerCreator creator)