Friends

KFbxQueryEvent< QueryT > Class Template Reference

Search for all occurrences

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

#include <kfbxqueryevent.h>

Inheritance diagram for KFbxQueryEvent< QueryT >:
Inheritance graph
[legend]

List of all members.

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 > >

Constructor & Destructor Documentation

KFbxQueryEvent ( QueryT *  pData ) [inline, explicit]

Constructor.

Parameters:
pData The requested data.

Definition at line 44 of file kfbxqueryevent.h.

:mData(pData){}

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

{ return *mData; }

Friends And Related Function Documentation

friend class KFbxEvent< KFbxQueryEvent< QueryT > > [friend]

Definition at line 59 of file kfbxqueryevent.h.


The documentation for this class was generated from the following file: