OSG
3.4.0
|
#include <EventInterface.h>
Public Member Functions | |
Callback () | |
Callback (const Callback &rhs) | |
virtual const char * | className () const |
Callback (EventType type, void *data=0) | |
template<typename T > | |
Callback (bool(T::*function)(Event &), T *obj, EventType type, void *data=0) | |
template<typename T > | |
Callback (T *functor, EventType type, void *data=0) | |
virtual | ~Callback () |
virtual bool | operator() (Event &ev) |
EventType | getType () const |
void * | getData () |
const void * | getData () const |
![]() | |
Referenced () | |
Referenced (bool threadSafeRefUnref) | |
Referenced (const Referenced &) | |
Referenced & | operator= (const Referenced &) |
virtual void | setThreadSafeRefUnref (bool threadSafe) |
bool | getThreadSafeRefUnref () const |
OpenThreads::Mutex * | getRefMutex () const |
int | ref () const |
int | unref () const |
int | unref_nodelete () const |
int | referenceCount () const |
ObserverSet * | getObserverSet () const |
ObserverSet * | getOrCreateObserverSet () const |
void | addObserver (Observer *observer) const |
void | removeObserver (Observer *observer) const |
Protected Attributes | |
EventType | _type |
void * | _data |
osg::ref_ptr< CallbackInterface > | _callback |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Definition at line 206 of file EventInterface.h.
|
inline |
Definition at line 209 of file EventInterface.h.
|
inline |
Definition at line 210 of file EventInterface.h.
|
inline |
Definition at line 215 of file EventInterface.h.
|
inline |
Definition at line 223 of file EventInterface.h.
|
inline |
Definition at line 231 of file EventInterface.h.
|
inlinevirtual |
Definition at line 237 of file EventInterface.h.
|
inlinevirtual |
Definition at line 212 of file EventInterface.h.
|
inline |
Definition at line 249 of file EventInterface.h.
|
inline |
Definition at line 253 of file EventInterface.h.
|
inline |
Definition at line 245 of file EventInterface.h.
|
inlinevirtual |
Definition at line 239 of file EventInterface.h.
|
protected |
Definition at line 262 of file EventInterface.h.
|
protected |
Definition at line 259 of file EventInterface.h.
|
protected |
Definition at line 258 of file EventInterface.h.