Cadabra
Computer algebra system for field theory problems
Public Member Functions | List of all members
cadabra2_defaults.Server Class Reference

Description

Object to handle advanced display in a UI-independent way.

Cadabra makes available to Python a Server object, which contains functions to send output to the user. When running from the command line this simply prints to the screen, but it can talk to a remote client to display images and maths.

Inheritance diagram for cadabra2_defaults.Server:
ProgressMonitor

Public Member Functions

def send (self, data, typestr, parent_id, last_in_sequence)
 
def architecture (self)
 
def test (self)
 
def handles (self, otype)
 
- Public Member Functions inherited from ProgressMonitor
 ProgressMonitor ()
 
virtual ~ProgressMonitor ()
 
virtual void group (std::string name="")
 
virtual void progress (int n, int total)
 
void print () const
 
std::vector< Totaltotals () const
 

Member Function Documentation

◆ architecture()

def cadabra2_defaults.Server.architecture (   self)

◆ handles()

def cadabra2_defaults.Server.handles (   self,
  otype 
)

◆ send()

def cadabra2_defaults.Server.send (   self,
  data,
  typestr,
  parent_id,
  last_in_sequence 
)
Send a message to the client; 'typestr' indicates the cell type,
'parent_id', if non-null, indicates the serial number of the parent
cell.

◆ test()

def cadabra2_defaults.Server.test (   self)

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