LMMS
Loading...
Searching...
No Matches
rtosc::UndoHistoryImpl Class Reference

Public Member Functions

 UndoHistoryImpl (void)
 ~UndoHistoryImpl (void)
void rewind (const char *msg)
void replay (const char *msg)
bool mergeEvent (time_t t, const char *msg, char *buf, size_t N)
void clear (void)

Public Attributes

std::deque< pair< time_t, const char * > > history
long history_pos
unsigned max_history_size
std::function< void(const char *)> cb

Constructor & Destructor Documentation

◆ UndoHistoryImpl()

rtosc::UndoHistoryImpl::UndoHistoryImpl ( void )
inline

◆ ~UndoHistoryImpl()

rtosc::UndoHistoryImpl::~UndoHistoryImpl ( void )
inline

Member Function Documentation

◆ clear()

void rtosc::UndoHistoryImpl::clear ( void )

◆ mergeEvent()

bool rtosc::UndoHistoryImpl::mergeEvent ( time_t t,
const char * msg,
char * buf,
size_t N )

◆ replay()

void rtosc::UndoHistoryImpl::replay ( const char * msg)

◆ rewind()

void rtosc::UndoHistoryImpl::rewind ( const char * msg)

Member Data Documentation

◆ cb

std::function<void(const char*)> rtosc::UndoHistoryImpl::cb

◆ history

std::deque<pair<time_t, const char *> > rtosc::UndoHistoryImpl::history

◆ history_pos

long rtosc::UndoHistoryImpl::history_pos

◆ max_history_size

unsigned rtosc::UndoHistoryImpl::max_history_size

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