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

Public Member Functions

 PyCallable_Make_Dispatcher (ShipBound) ShipBound(PyServiceMgr *mgr
 
ShipDB ShipItem m_db (db)
 
ShipDB ShipItem pShip (ship)
 
ShipDB ShipItem m_dispatch (new Dispatcher(this))
 
virtual ~ShipBound ()
 
virtual void Release ()
 
 PyCallable_DECL_CALL (Board)
 
 PyCallable_DECL_CALL (Eject)
 
 PyCallable_DECL_CALL (LeaveShip)
 
 PyCallable_DECL_CALL (ActivateShip)
 
 PyCallable_DECL_CALL (Undock)
 
 PyCallable_DECL_CALL (AssembleShip)
 
 PyCallable_DECL_CALL (Drop)
 
 PyCallable_DECL_CALL (Scoop)
 
 PyCallable_DECL_CALL (ScoopDrone)
 
 PyCallable_DECL_CALL (ScoopToSMA)
 
 PyCallable_DECL_CALL (LaunchFromContainer)
 
 PyCallable_DECL_CALL (Jettison)
 
 PyCallable_DECL_CALL (ConfigureShip)
 
 PyCallable_DECL_CALL (GetShipConfiguration)
 
 PyCallable_DECL_CALL (SelfDestruct)
 
 PyCallable_DECL_CALL (BoardStoredShip)
 
 PyCallable_DECL_CALL (StoreVessel)
 
- 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

ShipDBdb
 
ShipDB ShipItemship: PyBoundObject(mgr)
 

Protected Attributes

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

Private Attributes

ShipItempShip
 

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 44 of file ShipService.cpp.

Constructor & Destructor Documentation

virtual ShipBound::~ShipBound ( )
inlinevirtual

Definition at line 80 of file ShipService.cpp.

References m_dispatch.

80 {delete m_dispatch;}
Dispatcher *const m_dispatch

Member Function Documentation

ShipDB ShipItem ShipBound::m_db ( db  )
ShipDB ShipItem ShipBound::m_dispatch ( new   Dispatcherthis)
inline

Definition at line 54 of file ShipService.cpp.

References PyCallable::_SetCallDispatcher(), Player::Timer::Board, m_dispatch, PyBoundObject::m_strBoundObjectName, PyCallable_REG_CALL, and Player::Timer::Undock.

55  {
57 
58  m_strBoundObjectName = "ShipBound";
59 
62  PyCallable_REG_CALL(ShipBound, LeaveShip);
63  PyCallable_REG_CALL(ShipBound, ActivateShip);
65  PyCallable_REG_CALL(ShipBound, AssembleShip);
68  PyCallable_REG_CALL(ShipBound, ScoopDrone);
69  PyCallable_REG_CALL(ShipBound, ScoopToSMA);
70  PyCallable_REG_CALL(ShipBound, LaunchFromContainer);
71  PyCallable_REG_CALL(ShipBound, Jettison);
72  PyCallable_REG_CALL(ShipBound, ConfigureShip);
73  PyCallable_REG_CALL(ShipBound, GetShipConfiguration);
74  PyCallable_REG_CALL(ShipBound, SelfDestruct);
75 
76  PyCallable_REG_CALL(ShipBound, BoardStoredShip);
77  PyCallable_REG_CALL(ShipBound, StoreVessel);
78  }
std::string m_strBoundObjectName
Definition: PyBoundObject.h:54
Dispatcher *const m_dispatch
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:

ShipDB ShipItem ShipBound::pShip ( ship  )
ShipBound::PyCallable_DECL_CALL ( Board  )
ShipBound::PyCallable_DECL_CALL ( Eject  )
ShipBound::PyCallable_DECL_CALL ( LeaveShip  )
ShipBound::PyCallable_DECL_CALL ( ActivateShip  )
ShipBound::PyCallable_DECL_CALL ( Undock  )
ShipBound::PyCallable_DECL_CALL ( AssembleShip  )
ShipBound::PyCallable_DECL_CALL ( Drop  )
ShipBound::PyCallable_DECL_CALL ( Scoop  )
ShipBound::PyCallable_DECL_CALL ( ScoopDrone  )
ShipBound::PyCallable_DECL_CALL ( ScoopToSMA  )
ShipBound::PyCallable_DECL_CALL ( LaunchFromContainer  )
ShipBound::PyCallable_DECL_CALL ( Jettison  )
ShipBound::PyCallable_DECL_CALL ( ConfigureShip  )
ShipBound::PyCallable_DECL_CALL ( GetShipConfiguration  )
ShipBound::PyCallable_DECL_CALL ( SelfDestruct  )
ShipBound::PyCallable_DECL_CALL ( BoardStoredShip  )
ShipBound::PyCallable_DECL_CALL ( StoreVessel  )
ShipBound::PyCallable_Make_Dispatcher ( ShipBound  )
virtual void ShipBound::Release ( )
inlinevirtual

Implements PyBoundObject.

Definition at line 81 of file ShipService.cpp.

81  {
82  //I hate this statement
83  delete this;
84  }

Member Data Documentation

ShipDB& ShipBound::db

Definition at line 50 of file ShipService.cpp.

ShipDB& ShipBound::m_db
protected

Definition at line 106 of file ShipService.cpp.

Dispatcher* const ShipBound::m_dispatch
protected

Definition at line 107 of file ShipService.cpp.

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

ShipItem* ShipBound::pShip
private

Definition at line 110 of file ShipService.cpp.

ShipDB ShipItem* ShipBound::ship

Definition at line 50 of file ShipService.cpp.


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