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

Expose the whole project to workers. More...

#include <WholeProjectBrowser.h>

Inherits gd::ProjectBrowser.

Public Member Functions

void ExposeEvents (gd::Project &project, gd::ArbitraryEventsWorker &worker) const override
 Call the specified worker on all events of the project (layout, external events, events functions...) More...
 
void ExposeEvents (gd::Project &project, gd::ArbitraryEventsWorkerWithContext &worker) const override
 Call the specified worker on all events of the project (layout, external events, events functions...) More...
 
void ExposeObjects (gd::Project &project, gd::ArbitraryObjectsWorker &worker) const override
 Call the specified worker on all ObjectContainers of the project (global, layouts...) More...
 
void ExposeFunctions (gd::Project &project, gd::ArbitraryEventsFunctionsWorker &worker) const override
 Call the specified worker on all FunctionsContainers of the project (global, layouts...) More...
 
void ExposeEventBasedBehaviors (gd::Project &project, gd::ArbitraryEventBasedBehaviorsWorker &worker) const override
 Call the specified worker on all EventBasedBehavior of a project. More...
 
void ExposeBehaviorSharedDatas (gd::Project &project, gd::ArbitraryBehaviorSharedDataWorker &worker) const override
 Call the specified worker on all SharedData of a project. More...
 

Detailed Description

Expose the whole project to workers.

Member Function Documentation

◆ ExposeBehaviorSharedDatas()

void gd::WholeProjectBrowser::ExposeBehaviorSharedDatas ( gd::Project project,
gd::ArbitraryBehaviorSharedDataWorker worker 
) const
overridevirtual

Call the specified worker on all SharedData of a project.

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

Implements gd::ProjectBrowser.

◆ ExposeEventBasedBehaviors()

void gd::WholeProjectBrowser::ExposeEventBasedBehaviors ( gd::Project project,
gd::ArbitraryEventBasedBehaviorsWorker worker 
) const
overridevirtual

Call the specified worker on all EventBasedBehavior of a project.

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

Implements gd::ProjectBrowser.

◆ ExposeEvents() [1/2]

void gd::WholeProjectBrowser::ExposeEvents ( gd::Project project,
gd::ArbitraryEventsWorker worker 
) const
overridevirtual

Call the specified worker on all events of the project (layout, external events, events functions...)

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

Implements gd::ProjectBrowser.

◆ ExposeEvents() [2/2]

void gd::WholeProjectBrowser::ExposeEvents ( gd::Project project,
gd::ArbitraryEventsWorkerWithContext worker 
) const
overridevirtual

Call the specified worker on all events of the project (layout, external events, events functions...)

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

Implements gd::ProjectBrowser.

◆ ExposeFunctions()

void gd::WholeProjectBrowser::ExposeFunctions ( gd::Project project,
gd::ArbitraryEventsFunctionsWorker worker 
) const
overridevirtual

Call the specified worker on all FunctionsContainers of the project (global, layouts...)

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

Implements gd::ProjectBrowser.

◆ ExposeObjects()

void gd::WholeProjectBrowser::ExposeObjects ( gd::Project project,
gd::ArbitraryObjectsWorker worker 
) const
overridevirtual

Call the specified worker on all ObjectContainers of the project (global, layouts...)

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

Implements gd::ProjectBrowser.


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