NetBurner 3.5.7
PDF Version
NBRtosInitObj Class Referenceabstract

Base class for objects that require RTOS initialization before use. More...

#include <nbrtos.h>

Public Member Functions

virtual void Notify ()=0
 Called once the RTOS has completed initialization.
 

Detailed Description

Base class for objects that require RTOS initialization before use.

Derive from this class when you need to create globally-scoped objects that depend on the RTOS being initialized (e.g. creating tasks, allocating buffers). The pure virtual Notify() method is called automatically once the RTOS internals are fully set up, providing a safe point to perform RTOS-dependent initialization.

Note
If you need to perform network I/O, this class alone is not sufficient. You must also register to be notified when the network link becomes active on the interface.
See also
NetInterface::LinkActiveFuncPtr

Member Function Documentation

◆ Notify()

virtual void NBRtosInitObj::Notify ( )
pure virtual

Called once the RTOS has completed initialization.

Override this method to perform RTOS-dependent setup such as creating tasks or allocating system buffers.


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