Skip to content

sgns::AppDelegate

App delegate for the SuperGenius daemon node. More...

#include <app_delegate.hpp>

Public Functions

Name
AppDelegate()
~AppDelegate()
int init(int argc, char *const * argv)
Initializes the SuperGenius daemon node.
void run()
Runs the main loop of the SuperGenius daemon node.
void exit()
Signals the node to stop and exit the main loop.

Detailed Description

class sgns::AppDelegate;

App delegate for the SuperGenius daemon node.

Coordinates lifecycle for the node across platforms (including Android and iOS).

Public Functions Documentation

function AppDelegate

explicit AppDelegate()

function ~AppDelegate

~AppDelegate()

function init

int init(
    int argc,
    char *const * argv
)

Initializes the SuperGenius daemon node.

Parameters:

  • argc Count of CLI arguments.
  • argv Vector of CLI arguments.

Return: Error code (0 on success).

function run

void run()

Runs the main loop of the SuperGenius daemon node.

function exit

void exit()

Signals the node to stop and exit the main loop.


Updated on 2026-03-04 at 13:10:43 -0800