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

DC_DummyDataItemControlBlock Class Reference

#include <DC_DummyDataItemControlBlock.h>

Inheritance diagram for DC_DummyDataItemControlBlock:

DataItemControlBlock ControlBlock CC_RootObject List of all members.

Detailed Description

Dummy data item 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_DummyDataItemControlBlock.h.

Public Member Functions

 DC_DummyDataItemControlBlock (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_DummyDataItemControlBlock::DC_DummyDataItemControlBlock 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_DummyDataItemControlBlock.cpp.


Member Function Documentation

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

Implement the state propagation function.

See also:
ControlBlock::propagate

Implements ControlBlock.

Definition at line 31 of file DC_DummyDataItemControlBlock.cpp.

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

Implement the output update function.

See also:
ControlBlock::propagate

Implements ControlBlock.

Definition at line 38 of file DC_DummyDataItemControlBlock.cpp.


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