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

Description

The Cadabra notebook application.

#include <Cadabra.hh>

Inheritance diagram for Cadabra:

Public Member Functions

bool open_help (const std::string &filename, const std::string &title)
 

Static Public Member Functions

static Glib::RefPtr< Cadabracreate (int, char **)
 

Protected Member Functions

 Cadabra (int, char **)
 
virtual ~Cadabra ()
 
virtual void on_activate () override
 
virtual void on_open (const Gio::Application::type_vec_files &files, const Glib::ustring &hint) override
 
int on_handle_local_options (const Glib::RefPtr< Glib::VariantDict > &)
 

Private Attributes

cadabra::ComputeThreadcompute
 
std::thread * compute_thread
 
int server_port
 
std::string server_token
 
std::string server_ip_address
 

Constructor & Destructor Documentation

◆ Cadabra()

Cadabra::Cadabra ( int  argc,
char **  argv 
)
protected

◆ ~Cadabra()

Cadabra::~Cadabra ( )
protectedvirtual

Member Function Documentation

◆ create()

Glib::RefPtr< Cadabra > Cadabra::create ( int  argc,
char **  argv 
)
static

◆ on_activate()

void Cadabra::on_activate ( )
overrideprotectedvirtual

◆ on_handle_local_options()

int Cadabra::on_handle_local_options ( const Glib::RefPtr< Glib::VariantDict > &  options)
protected

◆ on_open()

void Cadabra::on_open ( const Gio::Application::type_vec_files &  files,
const Glib::ustring &  hint 
)
overrideprotectedvirtual

◆ open_help()

bool Cadabra::open_help ( const std::string &  filename,
const std::string &  title 
)

Member Data Documentation

◆ compute

cadabra::ComputeThread* Cadabra::compute
private

◆ compute_thread

std::thread* Cadabra::compute_thread
private

◆ server_ip_address

std::string Cadabra::server_ip_address
private

◆ server_port

int Cadabra::server_port
private

◆ server_token

std::string Cadabra::server_token
private

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