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

Public Member Functions

 PyCallable_Make_Dispatcher (InvBrokerBound) InvBrokerBound(PyServiceMgr *mgr
 
uint32 uint32 m_dispatch (new Dispatcher(this))
 
uint32 uint32 m_locationID (locationID)
 
uint32 uint32 m_groupID (groupID)
 
virtual ~InvBrokerBound ()
 
virtual void Release ()
 
 PyCallable_DECL_CALL (GetContainerContents)
 
 PyCallable_DECL_CALL (GetInventoryFromId)
 
 PyCallable_DECL_CALL (GetInventory)
 
 PyCallable_DECL_CALL (SetLabel)
 
 PyCallable_DECL_CALL (TrashItems)
 
 PyCallable_DECL_CALL (AssembleCargoContainer)
 
 PyCallable_DECL_CALL (BreakPlasticWrap)
 
 PyCallable_DECL_CALL (TakeOutTrash)
 
 PyCallable_DECL_CALL (SplitStack)
 
 PyCallable_DECL_CALL (DeliverToCorpHangar)
 
 PyCallable_DECL_CALL (DeliverToCorpMember)
 
- 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

uint32 locationID
 
uint32 uint32 groupID: PyBoundObject(mgr)
 

Protected Attributes

Dispatcher *const m_dispatch
 
uint32 m_locationID
 
uint32 m_groupID
 
- 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

Todo:
update this code to use throws for client msgs also
Todo:
many unfinished calls in this file....

Definition at line 41 of file InvBrokerService.cpp.

Constructor & Destructor Documentation

virtual InvBrokerBound::~InvBrokerBound ( )
inlinevirtual

Definition at line 71 of file InvBrokerService.cpp.

References m_dispatch.

72  {
73  delete m_dispatch;
74  }
Dispatcher *const m_dispatch

Member Function Documentation

uint32 uint32 InvBrokerBound::m_dispatch ( new   Dispatcherthis)
uint32 uint32 InvBrokerBound::m_groupID ( groupID  )
inline

Definition at line 52 of file InvBrokerService.cpp.

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

53  {
55 
56  m_strBoundObjectName = "InvBrokerBound";
57 
58  PyCallable_REG_CALL(InvBrokerBound, GetContainerContents);
59  PyCallable_REG_CALL(InvBrokerBound, GetInventoryFromId);
60  PyCallable_REG_CALL(InvBrokerBound, GetInventory);
63  PyCallable_REG_CALL(InvBrokerBound, AssembleCargoContainer);
64  PyCallable_REG_CALL(InvBrokerBound, BreakPlasticWrap);
65  PyCallable_REG_CALL(InvBrokerBound, TakeOutTrash);
67  PyCallable_REG_CALL(InvBrokerBound, DeliverToCorpHangar);
68  PyCallable_REG_CALL(InvBrokerBound, DeliverToCorpMember);
69 
70  }
std::string m_strBoundObjectName
Definition: PyBoundObject.h:54
void _SetCallDispatcher(CallDispatcher *d)
Definition: PyCallable.h:87
Dispatcher *const m_dispatch
#define PyCallable_REG_CALL(c, m)
Definition: PyServiceCD.h:78

Here is the call graph for this function:

uint32 uint32 InvBrokerBound::m_locationID ( locationID  )
InvBrokerBound::PyCallable_DECL_CALL ( GetContainerContents  )
InvBrokerBound::PyCallable_DECL_CALL ( GetInventoryFromId  )
InvBrokerBound::PyCallable_DECL_CALL ( GetInventory  )
InvBrokerBound::PyCallable_DECL_CALL ( SetLabel  )
InvBrokerBound::PyCallable_DECL_CALL ( TrashItems  )
InvBrokerBound::PyCallable_DECL_CALL ( AssembleCargoContainer  )
InvBrokerBound::PyCallable_DECL_CALL ( BreakPlasticWrap  )
InvBrokerBound::PyCallable_DECL_CALL ( TakeOutTrash  )
InvBrokerBound::PyCallable_DECL_CALL ( SplitStack  )
InvBrokerBound::PyCallable_DECL_CALL ( DeliverToCorpHangar  )
InvBrokerBound::PyCallable_DECL_CALL ( DeliverToCorpMember  )
InvBrokerBound::PyCallable_Make_Dispatcher ( InvBrokerBound  )
virtual void InvBrokerBound::Release ( )
inlinevirtual

Implements PyBoundObject.

Definition at line 76 of file InvBrokerService.cpp.

76  {
77  //I hate this statement
78  delete this;
79  }

Member Data Documentation

uint32 uint32 InvBrokerBound::groupID

Definition at line 48 of file InvBrokerService.cpp.

uint32 InvBrokerBound::locationID

Definition at line 48 of file InvBrokerService.cpp.

Dispatcher* const InvBrokerBound::m_dispatch
protected

Definition at line 95 of file InvBrokerService.cpp.

Referenced by m_groupID(), and ~InvBrokerBound().

uint32 InvBrokerBound::m_groupID
protected

Definition at line 98 of file InvBrokerService.cpp.

uint32 InvBrokerBound::m_locationID
protected

Definition at line 97 of file InvBrokerService.cpp.


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