EchoMap
2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
Toggle main menu visibility
Loading...
Searching...
No Matches
ProjectPanel.hpp
1
//
2
// Created by owd on 25/06/2026.
3
//
4
5
#ifndef ECHOMAP_PROJECTPANEL_HPP
6
#define ECHOMAP_PROJECTPANEL_HPP
7
8
#include <sigc++/scoped_connection.h>
9
10
#include <
string
>
11
12
#include "
IProjectPanel.hpp
"
13
14
namespace
echomap
15
{
16
17
class
WorkerResultDespatcher
;
18
19
class
ProjectPanel
final :
public
IProjectPanel
20
{
21
public
:
27
explicit
ProjectPanel
(
const
Project
* initial_project =
nullptr
);
28
29
void
draw
()
noexcept
override
;
30
31
[[nodiscard]]
const
char
*
get_imgui_name
()
const
noexcept
override
;
32
33
void
change_active_project
(
const
Project
* new_project)
override
;
34
35
static
const
char
* get_imgui_stable_name()
noexcept
;
36
37
private
:
38
std::string
panel_name;
39
40
const
Project
* active_project =
nullptr
;
41
std::vector<sigc::scoped_connection>
connections;
42
};
43
44
}
// namespace echomap
45
46
#endif
// ECHOMAP_PROJECTPANEL_HPP
IProjectPanel.hpp
IProjectPanel specification.
std::string
echomap::IProjectPanel
An IPanel which can receive updates to the application-wide active Project.
Definition
IProjectPanel.hpp:24
echomap::ProjectPanel::draw
void draw() noexcept override
Draw the panel to the active rendering context.
Definition
ProjectPanel.cpp:24
echomap::ProjectPanel::change_active_project
void change_active_project(const Project *new_project) override
Updates the active Project being described by the IPanel.
Definition
ProjectPanel.cpp:55
echomap::ProjectPanel::get_imgui_name
const char * get_imgui_name() const noexcept override
Retrieves the name of the IPanel for Dear ImGui API functions.
Definition
ProjectPanel.cpp:50
echomap::ProjectPanel::ProjectPanel
ProjectPanel(const Project *initial_project=nullptr)
Create a new ProjectPanel to display Project metadata.
Definition
ProjectPanel.cpp:16
echomap::Project
Definition
Project.hpp:26
echomap::WorkerResultDespatcher
Manages channels for WorkerResult message routing.
Definition
WorkerResultDespatcher.hpp:27
echomap
The main EchoMap outermost namespace for all non-exported symbols.
Definition
ActionController.hpp:20
string
std::vector
src
panels
ProjectPanel.hpp
Generated by
1.17.0