27 - (void)applicationDidStart:(
NXApplication *)application watchdogReset:(
BOOL)reset;
44 - (void)applicationWillTerminate:(
NXApplication *)application signal:(
int)signal;
134 - (void)setWorkers:(uint8_t)
workers;
150 - (void)terminateWithStatus:(
int)status;
223 Class delegateClass);
Objects found by keys, which can be changed.
NXRunLoop * runLoop()
Returns the application's run loop, to post events to.
Standard input and output over USB.
The watchdog, where there's one, which the run loop feeds as it runs.
id< NXApplicationDelegate > delegate()
Returns the delegate, which isn't retained.
NXApplicationFeatures
The features NXApplicationMain starts, which can be combined.
Defines the NXEventSource protocol, for what produces events for an application.
NXDeviceManager * deviceManager()
Returns the devices, such as the display, which NXApplicationMain made with NXApplicationFeatureDevic...
A worker on every core, rather than one.
int NXApplicationMain(int argc, char **argv, NXApplicationFeatures features, Class delegateClass)
Starts the system, parses the command line, and runs the shared application with a delegate...
bool BOOL
A Boolean value.
TERM, INT and QUIT terminate it, with 128 + the signal's number.
int run()
Runs the shared application, as -run does.
Dispatches events which are posted to it, on one or more workers, until it's shut down...
What an application tells its delegate.
NXArray * commandLineFlags()
Returns the NXArgument flags which can be given on the command line, for NXApplicationMain, which calls it on the delegate's class once the system has started.
NXApplication * sharedApplication()
Returns the application, which is made the first time, and never deallocated.
An ordered list of objects, which can be changed.
struct objc_class * Class
A pointer to a class definition.
Standard input and output over SEGGER RTT.
The base class for objects in the Foundation framework.
Defines the NXRunLoop class, which dispatches events on one or more cores.
struct objc_object * id
A pointer to an instance of a class.
uint8_t workers()
Returns the number of workers, which is 0 for one on every core.
The devices a program's built for, such as its display, as they're described in JSON, which NXApplicationMain makes with NXApplicationFeatureDevices, as -[NXApplication deviceManager].
NXMap * flags()
Returns the value of every flag given to NXApplicationMain, keyed by its long name, or nil if it wasn't started with it.
NXEnvironment * environment()
Returns the command line and the system, from NXApplicationMain, or nil if it wasn't started with it...
The Devices framework's NXDeviceManager, as -[NXApplication deviceManager], with the devices it's bui...
What a run loop tells its delegate.
The command line, and what the program and the system it runs on are.