DDraceNetwork Docs
CEditorActionEnvelopeAdd Class Reference

#include <editor_actions.h>

Inheritance diagram for CEditorActionEnvelopeAdd:
[legend]
Collaboration diagram for CEditorActionEnvelopeAdd:
[legend]

Public Member Functions

 CEditorActionEnvelopeAdd (CEditor *pEditor, const std::shared_ptr< CEnvelope > &pEnv)
 
void Undo () override
 
void Redo () override
 
- Public Member Functions inherited from IEditorAction
 IEditorAction (CEditor *pEditor)
 
 IEditorAction ()=default
 
virtual ~IEditorAction ()=default
 
virtual void Undo ()=0
 
virtual void Redo ()=0
 
virtual bool IsEmpty ()
 
const char * DisplayText () const
 

Private Attributes

std::shared_ptr< CEnvelopem_pEnv
 

Additional Inherited Members

- Protected Attributes inherited from IEditorAction
CEditorm_pEditor
 
char m_aDisplayText [256]
 

Constructor & Destructor Documentation

◆ CEditorActionEnvelopeAdd()

CEditorActionEnvelopeAdd::CEditorActionEnvelopeAdd ( CEditor pEditor,
const std::shared_ptr< CEnvelope > &  pEnv 
)

Member Function Documentation

◆ Redo()

void CEditorActionEnvelopeAdd::Redo ( )
overridevirtual

Implements IEditorAction.

◆ Undo()

void CEditorActionEnvelopeAdd::Undo ( )
overridevirtual

Implements IEditorAction.

Member Data Documentation

◆ m_pEnv

std::shared_ptr<CEnvelope> CEditorActionEnvelopeAdd::m_pEnv
private

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