engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | 所有成员列表
IMessageTracer类 参考abstract

Interface for message tracers. 更多...

#include <IMessageTracer.h>

Public 成员函数

virtual void Break ()=0
 Breaks message routing. 更多...
 
virtual void Continue ()=0
 Starts the tracer or continues message routing from the current breakpoint. 更多...
 
 DECLARE_EVENT_OneParam (IMessageTracer, FOnMessageAdded, FMessageTracerMessageInfoRef) virtual FOnMessageAdded &OnMessageAdded()=0
 A delegate that is executed when the collection of known messages has changed. 更多...
 
 DECLARE_EVENT_OneParam (IMessageTracer, FOnTypeAdded, FMessageTracerTypeInfoRef) virtual FOnTypeAdded &OnTypeAdded()=0
 A delegate that is executed when the collection of known messages types has changed. 更多...
 
virtual int32 GetEndpoints (TArray< TSharedPtr< FMessageTracerEndpointInfo > > &OutEndpoints) const =0
 Gets the list of known message endpoints. 更多...
 
virtual int32 GetMessages (TArray< TSharedPtr< FMessageTracerMessageInfo > > &OutMessages) const =0
 Gets the collection of known messages. 更多...
 
virtual int32 GetMessageTypes (TArray< TSharedPtr< FMessageTracerTypeInfo > > &OutTypes) const =0
 Gets the list of known message types filtered by name. 更多...
 
virtual bool HasMessages () const =0
 Checks whether there are any messages in the history. 更多...
 
virtual bool IsBreaking () const =0
 Checks whether the tracer is currently at a breakpoint. 更多...
 
virtual bool IsRunning () const =0
 Checks whether the tracer is currently running. 更多...
 
virtual FOnMessagesReset & OnMessagesReset ()=0
 A delegate that is executed when the message history has been reset. 更多...
 
virtual void Reset ()=0
 Resets the tracer.
 
virtual void Step ()=0
 Steps the tracer to the next message. 更多...
 
virtual void Stop ()=0
 Stops the tracer. 更多...
 
virtual bool Tick (float DeltaTime)=0
 Ticks the tracer. 更多...
 

Protected 成员函数

virtual ~IMessageTracer ()
 Hidden destructor. 更多...
 

详细描述

Interface for message tracers.

This interface provides access to the message tracer that is built into a message bus. Message tracers are able to monitor and record all activities on a message bus. This includes the sending and receiving of messages, the registering and unregistering of message endpoints and interceptors and adding and removal of subscriptions.

构造及析构函数说明

◆ ~IMessageTracer()

virtual IMessageTracer::~IMessageTracer ( )
inlineprotectedvirtual

Hidden destructor.

The life time of a message tracer is managed by the message bus.

成员函数说明

◆ Break()

virtual void IMessageTracer::Break ( )
pure virtual

Breaks message routing.

参见
Continue, IsBreaking, Step

◆ Continue()

virtual void IMessageTracer::Continue ( )
pure virtual

Starts the tracer or continues message routing from the current breakpoint.

参见
Break, Step

◆ DECLARE_EVENT_OneParam() [1/2]

IMessageTracer::DECLARE_EVENT_OneParam ( IMessageTracer  ,
FOnMessageAdded  ,
FMessageTracerMessageInfoRef   
) &
pure virtual

A delegate that is executed when the collection of known messages has changed.

返回
The delegate.

◆ DECLARE_EVENT_OneParam() [2/2]

IMessageTracer::DECLARE_EVENT_OneParam ( IMessageTracer  ,
FOnTypeAdded  ,
FMessageTracerTypeInfoRef   
) &
pure virtual

A delegate that is executed when the collection of known messages types has changed.

返回
The delegate.

◆ GetEndpoints()

virtual int32 IMessageTracer::GetEndpoints ( TArray< TSharedPtr< FMessageTracerEndpointInfo > > &  OutEndpoints) const
pure virtual

Gets the list of known message endpoints.

参数
OutEndpointsWill contain the list of endpoints.
返回
The number of endpoints returned.

◆ GetMessages()

virtual int32 IMessageTracer::GetMessages ( TArray< TSharedPtr< FMessageTracerMessageInfo > > &  OutMessages) const
pure virtual

Gets the collection of known messages.

返回
The messages.

◆ GetMessageTypes()

virtual int32 IMessageTracer::GetMessageTypes ( TArray< TSharedPtr< FMessageTracerTypeInfo > > &  OutTypes) const
pure virtual

Gets the list of known message types filtered by name.

参数
NameFilterThe name substring to filter with.
OutTypesWill contain the list of message types.
返回
The number of message types returned.

◆ HasMessages()

virtual bool IMessageTracer::HasMessages ( ) const
pure virtual

Checks whether there are any messages in the history.

返回
true if there are messages, false otherwise.

◆ IsBreaking()

virtual bool IMessageTracer::IsBreaking ( ) const
pure virtual

Checks whether the tracer is currently at a breakpoint.

返回
true if at breakpoint, false otherwise.
参见
Break, IsRunning

◆ IsRunning()

virtual bool IMessageTracer::IsRunning ( ) const
pure virtual

Checks whether the tracer is currently running.

返回
true if the tracer is running, false otherwise.
参见
Continue, IsBreaking, Stop

◆ OnMessagesReset()

virtual FOnMessagesReset & IMessageTracer::OnMessagesReset ( )
pure virtual

A delegate that is executed when the message history has been reset.

返回
The delegate.

◆ Step()

virtual void IMessageTracer::Step ( )
pure virtual

Steps the tracer to the next message.

参见
Break, Continue, Stop

◆ Stop()

virtual void IMessageTracer::Stop ( )
pure virtual

Stops the tracer.

参见
Continue, IsRunning, Step

◆ Tick()

virtual bool IMessageTracer::Tick ( float  DeltaTime)
pure virtual

Ticks the tracer.

参数
DeltaTimeThe time in seconds since the last tick.
返回
true if any events were processed.

该类的文档由以下文件生成: