TBD:: comments...
Derived from
No base class
Data structures
Members
wxPMService::wxPMService
wxPMService::~wxPMService
wxPMService::AssociateData
wxPMService::GetAssociatedData
wxPMService::GetDescription
wxPMService::GetDisplayName
wxPMService::GetInterface
wxPMService::GetMergableMenuChain
wxPMService::GetWxObject
wxPMService::IsStarted
wxPMService::SerializeState
wxPMService::SetIsStarted
wxPMService::Start
wxPMService::Stop
wxPMService::SupportInterface
wxPMService()
protected! **
~wxPMService()
bk - virtual destructor helps clue compiler not to use it
bool AssociateData(wxPMService& toService, wxObject* pData)
methods for maintaining service-to-service custom data-associations (are delegated to boot-strap service which actually implements the maintenance)
wxObject* GetAssociatedData(wxPMService& forService)
wxString GetDescription()
wxString GetDisplayName()
void* GetInterface(const char* infName, const char* version = NULL)
analog to COM's QueryInterface(), should return NULL, if interface is not supported. Version argument is null if version of the interface is not important, otherwise, interface is returned only when it is compatible with the requeseted version of it
wxPMMergableMenuChain* GetMergableMenuChain()
wxObject* GetWxObject()
bool IsStarted()
bool SerializeState(wxPMSerializer& ser)
overridable for serializing service's state to workplace configuration storage/file, (@see wxPMSerializer class)
void SetIsStarted(bool isStarted)
should be only called by wxPMBootStrapService class
bool Start()
service should not be deleted directly calling this dtor, instead dtor of corresponding wxObject should be called: eg. "delete pMySvc->GetWxObject()"
bool Stop()
bool SupportInterface(const char* infName, const char* version = NULL)
default impl. checks for GetInterface() returning not NULL