soui 5.0.0.1
 
Loading...
Searching...
No Matches
IEvtSlot Struct Reference
Inheritance diagram for IEvtSlot:
IObjRef TObjRefImpl< IEvtSlot > FreeFunctionSlot MemberFunctionSlot< T, A > StdFunctionSlot

Public Member Functions

long AddRef () PURE
 添加引用
 
long Release () PURE
 释放引用
 
void OnFinalRelease () PURE
 释放对象
 
BOOL Run (IEvtArgs *pArg) PURE
 执行事件
 
IEvtSlotClone () SCONST PURE
 clone一个事件槽
 
BOOL Equal (const IEvtSlot *sour) SCONST PURE
 判断两个IEvtSlot是否相等
 
UINT GetSlotType () SCONST PURE
 获取IEvtSlot类型
 
- Public Member Functions inherited from IObjRef
long AddRef () PURE
 Increases the reference count.
 
long Release () PURE
 Decreases the reference count.
 
void OnFinalRelease () PURE
 Called when the reference count reaches zero and the object is about to be released.
 

Detailed Description

Definition at line 90 of file SEvtArgs-i.h.

Member Function Documentation

◆ AddRef()

long IEvtSlot::AddRef ( )

添加引用

Returns
long - 当前引用计数

◆ Clone()

IEvtSlot * IEvtSlot::Clone ( )

clone一个事件槽

Returns
IEvtSlot * clone出来的对象

◆ Equal()

BOOL IEvtSlot::Equal ( const IEvtSlot * sour)

判断两个IEvtSlot是否相等

Parameters
sourIEvtSlot * 比较的IEvtSlot
Returns
BOOL TRUE–相等, FALSE–不相等

◆ GetSlotType()

UINT IEvtSlot::GetSlotType ( )

获取IEvtSlot类型

Returns
UINT IEvtSlot类型

◆ OnFinalRelease()

void IEvtSlot::OnFinalRelease ( )

释放对象

Returns
void

◆ Release()

long IEvtSlot::Release ( )

释放引用

Returns
long - 当前引用计数

◆ Run()

BOOL IEvtSlot::Run ( IEvtArgs * pArg)

执行事件

Parameters
pArgIEvtArgs* 事件对象
Returns
BOOL TRUE–响应了事件,事件对象增加使用计数, FALSE–事件没有响应

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