LogService
libdadi: utility tools for distributed applications
Public Member Functions | List of all members
TimeBuffer Class Reference

Public Member Functions

void put (log_msg_t *msg)
 
log_msg_tget (log_time_t minAge)
 

Member Function Documentation

log_msg_t* TimeBuffer::get ( log_time_t  minAge)

Get the older msg if its age is older than the minAge, else get NULL

Parameters
minAgethe mininum age that messages must have to return one
Returns
a message or NULL
void TimeBuffer::put ( log_msg_t msg)

Put a new message in the buffer

Parameters
msgthe new message to add

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