OregonCore  revision be9e804-git
Your Favourite TBC server
Oregon::_IQueryCallback< CB > Class Template Reference

#include <Callback.h>

+ Inheritance diagram for Oregon::_IQueryCallback< CB >:

Public Member Functions

 _IQueryCallback (CB const &cb)
 
void Execute ()
 
void SetResult (QueryResult_AutoPtr result)
 
QueryResult_AutoPtr GetResult ()
 
- Public Member Functions inherited from Oregon::IQueryCallback
virtual ~IQueryCallback ()
 

Detailed Description

template<class CB>
class Oregon::_IQueryCallback< CB >

Definition at line 317 of file Callback.h.

Constructor & Destructor Documentation

template<class CB>
Oregon::_IQueryCallback< CB >::_IQueryCallback ( CB const &  cb)
inline

Definition at line 320 of file Callback.h.

320 : CB(cb) {}

Member Function Documentation

template<class CB>
void Oregon::_IQueryCallback< CB >::Execute ( )
inlinevirtual

Implements Oregon::IQueryCallback.

Definition at line 321 of file Callback.h.

322  {
323  CB::_Execute();
324  }
template<class CB>
QueryResult_AutoPtr Oregon::_IQueryCallback< CB >::GetResult ( )
inlinevirtual

Implements Oregon::IQueryCallback.

Definition at line 329 of file Callback.h.

330  {
331  return CB::m_param1;
332  }
template<class CB>
void Oregon::_IQueryCallback< CB >::SetResult ( QueryResult_AutoPtr  result)
inlinevirtual

Implements Oregon::IQueryCallback.

Definition at line 325 of file Callback.h.

326  {
327  CB::m_param1 = result;
328  }

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