EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
KeeperBound Class Reference
Inheritance diagram for KeeperBound:
Collaboration diagram for KeeperBound:

Public Member Functions

 PyCallable_Make_Dispatcher (KeeperBound) KeeperBound(PyServiceMgr *mgr
 
SystemDB m_db (db)
 
SystemDB m_dispatch (new Dispatcher(this))
 
virtual ~KeeperBound ()
 
virtual void Release ()
 
 PyCallable_DECL_CALL (EditDungeon)
 
 PyCallable_DECL_CALL (PlayDungeon)
 
 PyCallable_DECL_CALL (Reset)
 
 PyCallable_DECL_CALL (GotoRoom)
 
 PyCallable_DECL_CALL (GetCurrentlyEditedRoomID)
 
- Public Member Functions inherited from PyBoundObject
 PyBoundObject (PyServiceMgr *mgr)
 
virtual ~PyBoundObject ()
 
uint32 nodeID () const
 
uint32 bindID () const
 
std::string GetBindStr () const
 
const char * GetName () const
 
virtual PyResult Call (const std::string &method, PyCallArgs &args)
 
- Public Member Functions inherited from PyCallable
 PyCallable ()
 
virtual ~PyCallable ()
 

Public Attributes

SystemDBdb: PyBoundObject(mgr)
 

Protected Attributes

SystemDB *const m_db
 
Dispatcher *const m_dispatch
 
- Protected Attributes inherited from PyBoundObject
PyServiceMgr *const m_manager
 
std::string m_strBoundObjectName
 

Additional Inherited Members

- Protected Member Functions inherited from PyBoundObject
void _SetNodeBindID (uint32 nodeID, uint32 bindID)
 
- Protected Member Functions inherited from PyCallable
void _SetCallDispatcher (CallDispatcher *d)
 

Detailed Description

Definition at line 49 of file KeeperService.cpp.

Constructor & Destructor Documentation

virtual KeeperBound::~KeeperBound ( )
inlinevirtual

Definition at line 71 of file KeeperService.cpp.

References m_dispatch.

71 { delete m_dispatch; }
Dispatcher *const m_dispatch

Member Function Documentation

SystemDB KeeperBound::m_db ( db  )
SystemDB KeeperBound::m_dispatch ( new   Dispatcherthis)
inline

Definition at line 58 of file KeeperService.cpp.

References PyCallable::_SetCallDispatcher(), m_dispatch, PyBoundObject::m_strBoundObjectName, and PyCallable_REG_CALL.

59  {
61 
62  m_strBoundObjectName = "KeeperBound";
63 
64  PyCallable_REG_CALL(KeeperBound, EditDungeon);
65  PyCallable_REG_CALL(KeeperBound, PlayDungeon);
67  PyCallable_REG_CALL(KeeperBound, GotoRoom); //(int room)
68  PyCallable_REG_CALL(KeeperBound, GetCurrentlyEditedRoomID);
69 
70  }
Dispatcher *const m_dispatch
std::string m_strBoundObjectName
Definition: PyBoundObject.h:54
void _SetCallDispatcher(CallDispatcher *d)
Definition: PyCallable.h:87
#define PyCallable_REG_CALL(c, m)
Definition: PyServiceCD.h:78

Here is the call graph for this function:

KeeperBound::PyCallable_DECL_CALL ( EditDungeon  )
KeeperBound::PyCallable_DECL_CALL ( PlayDungeon  )
KeeperBound::PyCallable_DECL_CALL ( Reset  )
KeeperBound::PyCallable_DECL_CALL ( GotoRoom  )
KeeperBound::PyCallable_DECL_CALL ( GetCurrentlyEditedRoomID  )
KeeperBound::PyCallable_Make_Dispatcher ( KeeperBound  )
virtual void KeeperBound::Release ( )
inlinevirtual

Implements PyBoundObject.

Definition at line 72 of file KeeperService.cpp.

72  {
73  //I hate this statement
74  delete this;
75  }

Member Data Documentation

SystemDB* KeeperBound::db

Definition at line 56 of file KeeperService.cpp.

SystemDB* const KeeperBound::m_db
protected

Definition at line 84 of file KeeperService.cpp.

Dispatcher* const KeeperBound::m_dispatch
protected

Definition at line 85 of file KeeperService.cpp.

Referenced by m_dispatch(), and ~KeeperBound().


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