![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cXProtocol.h>
Public Member Functions | |
cXProtocolDataMgr () | |
virtual | ~cXProtocolDataMgr () |
virtual cScriptableInterfaceDef * | FindInterfaceDef (cXObject *pObj, SCRIPTINTERFACEID_t bInterfaceID) |
virtual cXObjectPtr | FindXObj (UID_t uid, SCRIPTINTERFACEID_t bInterfaceID=SCRIPTINTERFACEID_MAX, cScriptableInterfaceDef **ppInterfaceDef=nullptr) |
Public Attributes | |
cStringF | m_sFileRootDir |
This is the virtual root for this server. XPROTO_File (as the other side is concerned, unless onReq_File is overridden) More... | |
Manage XProtocol access to the cXObject system. Maybe Singleton? For both client and server, so not IProtocolFactory based.
GrayLib::cXProtocolDataMgr::cXProtocolDataMgr | ( | ) |
|
virtual |
|
virtual |
Override this to find the interface definition on the client side.
|
virtual |
Get the object by its UID, so we can mess with its props/methods. Override this to find the object on the client side. bInterfaceID = SCRIPTINTERFACEID_MAX = just get the main interface for the object. Associate bInterfaceID with the object if we didn't already know that ?
cStringF GrayLib::cXProtocolDataMgr::m_sFileRootDir |
This is the virtual root for this server. XPROTO_File (as the other side is concerned, unless onReq_File is overridden)