A query event is something that is emitted by an entity, with the goal of being filled by someone that listen to it.
You can see that like a form that you send to some people. If those people know how to fill the form, they fill it and return it to you with the right information in it. A query event is emitted, and plug-in who are listening to that type of query, fill the data that can be accessed by the query emitter.
Definition at line 34 of file kfbxqueryevent.h.
#include <kfbxqueryevent.h>
Public Member Functions |
|
Public interface
|
|
KFbxQueryEvent (QueryT *pData) | |
Constructor. |
|
QueryT & | GetData () const |
Accessor to a mutable reference to the data.
|
|
Friends |
|
class | KFbxEvent< KFbxQueryEvent< QueryT > > |
KFbxQueryEvent | ( | QueryT * | pData | ) | [inline, explicit] |
Constructor.
pData | The requested data. |
Definition at line 44 of file kfbxqueryevent.h.
:mData(pData){}
QueryT& GetData | ( | ) | const [inline] |
Accessor to a mutable reference to the data.
Event are usually const and can't be modified by listener. This special type of event can have is content modified via this accessor.
Definition at line 50 of file kfbxqueryevent.h.
{ return *mData; }
friend class KFbxEvent< KFbxQueryEvent< QueryT >
> [friend] |
Definition at line 59 of file kfbxqueryevent.h.