Choreonoid  1.8
Public Member Functions | Static Public Member Functions | List of all members
cnoid::UnifiedEditHistory Class Reference

#include <UnifiedEditHistory.h>

Public Member Functions

int numRecords () const
 
EditRecordrecord (int index)
 
void addRecord (EditRecordPtr record)
 
void beginEditGroup (const std::string &label)
 
void endEditGroup ()
 
int currentPosition () const
 
bool undo ()
 
bool redo ()
 
void clear ()
 
SignalProxy< void()> sigHistoryUpdated ()
 
SignalProxy< void(int position)> sigCurrentPositionChanged ()
 

Static Public Member Functions

static void initializeClass (ExtensionManager *ext)
 
static UnifiedEditHistoryinstance ()
 

Member Function Documentation

◆ addRecord()

void UnifiedEditHistory::addRecord ( EditRecordPtr  record)

◆ beginEditGroup()

void UnifiedEditHistory::beginEditGroup ( const std::string &  label)

◆ clear()

void UnifiedEditHistory::clear ( )

◆ currentPosition()

int UnifiedEditHistory::currentPosition ( ) const

◆ endEditGroup()

void UnifiedEditHistory::endEditGroup ( )

◆ initializeClass()

void UnifiedEditHistory::initializeClass ( ExtensionManager ext)
static

◆ instance()

UnifiedEditHistory * UnifiedEditHistory::instance ( )
static

◆ numRecords()

int UnifiedEditHistory::numRecords ( ) const

◆ record()

EditRecord * UnifiedEditHistory::record ( int  index)
Note
Index 0 is the latest record

◆ redo()

bool UnifiedEditHistory::redo ( )

◆ sigCurrentPositionChanged()

SignalProxy< void(int position)> UnifiedEditHistory::sigCurrentPositionChanged ( )

◆ sigHistoryUpdated()

SignalProxy< void()> UnifiedEditHistory::sigHistoryUpdated ( )

◆ undo()

bool UnifiedEditHistory::undo ( )

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