Embedded Template Library  1.0
etl::message_producer Class Reference

This router can be used as a producer-only of messages, such an interrupt routine. More...

#include <message_router_generator.h>

Public Member Functions

 message_producer (etl::message_router_id_t id_)
 
void receive (const etl::imessage &) ETL_OVERRIDE
 
void receive (etl::imessage_router &, const etl::imessage &) ETL_OVERRIDE
 
void receive (imessage_router &, etl::message_router_id_t, const etl::imessage &) ETL_OVERRIDE
 
bool accepts (etl::message_id_t) const ETL_OVERRIDE
 
ETL_DEPRECATED bool is_null_router () const ETL_OVERRIDE
 
bool is_producer () const ETL_OVERRIDE
 
bool is_consumer () const ETL_OVERRIDE
 
 message_producer (etl::message_router_id_t id_)
 
void receive (const etl::imessage &) ETL_OVERRIDE
 
void receive (etl::imessage_router &, const etl::imessage &) ETL_OVERRIDE
 
void receive (imessage_router &, etl::message_router_id_t, const etl::imessage &) ETL_OVERRIDE
 
bool accepts (etl::message_id_t) const ETL_OVERRIDE
 
ETL_DEPRECATED bool is_null_router () const ETL_OVERRIDE
 
bool is_producer () const ETL_OVERRIDE
 
bool is_consumer () const ETL_OVERRIDE
 
- Public Member Functions inherited from etl::imessage_router
bool accepts (const etl::imessage &msg) const
 
etl::message_router_id_t get_message_router_id () const
 
void set_successor (imessage_router &successor_)
 
imessage_routerget_successor () const
 
bool has_successor () const
 
bool accepts (const etl::imessage &msg) const
 
etl::message_router_id_t get_message_router_id () const
 
void set_successor (imessage_router &successor_)
 
imessage_routerget_successor () const
 
bool has_successor () const
 

Additional Inherited Members

- Public Types inherited from etl::imessage_router
enum  { NULL_MESSAGE_ROUTER = 255 , MESSAGE_BUS = 254 , ALL_MESSAGE_ROUTERS = 253 , MAX_MESSAGE_ROUTER = 249 }
 
enum  { NULL_MESSAGE_ROUTER = 255 , MESSAGE_BUS = 254 , ALL_MESSAGE_ROUTERS = 253 , MAX_MESSAGE_ROUTER = 249 }
 
- Protected Member Functions inherited from etl::imessage_router
 imessage_router (etl::message_router_id_t id_)
 
 imessage_router (etl::message_router_id_t id_, imessage_router &successor_)
 
 imessage_router (etl::message_router_id_t id_)
 
 imessage_router (etl::message_router_id_t id_, imessage_router &successor_)
 

Detailed Description

This router can be used as a producer-only of messages, such an interrupt routine.


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