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

Interface for the session manager. 更多...

#include <ISessionManager.h>

Public 成员函数

virtual void AddOwner (const FString &InOwner)=0
 Adds an owner whose sessions we are interested in 更多...
 
 DECLARE_EVENT_OneParam (ISessionManager, FSelectedSessionChangedEvent, const TSharedPtr< ISessionInfo > &) virtual FSelectedSessionChangedEvent &OnSelectedSessionChanged()=0
 Returns a delegate that is executed when the selected session changed. 更多...
 
 DECLARE_EVENT_ThreeParams (ISessionManager, FLogReceivedEvent, const TSharedRef< ISessionInfo > &, const TSharedRef< ISessionInstanceInfo > &, const TSharedRef< FSessionLogMessage > &)
 Returns a delegate that is executed when the selected session received a log message from one of its instances. 更多...
 
 DECLARE_EVENT_TwoParams (ISessionManager, FCanSelectSessionEvent, const TSharedPtr< ISessionInfo > &, bool &) virtual FCanSelectSessionEvent &OnCanSelectSession()=0
 Returns a delegate that is executed before a session is being selected. 更多...
 
 DECLARE_EVENT_TwoParams (ISessionManager, FInstanceSelectionChangedEvent, const TSharedPtr< ISessionInstanceInfo > &, bool) virtual FInstanceSelectionChangedEvent &OnInstanceSelectionChanged()=0
 Returns a delegate that is executed when an instance changes its selection state. 更多...
 
virtual const TArray< TSharedPtr< ISessionInstanceInfo > > & GetSelectedInstances () const =0
 Gets the collection of currently selected engine instances. 更多...
 
virtual const TSharedPtr< ISessionInfo > & GetSelectedSession () const =0
 Get the selected session - as chosen in the session browser 更多...
 
virtual void GetSessions (TArray< TSharedPtr< ISessionInfo > > &OutSessions) const =0
 Gets the list of all discovered sessions. 更多...
 
virtual bool IsInstanceSelected (const TSharedRef< ISessionInstanceInfo > &Instance) const =0
 Checks whether the given instance is currently selected. 更多...
 
virtual FSimpleMulticastDelegate & OnSessionInstanceUpdated ()=0
 Returns a delegate that is executed when a session instance is updated. 更多...
 
virtual FSimpleMulticastDelegate & OnSessionsUpdated ()=0
 Returns a delegate that is executed when the list of sessions has changed. 更多...
 
virtual void RemoveOwner (const FString &InOwner)=0
 Removes an owner whose sessions we are no longer interested in 更多...
 
virtual bool SelectSession (const TSharedPtr< ISessionInfo > &Session)=0
 Selects the specified session. 更多...
 
virtual bool SetInstanceSelected (const TSharedRef< ISessionInstanceInfo > &Instance, bool Selected)=0
 Marks the specified item as selected or unselected. 更多...
 
virtual ~ISessionManager ()
 Virtual destructor.
 

详细描述

Interface for the session manager.

成员函数说明

◆ AddOwner()

virtual void ISessionManager::AddOwner ( const FString &  InOwner)
pure virtual

Adds an owner whose sessions we are interested in

参数
InOwnerSession owner we want to view sessions from

◆ DECLARE_EVENT_OneParam()

ISessionManager::DECLARE_EVENT_OneParam ( ISessionManager  ,
FSelectedSessionChangedEvent  ,
const TSharedPtr< ISessionInfo > &   
) &
pure virtual

Returns a delegate that is executed when the selected session changed.

返回
The delegate.

◆ DECLARE_EVENT_ThreeParams()

ISessionManager::DECLARE_EVENT_ThreeParams ( ISessionManager  ,
FLogReceivedEvent  ,
const TSharedRef< ISessionInfo > &  ,
const TSharedRef< ISessionInstanceInfo > &  ,
const TSharedRef< FSessionLogMessage > &   
)

Returns a delegate that is executed when the selected session received a log message from one of its instances.

返回
The delegate.

◆ DECLARE_EVENT_TwoParams() [1/2]

ISessionManager::DECLARE_EVENT_TwoParams ( ISessionManager  ,
FCanSelectSessionEvent  ,
const TSharedPtr< ISessionInfo > &  ,
bool &   
) &
pure virtual

Returns a delegate that is executed before a session is being selected.

返回
The delegate.

◆ DECLARE_EVENT_TwoParams() [2/2]

ISessionManager::DECLARE_EVENT_TwoParams ( ISessionManager  ,
FInstanceSelectionChangedEvent  ,
const TSharedPtr< ISessionInstanceInfo > &  ,
bool   
) &
pure virtual

Returns a delegate that is executed when an instance changes its selection state.

返回
The delegate.

◆ GetSelectedInstances()

virtual const TArray< TSharedPtr< ISessionInstanceInfo > > & ISessionManager::GetSelectedInstances ( ) const
pure virtual

Gets the collection of currently selected engine instances.

返回
The selected instances.

◆ GetSelectedSession()

virtual const TSharedPtr< ISessionInfo > & ISessionManager::GetSelectedSession ( ) const
pure virtual

Get the selected session - as chosen in the session browser

返回
The session ID selected

◆ GetSessions()

virtual void ISessionManager::GetSessions ( TArray< TSharedPtr< ISessionInfo > > &  OutSessions) const
pure virtual

Gets the list of all discovered sessions.

参数
OutSessionsWill hold the collection of sessions.

◆ IsInstanceSelected()

virtual bool ISessionManager::IsInstanceSelected ( const TSharedRef< ISessionInstanceInfo > &  Instance) const
pure virtual

Checks whether the given instance is currently selected.

返回
true if the instance is selected, false otherwise.

◆ OnSessionInstanceUpdated()

virtual FSimpleMulticastDelegate & ISessionManager::OnSessionInstanceUpdated ( )
pure virtual

Returns a delegate that is executed when a session instance is updated.

返回
The delegate.

◆ OnSessionsUpdated()

virtual FSimpleMulticastDelegate & ISessionManager::OnSessionsUpdated ( )
pure virtual

Returns a delegate that is executed when the list of sessions has changed.

返回
The delegate.

◆ RemoveOwner()

virtual void ISessionManager::RemoveOwner ( const FString &  InOwner)
pure virtual

Removes an owner whose sessions we are no longer interested in

参数
InOwnerSession owner we want to remove

◆ SelectSession()

virtual bool ISessionManager::SelectSession ( const TSharedPtr< ISessionInfo > &  Session)
pure virtual

Selects the specified session.

参数
SessionThe session to the select (can be NULL to select none).
返回
true if the session was selected, false otherwise.

◆ SetInstanceSelected()

virtual bool ISessionManager::SetInstanceSelected ( const TSharedRef< ISessionInstanceInfo > &  Instance,
bool  Selected 
)
pure virtual

Marks the specified item as selected or unselected.

参数
InstanceThe instance to mark.
SelectedWhether the instance should be selected (true) or unselected (false).
返回
true if the instance was selected, false otherwise.

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