NetBurner 3.5.7
PDF Version
TEMPL_Q< T > Struct Template Reference

Type-safe template wrapper around OS_Q for passing typed pointer messages. More...

#include <nbrtos.h>

Detailed Description

template<typename T>
struct TEMPL_Q< T >

Type-safe template wrapper around OS_Q for passing typed pointer messages.

Provides the same interface as OS_Q but casts messages to and from the specified pointer type, eliminating the need for manual void-pointer casts.

Template Parameters
TThe type of objects whose pointers will be stored in the queue.
See also
OS_Q, TEMPL_MBOX, TEMPL_FIFO

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