hmbdc
simplify-high-performance-messaging-programming
Public Member Functions | Static Public Member Functions | List of all members
hmbdc::app::utils::changeSched Struct Reference
Inheritance diagram for hmbdc::app::utils::changeSched:
hmbdc::app::Client< changeSched > hmbdc::app::detail::single_thread_powered_client hmbdc::app::MessageHandler< changeSched, Messages... > hmbdc::pattern::PoolConsumer

Public Member Functions

void messageDispatchingStartedCb (uint16_t threadSerialNumber) override
 
bool droppedCb () override
 
- Public Member Functions inherited from hmbdc::app::Client< changeSched >
 Client ()
 trivial constructor
 
void messageDispatchingStartedCb (uint16_t threadSerialNumber) override
 called before any messages got dispatched - only once More...
 
void stoppedCb (std::exception const &e) override
 callback called when this Client is taken out of message dispatching More...
 
bool droppedCb () override
 callback called after the Client is safely taken out of the Context More...
 
void invokedCb (uint16_t threadSerialNumber) override
 this callback is called all the time (frequently) More...
 
char const * hmbdcName () const
 return the name of thread that runs this client, override if necessary More...
 
std::tuple< char const *, int > schedSpec () const
 an overrideable method. returns the schedule policy and priority, override if necessary priority is only used when policy is "SCHED_RR", or "SCHED_FIFO" More...
 
size_t maxBatchMessageCount () const
 an overridable method. client receives events in batches and the max batch size is controllable when running in direct mode Context. Here is to specify the max size. More...
 
void handleRangeImpl (BufIt &it, BufIt const &end, uint16_t threadSerialNumber) override
 internal use, don't change or override
 
- Public Member Functions inherited from hmbdc::app::MessageHandler< changeSched, Messages... >
void handleMessage (MessageHead &w)
 
- Public Member Functions inherited from hmbdc::pattern::PoolConsumer
 PoolConsumer (bool interestedInMessages=true)
 
void stopped (std::exception const &) noexcept
 
bool dropped () noexcept
 
void messageDispatchingStarted (uint16_t threadId)
 
void invoked (uint16_t threadId)
 

Static Public Member Functions

static auto & to (char const *policy, int priority)
 
- Static Public Member Functions inherited from hmbdc::app::MessageHandler< changeSched, Messages... >
static void tryDispatch (changeSched *p, MessageHead &w)
 

Additional Inherited Members

- Public Types inherited from hmbdc::app::Client< changeSched >
enum  
 
- Protected Types inherited from hmbdc::pattern::PoolConsumer
using BufIt = lf_misc::iterator< HMBDC_SEQ_TYPE >
 

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