#include <FsfRepository.h>
Public Member Functions | |
Creators | |
CRepository () | |
0-parameter constructor | |
~CRepository () | |
Destructor. | |
Manipulators | |
bool | connectCell (CCell *pCell) |
Adds the argument cell to this repository's list of connected cells. | |
bool | disconnectCell (CCell *pCell) |
Removes the argument cell from this repository's list of connected cells. | |
void | notifyPulseUpdate () |
Triggers passive filtering in all the cells in this repository's connected cells list. | |
void | replacePulse (CPassivePulse *pPulse, Time tNewTime=0) |
Replaces all the nodes in this repository's passive pulse with the subnodes of the argument's pulse. | |
CPassivePulse * | getPulse () |
Gets a pointer to this repository's (passive) pulse should really be const . |
Holds a single passive pulse, and keeps a list of pointers to connected cells. Note that connectors are not implemented as objects, but simply lists of pointers in the components. This results from the simplicity of the role played by connectors in the SAI style. In particular, they do not perform any computation. Repositorys also perform garbage collecting on their passive pulse when notified of a structural change by a connected cell.
CRepository::CRepository | ( | ) |
0-parameter constructor
CRepository::~CRepository | ( | ) |
Destructor.
bool CRepository::connectCell | ( | CCell * | pCell | ) |
Adds the argument cell to this repository's list of connected cells.
bool CRepository::disconnectCell | ( | CCell * | pCell | ) |
Removes the argument cell from this repository's list of connected cells.
CPassivePulse* fsf::CRepository::getPulse | ( | ) | [inline] |
Gets a pointer to this repository's (passive) pulse should really be const
.
void CRepository::notifyPulseUpdate | ( | ) |
Triggers passive filtering in all the cells in this repository's connected cells list.
void CRepository::replacePulse | ( | CPassivePulse * | pPulse, | |
Time | tNewTime = 0 | |||
) |
Replaces all the nodes in this repository's passive pulse with the subnodes of the argument's pulse.