NCL Library
Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
CDDEClient Class Reference

#include <DDEClient.hpp>

Inheritance diagram for CDDEClient:
CDDEInst

List of all members.

Public Member Functions

 CDDEClient (DWORD dwFlags=CBF_FAIL_ALLSVRXACTIONS|CBF_SKIP_REGISTRATIONS|CBF_SKIP_UNREGISTRATIONS)
 Constructor.
virtual ~CDDEClient ()
 Destructor.
CDDECltConvCreateConversation (const tchar *pszService, const tchar *pszTopic)
void DestroyConversation (CDDECltConv *pConv)
CDDECltConvFindConversation (const tchar *pszService, const tchar *pszTopic) const
CDDECltConvFindConversation (HCONV hConv) const
size_t GetNumConversations () const
size_t GetAllConversations (CDDECltConvs &aoConvs) const
void AddListener (IDDEClientListener *pListener)
void RemoveListener (IDDEClientListener *pListener)
void QueryServers (CStrArray &astrServers) const
void QueryServerTopics (const tchar *pszServer, CStrArray &astrTopics) const
void QueryAll (CStrArray &astrServers, CStrArray &astrTopics) const
 Query for all running servers and topics.

Protected Types

typedef std::vector
< IDDEClientListener * > 
CListeners

Protected Member Functions

void Initialise (DWORD dwFlags)
void Uninitialise ()
void OnRegister (const tchar *pszBaseName, const tchar *pszInstName)
void OnUnregister (const tchar *pszBaseName, const tchar *pszInstName)
void OnDisconnect (HCONV hConv)
void OnAdvise (HCONV hConv, const tchar *pszTopic, const tchar *pszItem, uint nFormat, const CDDEData *pData)

Static Protected Member Functions

static HDDEDATA CALLBACK DDECallbackProc (UINT uType, UINT uFormat, HCONV hConv, HSZ hsz1, HSZ hsz2, HDDEDATA hData, ULONG_PTR dwData1, ULONG_PTR dwData2)

Protected Attributes

CDDECltConvs m_aoConvs
CListeners m_aoListeners

Static Protected Attributes

static CDDEClientg_pDDEClient = NULL

Member Typedef Documentation

typedef std::vector<IDDEClientListener*> CDDEClient::CListeners [protected]

Constructor & Destructor Documentation

CDDEClient::CDDEClient ( DWORD  dwFlags = CBF_FAIL_ALLSVRXACTIONS | CBF_SKIP_REGISTRATIONS | CBF_SKIP_UNREGISTRATIONS)

Constructor.

CDDEClient::~CDDEClient ( ) [virtual]

Destructor.


Member Function Documentation

CDDECltConv * CDDEClient::CreateConversation ( const tchar *  pszService,
const tchar *  pszTopic 
)
CDDECltConv * CDDEClient::FindConversation ( const tchar *  pszService,
const tchar *  pszTopic 
) const
CDDECltConv * CDDEClient::FindConversation ( HCONV  hConv) const
size_t CDDEClient::GetNumConversations ( ) const [inline]
size_t CDDEClient::GetAllConversations ( CDDECltConvs aoConvs) const [inline]
void CDDEClient::QueryServers ( CStrArray &  astrServers) const
void CDDEClient::QueryServerTopics ( const tchar *  pszServer,
CStrArray &  astrTopics 
) const
void CDDEClient::QueryAll ( CStrArray &  astrServers,
CStrArray &  astrTopics 
) const

Query for all running servers and topics.

void CDDEClient::Initialise ( DWORD  dwFlags) [protected]
void CDDEClient::Uninitialise ( ) [protected]
void CDDEClient::OnRegister ( const tchar *  pszBaseName,
const tchar *  pszInstName 
) [protected]
void CDDEClient::OnUnregister ( const tchar *  pszBaseName,
const tchar *  pszInstName 
) [protected]
void CDDEClient::OnDisconnect ( HCONV  hConv) [protected]
void CDDEClient::OnAdvise ( HCONV  hConv,
const tchar *  pszTopic,
const tchar *  pszItem,
uint  nFormat,
const CDDEData pData 
) [protected]
HDDEDATA CALLBACK CDDEClient::DDECallbackProc ( UINT  uType,
UINT  uFormat,
HCONV  hConv,
HSZ  hsz1,
HSZ  hsz2,
HDDEDATA  hData,
ULONG_PTR  dwData1,
ULONG_PTR  dwData2 
) [static, protected]

Member Data Documentation

CDDEClient * CDDEClient::g_pDDEClient = NULL [static, protected]

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