Definition at line 620 of file qaxserverbase.cpp.
◆ Connections
◆ Iterator
◆ QAxConnection() [1/2]
◆ QAxConnection() [2/2]
Definition at line 632 of file qaxserverbase.cpp.
642 CONNECTDATA connection = *
it;
644 connection.pUnk->AddRef();
#define it(className, varName)
iterator begin()
Returns an STL-style iterator pointing to the first item in the list.
CRITICAL_SECTION refCountSection
iterator end()
Returns an STL-style iterator pointing to the imaginary item after the last item in the list...
The QList class is a template class that provides lists.
◆ ~QAxConnection()
QAxConnection::~QAxConnection |
( |
| ) |
|
|
inline |
◆ AddRef()
unsigned long __stdcall QAxConnection::AddRef |
( |
| ) |
|
|
inline |
◆ Advise()
STDMETHOD() QAxConnection::Advise |
( |
IUnknown * |
pUnk, |
|
|
DWORD * |
pdwCookie |
|
) |
| |
|
inline |
Definition at line 697 of file qaxserverbase.cpp.
699 if (!pUnk || !pdwCookie)
703 IDispatch *checkImpl = 0;
704 pUnk->QueryInterface(
iid, (
void**)&checkImpl);
706 return CONNECT_E_CANNOTCONNECT;
707 checkImpl->Release();
715 *pdwCookie = cd.dwCookie;
int count(const T &t) const
Returns the number of occurrences of value in the list.
void append(const T &t)
Inserts value at the end of the list.
◆ Clone()
STDMETHOD() QAxConnection::Clone |
( |
IEnumConnections ** |
ppEnum | ) |
|
|
inline |
Definition at line 778 of file qaxserverbase.cpp.
QAxConnection(QAxServerBase *parent, const QUuid &uuid)
◆ EnumConnections()
STDMETHOD() QAxConnection::EnumConnections |
( |
IEnumConnections ** |
ppEnum | ) |
|
|
inline |
◆ GetConnectionInterface()
STDMETHOD() QAxConnection::GetConnectionInterface |
( |
IID * |
pIID | ) |
|
|
inline |
◆ GetConnectionPointContainer()
STDMETHOD() QAxConnection::GetConnectionPointContainer |
( |
IConnectionPointContainer ** |
ppCPC | ) |
|
|
inline |
Definition at line 693 of file qaxserverbase.cpp.
HRESULT WINAPI QueryInterface(REFIID iid, void **iface)
◆ Next()
STDMETHOD() QAxConnection::Next |
( |
ULONG |
cConnections, |
|
|
CONNECTDATA * |
cd, |
|
|
ULONG * |
pcFetched |
|
) |
| |
|
inline |
Definition at line 740 of file qaxserverbase.cpp.
745 if (!pcFetched && cConnections > 1)
751 for (i = 0; i < cConnections; i++) {
755 cd[i].pUnk->AddRef();
760 return i == cConnections ? S_OK : S_FALSE;
int count(const T &t) const
Returns the number of occurrences of value in the list.
const T & at(int i) const
Returns the item at index position i in the list.
◆ QueryInterface()
STDMETHOD() QAxConnection::QueryInterface |
( |
REFIID |
iid, |
|
|
void ** |
iface |
|
) |
| |
|
inline |
Definition at line 671 of file qaxserverbase.cpp.
676 if (
iid == IID_IUnknown)
677 *iface = (IConnectionPoint*)
this;
678 else if (
iid == IID_IConnectionPoint)
680 else if (
iid == IID_IEnumConnections)
683 return E_NOINTERFACE;
unsigned long __stdcall AddRef()
◆ Release()
unsigned long __stdcall QAxConnection::Release |
( |
| ) |
|
|
inline |
◆ Reset()
STDMETHOD() QAxConnection::Reset |
( |
| ) |
|
|
inline |
◆ Skip()
STDMETHOD() QAxConnection::Skip |
( |
ULONG |
cConnections | ) |
|
|
inline |
Definition at line 762 of file qaxserverbase.cpp.
765 while (cConnections) {
int count(const T &t) const
Returns the number of occurrences of value in the list.
◆ Unadvise()
STDMETHOD() QAxConnection::Unadvise |
( |
DWORD |
dwCookie | ) |
|
|
inline |
Definition at line 718 of file qaxserverbase.cpp.
721 for (
int i = 0; i < count; ++i) {
729 return CONNECT_E_NOCONNECTION;
int count(const T &t) const
Returns the number of occurrences of value in the list.
const T & at(int i) const
Returns the item at index position i in the list.
void removeAt(int i)
Removes the item at index position i.
◆ connections
◆ current
int QAxConnection::current |
|
private |
◆ iid
◆ ref
unsigned long QAxConnection::ref |
|
private |
◆ refCountSection
CRITICAL_SECTION QAxConnection::refCountSection |
|
private |
◆ that
The documentation for this class was generated from the following file: