copasi API  0.1
Classes | Public Member Functions
CMathEvent Class Reference

#include <CMathEvent.h>

Inheritance diagram for CMathEvent:
CCopasiContainer CCopasiObject

List of all members.

Classes

class  CAssignment

Public Member Functions

 CMathEvent (const CCopasiContainer *pParent=NULL)
 CMathEvent (const CMathEvent &src, const CCopasiContainer *pParent=NULL)
 ~CMathEvent ()
bool compile (const CEvent *pEvent, std::vector< CCopasiContainer * > listOfContainer)
void fire (const C_FLOAT64 &time, const bool &equality, CProcessQueue &processQueue)
void applyDelayRefreshes ()
void applyValueRefreshes ()
void applyDependentRefreshes ()
CMathTriggergetMathTrigger ()
const unsigned C_INT32 & getOrder () const
C_FLOAT64 getExecutionTime (const C_FLOAT64 &currentTime)

Constructor & Destructor Documentation

CMathEvent::CMathEvent ( const CCopasiContainer pParent = NULL)

Default constructor

Parameters:
constCCopasiContainer * pParent (default: NULL)
CMathEvent::CMathEvent ( const CMathEvent src,
const CCopasiContainer pParent = NULL 
)

Copy constructor

Parameters:
const CMathEvent &src
"constCCopasiContainer * pParent (default: NULL)
CMathEvent::~CMathEvent ( )

Destructor


Member Function Documentation

void CMathEvent::applyDelayRefreshes ( )

Apply all needed refreshes so that the delay expression are correctly calculated.

void CMathEvent::applyDependentRefreshes ( )

Apply all needed refreshes to update all values depending on the assignment targets.

void CMathEvent::applyValueRefreshes ( )

Apply all needed refreshes so that the assignment expressions are correctly calculated.

bool CMathEvent::compile ( const CEvent pEvent,
std::vector< CCopasiContainer * >  listOfContainer 
)

Compile the root finder

Parameters:
constCEvent * pEvent
std::vector<CCopasiContainer * > listOfContainer
void CMathEvent::fire ( const C_FLOAT64 &  time,
const bool &  equality,
CProcessQueue processQueue 
)

The event fires and the approriate actions are scheduled in the process queue.

Parameters:
constC_FLOAT64 & time
constbool & equality
CProcessQueue& processQueue
C_FLOAT64 CMathEvent::getExecutionTime ( const C_FLOAT64 &  currentTime)

Calculate the execution time

Parameters:
constC_FLOAT64 & currentTime
Returns:
C_FLOAT64 executionTime
CMathTrigger & CMathEvent::getMathTrigger ( )

Retrieve the trigger for this event.

Returns:
CMathTrigger & mathTrigger
const unsigned C_INT32 & CMathEvent::getOrder ( ) const

Retrieve the order in which this event shall be processed

Returns:
const unsigned C_INT32 & order

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines