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

Public Member Functions

 PyCallable_Make_Dispatcher (ScanBound) ScanBound(PyServiceMgr *mgr
 
Client m_dispatch (new Dispatcher(this))
 
Client m_client (pClient)
 
virtual ~ScanBound ()
 
virtual void Release ()
 
 PyCallable_DECL_CALL (RequestScans)
 
 PyCallable_DECL_CALL (ConeScan)
 
 PyCallable_DECL_CALL (ReconnectToLostProbes)
 
 PyCallable_DECL_CALL (RecoverProbes)
 
 PyCallable_DECL_CALL (DestroyProbe)
 
- 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

ClientpClient: PyBoundObject(mgr)
 

Protected Attributes

Dispatcher *const m_dispatch
 
Scanm_scan
 
ScanningDBm_db
 
Clientm_client
 
- 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 46 of file ScanMgrService.cpp.

Constructor & Destructor Documentation

virtual ScanBound::~ScanBound ( )
inlinevirtual

return sm.RemoteSvc('scanMgr').GetSystemScanMgr().ReconnectToLostProbes()

successProbeIDs = sm.RemoteSvc('scanMgr').GetSystemScanMgr().RecoverProbes(probeIDs)

sm.RemoteSvc('scanMgr').GetSystemScanMgr().RequestScans(probes)

sm.RemoteSvc('scanMgr').GetSystemScanMgr().DestroyProbe(probeID)

Definition at line 80 of file ScanMgrService.cpp.

References m_dispatch.

80 {delete m_dispatch;}
Dispatcher *const m_dispatch

Member Function Documentation

Client ScanBound::m_client ( pClient  )
inline

Definition at line 55 of file ScanMgrService.cpp.

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

56  {
58 
59  m_strBoundObjectName = "ScanBound";
60 
61  PyCallable_REG_CALL(ScanBound, ConeScan);
62  PyCallable_REG_CALL(ScanBound, RequestScans);
63  PyCallable_REG_CALL(ScanBound, RecoverProbes);
64  PyCallable_REG_CALL(ScanBound, ReconnectToLostProbes);
65  PyCallable_REG_CALL(ScanBound, DestroyProbe);
66 
67  }
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
Dispatcher *const m_dispatch

Here is the call graph for this function:

Client ScanBound::m_dispatch ( new   Dispatcherthis)
ScanBound::PyCallable_DECL_CALL ( RequestScans  )
ScanBound::PyCallable_DECL_CALL ( ConeScan  )
ScanBound::PyCallable_DECL_CALL ( ReconnectToLostProbes  )
ScanBound::PyCallable_DECL_CALL ( RecoverProbes  )
ScanBound::PyCallable_DECL_CALL ( DestroyProbe  )
ScanBound::PyCallable_Make_Dispatcher ( ScanBound  )
virtual void ScanBound::Release ( )
inlinevirtual

Implements PyBoundObject.

Definition at line 81 of file ScanMgrService.cpp.

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

Member Data Documentation

Client* ScanBound::m_client
protected

Definition at line 96 of file ScanMgrService.cpp.

ScanningDB* ScanBound::m_db
protected

Definition at line 95 of file ScanMgrService.cpp.

Dispatcher* const ScanBound::m_dispatch
protected

Definition at line 93 of file ScanMgrService.cpp.

Referenced by m_client(), and ~ScanBound().

Scan* ScanBound::m_scan
protected

Definition at line 94 of file ScanMgrService.cpp.

Client* ScanBound::pClient

Definition at line 53 of file ScanMgrService.cpp.


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