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

Public Member Functions

 PyCallable_Make_Dispatcher (CharMgrBound)
 
 CharMgrBound (PyServiceMgr *mgr, uint32 ownerID, uint16 contFlag)
 
virtual ~CharMgrBound ()
 
virtual void Release ()
 
 PyCallable_DECL_CALL (List)
 
 PyCallable_DECL_CALL (ListStations)
 
 PyCallable_DECL_CALL (ListStationItems)
 
 PyCallable_DECL_CALL (ListStationBlueprintItems)
 
- 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 ()
 

Protected Attributes

Dispatcher *const m_dispatch
 
uint32 m_ownerID
 
uint16 m_containerFlag
 
- 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 38 of file CharMgrService.cpp.

Constructor & Destructor Documentation

CharMgrBound::CharMgrBound ( PyServiceMgr mgr,
uint32  ownerID,
uint16  contFlag 
)
inline

Definition at line 44 of file CharMgrService.cpp.

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

45  : PyBoundObject(mgr),
46  m_dispatch(new Dispatcher(this)),
47  m_ownerID(ownerID),
48  m_containerFlag(contFlag)
49  {
51 
52  m_strBoundObjectName = "CharMgrBound";
53 
55  PyCallable_REG_CALL(CharMgrBound, ListStations);
56  PyCallable_REG_CALL(CharMgrBound, ListStationItems);
57  PyCallable_REG_CALL(CharMgrBound, ListStationBlueprintItems);
58  }
uint16 m_containerFlag
std::string m_strBoundObjectName
Definition: PyBoundObject.h:54
void _SetCallDispatcher(CallDispatcher *d)
Definition: PyCallable.h:87
PyBoundObject(PyServiceMgr *mgr)
#define PyCallable_REG_CALL(c, m)
Definition: PyServiceCD.h:78
Dispatcher *const m_dispatch

Here is the call graph for this function:

virtual CharMgrBound::~CharMgrBound ( )
inlinevirtual

Definition at line 60 of file CharMgrService.cpp.

References m_dispatch.

60 {delete m_dispatch;}
Dispatcher *const m_dispatch

Member Function Documentation

CharMgrBound::PyCallable_DECL_CALL ( List  )
CharMgrBound::PyCallable_DECL_CALL ( ListStations  )
CharMgrBound::PyCallable_DECL_CALL ( ListStationItems  )
CharMgrBound::PyCallable_DECL_CALL ( ListStationBlueprintItems  )
CharMgrBound::PyCallable_Make_Dispatcher ( CharMgrBound  )
virtual void CharMgrBound::Release ( )
inlinevirtual

Implements PyBoundObject.

Definition at line 62 of file CharMgrService.cpp.

62  {
63  //I hate this statement
64  delete this;
65  }

Member Data Documentation

uint16 CharMgrBound::m_containerFlag
protected

Definition at line 76 of file CharMgrService.cpp.

Dispatcher* const CharMgrBound::m_dispatch
protected

Definition at line 73 of file CharMgrService.cpp.

Referenced by CharMgrBound(), and ~CharMgrBound().

uint32 CharMgrBound::m_ownerID
protected

Definition at line 75 of file CharMgrService.cpp.


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