Cadabra
Computer algebra system for field theory problems
Public Member Functions | Private Attributes | List of all members
cadabra_osx::NotebookWindow Class Reference

Description

Objective-C++ class implementing DocumentThread and providing an OS-X notebook interface.

#include <NotebookWindow.hh>

Inheritance diagram for cadabra_osx::NotebookWindow:

Public Member Functions

 NotebookWindow (NotebookController *)
 
virtual void add_cell (const DTree &, DTree::iterator, bool visible) override
 
virtual void remove_cell (const DTree &, DTree::iterator) override
 
virtual void update_cell (const DTree &, DTree::iterator) override
 
virtual void position_cursor (const DTree &, DTree::iterator) override
 
virtual void remove_all_cells () override
 
virtual void on_connect () override
 
virtual void on_disconnect () override
 
virtual void on_network_error () override
 
virtual void process_data () override
 

Private Attributes

NotebookControllercontroller
 
std::vector< NotebookCanvas * > canvasses
 
int current_canvas
 

Constructor & Destructor Documentation

◆ NotebookWindow()

NotebookWindow::NotebookWindow ( NotebookController nc)

Member Function Documentation

◆ add_cell()

void NotebookWindow::add_cell ( const DTree &  tr,
DTree::iterator  it,
bool  visible 
)
overridevirtual

◆ on_connect()

void NotebookWindow::on_connect ( )
overridevirtual

◆ on_disconnect()

void NotebookWindow::on_disconnect ( )
overridevirtual

◆ on_network_error()

void NotebookWindow::on_network_error ( )
overridevirtual

◆ position_cursor()

void NotebookWindow::position_cursor ( const DTree &  ,
DTree::iterator   
)
overridevirtual

◆ process_data()

void NotebookWindow::process_data ( )
overridevirtual

◆ remove_all_cells()

void NotebookWindow::remove_all_cells ( )
overridevirtual

◆ remove_cell()

void NotebookWindow::remove_cell ( const DTree &  ,
DTree::iterator   
)
overridevirtual

◆ update_cell()

void NotebookWindow::update_cell ( const DTree &  ,
DTree::iterator   
)
overridevirtual

Member Data Documentation

◆ canvasses

std::vector<NotebookCanvas *> cadabra_osx::NotebookWindow::canvasses
private

◆ controller

NotebookController* cadabra_osx::NotebookWindow::controller
private

◆ current_canvas

int cadabra_osx::NotebookWindow::current_canvas
private

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