VLCB
Loading...
Searching...
No Matches
VLCB::TimedResponse Class Reference

Manage tasks that respond with messages at timed intervals. More...

#include <TimedResponse.h>

Classes

class  Task

Public Types

enum  Result { PROGRESS , RETRY , FINISHED }

Public Member Functions

void add (Task *task)
void process ()
bool pendingTasks () const

Detailed Description

Manage tasks that respond with messages at timed intervals.

Users of this class add a task that sends a response message each time it is called. This avoids sending messages faster than the transport object can send them.

Member Enumeration Documentation

◆ Result

Enumerator
PROGRESS 
RETRY 
FINISHED 

Member Function Documentation

◆ add()

void VLCB::TimedResponse::add ( Task * task)
inline

◆ process()

void VLCB::TimedResponse::process ( )

◆ pendingTasks()

bool VLCB::TimedResponse::pendingTasks ( ) const
inline

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