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

DC_DummyCopyControlBlock Class Reference

#include <DC_DummyCopyControlBlock.h>

Inheritance diagram for DC_DummyCopyControlBlock:

CopyControlBlock ControlBlock CC_RootObject List of all members.

Detailed Description

Dummy 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:
Alessandro Pasetti (P&P Software GmbH)

Roberto Totaro

Version:
1.2

Definition at line 34 of file DC_DummyCopyControlBlock.h.

Public Member Functions

 DC_DummyCopyControlBlock (void)
 Configure the control block to have three inputs, two outputs, one state and two parameters, set the class identifier and call the reset service to initialize the internal state of the control block.

virtual void reset (void)
 Reset the control block by setting the state values to 1.0 and the inputs to 0.0.


Protected Member Functions

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

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


Member Function Documentation

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

Implement the state propagation function.

See also:
ControlBlock::propagate

Implements ControlBlock.

Definition at line 35 of file DC_DummyCopyControlBlock.cpp.

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

Implement the output update function.

See also:
ControlBlock::propagate

Implements ControlBlock.

Definition at line 41 of file DC_DummyCopyControlBlock.cpp.


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