KFbxQueryEvent Class Template Reference

#include <kfbxqueryevent.h>

Inherits KFbxEvent.

List of all members.


Detailed Description

template<typename QueryT>
class KFbxQueryEvent< QueryT >

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 59 of file kfbxqueryevent.h.


Public Member Functions

Public interface
  KFbxQueryEvent (QueryT *pData)
  Constructor.
QueryT &  GetData () const
  Accessor to a mutable reference to the data.

Constructor & Destructor Documentation

KFbxQueryEvent ( QueryT *  pData  )  [inline, explicit]

Constructor.

Parameters:
pData 

Definition at line 69 of file kfbxqueryevent.h.


Member Function Documentation

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.

Returns:
A mutable reference the requested data.

Definition at line 75 of file kfbxqueryevent.h.