BEAST - Free Software Audio Synthesizer and Tracker  0.10.0
bsestartup.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __BSE_CORE_HH__
3 #define __BSE_CORE_HH__
4 
5 #include <sfi/sfi.hh>
6 #include <bse/bseconfig.h>
7 
9 namespace Bse {
10 using namespace Rapicorn;
11 
13 class TaskRegistry { // FIXME: move this to IDL
14 public:
16  static void add (const std::string &name, int pid,
17  int tid = -1);
18  static bool remove (int tid);
19  static void update ();
20  static List list ();
21 };
22 
23 // == BSE Initialization ==
24 
25 SfiGlueContext* init_glue_context (const gchar *client, const std::function<void()> &caller_wakeup);
26 void init_async (int *argc, char **argv, const char *app_name, const StringVector &args = StringVector());
27 bool init_needed ();
28 
30 class AidaGlibSource : public GSource {
31 public:
32  static AidaGlibSource* create (Rapicorn::Aida::BaseConnection *connection);
33 };
34 
35 } // Bse
36 
37 #endif /* __BSE_CORE_HH__ */
SfiGlueContext * init_glue_context(const gchar *client, const std::function< void()> &caller_wakeup)
Create SFI glue layer context.
Definition: bsestartup.cc:17
The Bse namespace contains all functions of the synthesis engine.
Definition: bstbseutils.cc:88
Definition: bstserverapi.cc:585
The task registry keeps track of runtime threads for profiling and statistical purposes.
Definition: bsestartup.hh:13
STL class.
bool init_needed()
Check wether init_async() still needs to be called.
Definition: bsestartup.cc:34
A GSource implementation to attach an Aida::BaseConnection to a Glib main loop.
Definition: bsestartup.hh:30
STL class.
void init_async(int *argc, char **argv, const char *app_name, const StringVector &args)
Initialize and start BSE.
Definition: bsestartup.cc:27