ABSTRACT

Chapter 19 introduced the idea of signal propagation and block-based data operation using a SignalPropagationDirect() function in the CSystemModel class and a virtual OperateOnData() function in the CBlock class, respectively. The CConstantBlock and COutputBlock versions of OperateOnData() were shown to work in a simple example involving a Constant and an Output block connected by a single connection object containing CSignal data. Here, various overriding OperateOnData() functions are added, including any subsidiary functions to allow them to work, to some of the remaining CBlock-derived classes, in particular, CDerivativeBlock, CDivideBlock, CGainBlock, CIntegratorBlock, CLinearFnBlock, CSignalGeneratorBlock, and CSumBlock. The implementation of the data operation functions of the subsystem-related and Transfer Function blocks will be postponed till later.