Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

DC_DummyDataPoolControlBlock Class Reference

#include <DC_DummyDataPoolControlBlock.h>

Inheritance diagram for DC_DummyDataPoolControlBlock:

DataPoolControlBlock ControlBlock CC_RootObject List of all members.

Detailed Description

Dummy data pool control block useful for testing purposes.

This control block has three inputs, two outputs, one state and two parameters. The state propagation function is as follows:<PRE> x[0](k+1) = p[0]*x[0](k) + u[0](k) + u[1](k) + u[2](k); The output update function is as follows:<PRE> y[0](k) = x[0](k); y[1](k) = p[1]*x[0](k);

Author:
Roberto Totaro
Version:
1.0

Definition at line 29 of file DC_DummyDataPoolControlBlock.h.

Public Member Functions

 DC_DummyDataPoolControlBlock (void)
 Configure the control block to have three inputs, two outputs, one state and two parameters, and set the class identifier.

virtual void reset (void)
 Reset the control block by setting the state value to 1.0.


Protected Member Functions

virtual void propagateState (void)
 Implement the state propagation function.

virtual void updateOutput (void)
 Implement the output update function.


Constructor & Destructor Documentation

DC_DummyDataPoolControlBlock::DC_DummyDataPoolControlBlock void   ) 
 

Configure the control block to have three inputs, two outputs, one state and two parameters, and set the class identifier.

The reset method is called to initialize the internal state of the control block.

Definition at line 20 of file DC_DummyDataPoolControlBlock.cpp.


Member Function Documentation

void DC_DummyDataPoolControlBlock::propagateState void   )  [protected, virtual]
 

Implement the state propagation function.

See also:
ControlBlock::propagate

Implements ControlBlock.

Definition at line 31 of file DC_DummyDataPoolControlBlock.cpp.

void DC_DummyDataPoolControlBlock::updateOutput void   )  [protected, virtual]
 

Implement the output update function.

See also:
ControlBlock::propagate

Implements ControlBlock.

Definition at line 40 of file DC_DummyDataPoolControlBlock.cpp.


The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved