GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Public Member Functions | List of all members
gd::ProjectBrowser Class Referenceabstract

Expose a subset of the project to workers. More...

#include <ProjectBrowser.h>

Inherited by gd::EventBasedBehaviorBrowser, gd::EventBasedObjectBrowser, and gd::WholeProjectBrowser.

Public Member Functions

virtual void ExposeEvents (gd::Project &project, gd::ArbitraryEventsWorker &worker) const =0
 Call the specified worker on all events of a project subset. More...
 
virtual void ExposeEvents (gd::Project &project, gd::ArbitraryEventsWorkerWithContext &worker) const =0
 Call the specified worker on all events of a project subset. More...
 
virtual void ExposeObjects (gd::Project &project, gd::ArbitraryObjectsWorker &worker) const =0
 Call the specified worker on all ObjectContainer of a project subset. More...
 
virtual void ExposeFunctions (gd::Project &project, gd::ArbitraryEventsFunctionsWorker &worker) const =0
 Call the specified worker on all FunctionsContainer of a project subset. More...
 
virtual void ExposeEventBasedBehaviors (gd::Project &project, gd::ArbitraryEventBasedBehaviorsWorker &worker) const =0
 Call the specified worker on all EventBasedBehavior of a project subset. More...
 
virtual void ExposeBehaviorSharedDatas (gd::Project &project, gd::ArbitraryBehaviorSharedDataWorker &worker) const =0
 Call the specified worker on all SharedData of a project subset. More...
 

Detailed Description

Expose a subset of the project to workers.

Member Function Documentation

◆ ExposeBehaviorSharedDatas()

virtual void gd::ProjectBrowser::ExposeBehaviorSharedDatas ( gd::Project project,
gd::ArbitraryBehaviorSharedDataWorker worker 
) const
pure virtual

Call the specified worker on all SharedData of a project subset.

This should be the preferred way to traverse all the shared data of a project.

Implemented in gd::WholeProjectBrowser, gd::EventBasedObjectBrowser, and gd::EventBasedBehaviorBrowser.

◆ ExposeEventBasedBehaviors()

virtual void gd::ProjectBrowser::ExposeEventBasedBehaviors ( gd::Project project,
gd::ArbitraryEventBasedBehaviorsWorker worker 
) const
pure virtual

Call the specified worker on all EventBasedBehavior of a project subset.

This should be the preferred way to traverse all the event-based behavior of a project.

Implemented in gd::WholeProjectBrowser, gd::EventBasedObjectBrowser, and gd::EventBasedBehaviorBrowser.

◆ ExposeEvents() [1/2]

virtual void gd::ProjectBrowser::ExposeEvents ( gd::Project project,
gd::ArbitraryEventsWorker worker 
) const
pure virtual

Call the specified worker on all events of a project subset.

This should be the preferred way to traverse events of a project.

Implemented in gd::WholeProjectBrowser, gd::EventBasedObjectBrowser, and gd::EventBasedBehaviorBrowser.

◆ ExposeEvents() [2/2]

virtual void gd::ProjectBrowser::ExposeEvents ( gd::Project project,
gd::ArbitraryEventsWorkerWithContext worker 
) const
pure virtual

Call the specified worker on all events of a project subset.

This should be the preferred way to traverse events of a project.

Implemented in gd::WholeProjectBrowser, gd::EventBasedObjectBrowser, and gd::EventBasedBehaviorBrowser.

◆ ExposeFunctions()

virtual void gd::ProjectBrowser::ExposeFunctions ( gd::Project project,
gd::ArbitraryEventsFunctionsWorker worker 
) const
pure virtual

Call the specified worker on all FunctionsContainer of a project subset.

This should be the preferred way to traverse all the function signatures of a project.

Implemented in gd::WholeProjectBrowser, gd::EventBasedObjectBrowser, and gd::EventBasedBehaviorBrowser.

◆ ExposeObjects()

virtual void gd::ProjectBrowser::ExposeObjects ( gd::Project project,
gd::ArbitraryObjectsWorker worker 
) const
pure virtual

Call the specified worker on all ObjectContainer of a project subset.

This should be the preferred way to traverse all the objects of a project.

Implemented in gd::WholeProjectBrowser, gd::EventBasedObjectBrowser, and gd::EventBasedBehaviorBrowser.


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