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.
|
inlineprotectedvirtual |
Hidden destructor.
The life time of a message tracer is managed by the message bus.
|
pure virtual |
Breaks message routing.
|
pure virtual |
|
pure virtual |
A delegate that is executed when the collection of known messages has changed.
|
pure virtual |
A delegate that is executed when the collection of known messages types has changed.
|
pure virtual |
Gets the list of known message endpoints.
| OutEndpoints | Will contain the list of endpoints. |
|
pure virtual |
Gets the collection of known messages.
|
pure virtual |
Gets the list of known message types filtered by name.
| NameFilter | The name substring to filter with. |
| OutTypes | Will contain the list of message types. |
|
pure virtual |
Checks whether there are any messages in the history.
|
pure virtual |
|
pure virtual |
Checks whether the tracer is currently running.
|
pure virtual |
A delegate that is executed when the message history has been reset.
|
pure virtual |
|
pure virtual |
Ticks the tracer.
| DeltaTime | The time in seconds since the last tick. |