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

DC_DummyPointerControlBlock Class Reference

#include <DC_DummyPointerControlBlock.h>

Inheritance diagram for DC_DummyPointerControlBlock:

PointerControlBlock ControlBlock CC_RootObject List of all members.

Detailed Description

Dummy pointer 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.1

Definition at line 32 of file DC_DummyPointerControlBlock.h.

Public Member Functions

 DC_DummyPointerControlBlock (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_DummyPointerControlBlock::DC_DummyPointerControlBlock 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 21 of file DC_DummyPointerControlBlock.cpp.


Member Function Documentation

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

Implement the state propagation function.

See also:
ControlBlock::propagate

Implements ControlBlock.

Definition at line 32 of file DC_DummyPointerControlBlock.cpp.

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

Implement the output update function.

See also:
ControlBlock::propagate

Implements ControlBlock.

Definition at line 38 of file DC_DummyPointerControlBlock.cpp.


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