#include <PsControlParameter.h>
Inheritance diagram for PsControlParameter< Type >:


Public Methods | |
| PsControlParameter (PsSimulatedObject &owner, const PsName &attributeName, const PsEventIdentifier &eventId) | |
| contructor, with the associated envent Id | |
| const PsEventIdentifier & | getAssociatedEventId () const |
| get the event id of the sent event when a change occurs on the connected output | |
| virtual const Type & | getLastExactValue (void) const=0 |
| get the last approved value of this control parameter | |
| virtual const PsDate & | getDateOfLastExactValue (void) const=0 |
| get the last approved value of this control parameter | |
| virtual void | set (const Type &val)=0 |
| suggest a new value to this control parameter | |
| virtual const Type & | get () const=0 |
| read the last available value if the control parameter | |
| virtual bool | connect (const PsName &objectName, const PsName &inputName)=0 |
| connect the control parameter to a public input of another object | |
| virtual bool | connect (PsSimulatedObject &object, const PsName &inputName)=0 |
| connect the control parameter to a public input of another object | |
| virtual bool | connect (PsSimulatedObject *pointerToObject, const PsName &inputName)=0 |
| connect the control parameter to a public input of another object | |
Protected Methods | |
| virtual void | realSet (const Type &val)=0 |
| really change the value in the history | |
Protected Attributes | |
| PsEventIdentifier | _associatedEventId |
| event id of the sent event when a change occurs on the control parameter | |
Friends | |
| class | PsChangedControlParameterEventListener< Type > |
this class is "template " where type must derive from PsType
Definition at line 44 of file PsControlParameter.h.
|
||||||||||||||||||||
|
contructor, with the associated envent Id
Definition at line 48 of file PsControlParameter.h.
00049 : 00050 PsAttribute (owner, attributeName), 00051 _associatedEventId (eventId) 00052 { 00053 //cerr<<"PsControlParameter: "<<_associatedEventId<<endl; } |
|
||||||||||||||||
|
connect the control parameter to a public input of another object
Implemented in PsGenericControlParameter< Type, AncestorClass >. |
|
||||||||||||||||
|
connect the control parameter to a public input of another object
Implemented in PsGenericControlParameter< Type, AncestorClass >. |
|
||||||||||||||||
|
connect the control parameter to a public input of another object
Implemented in PsGenericControlParameter< Type, AncestorClass >. |
|
|||||||||
|
read the last available value if the control parameter
Implemented in PsGenericControlParameter< Type, AncestorClass >. |
|
|||||||||
|
get the event id of the sent event when a change occurs on the connected output
Definition at line 56 of file PsControlParameter.h. Referenced by PsGenericControlParameter< Type, AncestorClass >::set().
00058 {
00059 return _associatedEventId ;
|
|
||||||||||
|
get the last approved value of this control parameter
Implemented in PsGenericControlParameter< Type, AncestorClass >. |
|
||||||||||
|
get the last approved value of this control parameter
Implemented in PsGenericControlParameter< Type, AncestorClass >. |
|
||||||||||
|
really change the value in the history
Implemented in PsGenericControlParameter< Type, AncestorClass >. |
|
||||||||||
|
suggest a new value to this control parameter
Implemented in PsControlParameterDuplique< Type >, and PsGenericControlParameter< Type, AncestorClass >. Referenced by PsControlParameterDuplique< Type >::computeNewValue(), and PsControlParameterDuplique< Type >::set(). |
|
|||||
|
Definition at line 102 of file PsControlParameter.h. |
|
|||||
|
event id of the sent event when a change occurs on the control parameter
Definition at line 109 of file PsControlParameter.h. |
| Documentation generated on Mon Nov 25 15:25:56 2002 |
Generated with doxygen 1.2.12 by Dimitri van Heesch , 1997-2001 |