copasi API
0.1
|
#include <COutputHandler.h>
Public Member Functions | |
COutputHandler () | |
COutputHandler (const COutputHandler &src) | |
virtual | ~COutputHandler () |
virtual bool | compile (std::vector< CCopasiContainer * > listOfContainer, const CCopasiDataModel *pDataModel) |
virtual void | output (const Activity &activity) |
virtual void | separate (const Activity &activity) |
virtual void | finish () |
virtual void | addInterface (COutputInterface *pInterface) |
virtual void | removeInterface (COutputInterface *pInterface) |
void | setMaster (COutputHandler *pMaster) |
bool | isMaster () const |
std::set< COutputInterface * > | getInterfaces () const |
Protected Member Functions | |
void | refresh () |
bool | compileRefresh (const std::vector< CCopasiContainer * > &listOfContainer, const CCopasiDataModel *pDataModel) |
Protected Attributes | |
std::set< COutputInterface * > | mInterfaces |
COutputHandler * | mpMaster |
std::vector< Refresh * > | mObjectRefreshes |
This is the lass which drives all output of COPASI.
COutputHandler::COutputHandler | ( | ) |
Default Constructor
COutputHandler::COutputHandler | ( | const COutputHandler & | src | ) |
Copy constructor
const | COutputInterface & src |
COutputHandler::~COutputHandler | ( | ) | [virtual] |
Destructor
void COutputHandler::addInterface | ( | COutputInterface * | pInterface | ) | [virtual] |
Add an interface
COutputInterface | * pInterface; |
bool COutputHandler::compile | ( | std::vector< CCopasiContainer * > | listOfContainer, |
const CCopasiDataModel * | pDataModel | ||
) | [virtual] |
compile the object list from name vector
std::vector< | CCopasiContainer * > listOfContainer |
const | CCopasiDataModel* pDataModel |
Reimplemented from COutputInterface.
Reimplemented in COutputHandlerPlot.
bool COutputHandler::compileRefresh | ( | const std::vector< CCopasiContainer * > & | listOfContainer, |
const CCopasiDataModel * | pDataModel | ||
) | [protected] |
Compile the object refresh list
const | std::vector< CCopasiContainer * > & listOfContainer |
void COutputHandler::finish | ( | ) | [virtual] |
Finish the output
Reimplemented from COutputInterface.
std::set< COutputInterface * > COutputHandler::getInterfaces | ( | ) | const |
bool COutputHandler::isMaster | ( | ) | const |
Check whether the handler is a master
void COutputHandler::output | ( | const Activity & | activity | ) | [virtual] |
Perform an output event for the current activity
const | Activity & activity |
Reimplemented from COutputInterface.
void COutputHandler::refresh | ( | ) | [protected] |
Refresh all objects
void COutputHandler::removeInterface | ( | COutputInterface * | pInterface | ) | [virtual] |
void COutputHandler::separate | ( | const Activity & | activity | ) | [virtual] |
Introduce an additional separator into the output
const | Activity & activity |
Reimplemented from COutputInterface.
void COutputHandler::setMaster | ( | COutputHandler * | pMaster | ) |
Set whether the handler is the master handler
COutputHandler | * pMaster |
std::set<COutputInterface *> COutputHandler::mInterfaces [protected] |
A list of all active output interfaces.
std::vector< Refresh * > COutputHandler::mObjectRefreshes [protected] |
An ordered list of refresh methods needed by the master
COutputHandler* COutputHandler::mpMaster [protected] |
Points to the master handler. The master handler is responsible for the and object updates and all the output.