TimeBuffer man page

TimeBuffer

Synopsis

Public Member Functions

void put (log_msg_t *msg)
log_msg_t * get (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:

minAge the 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:

msg the new message to add

Author

Generated automatically by Doxygen for LogService from the source code.

Info

Wed Aug 2 2017 LogService