Inheritance diagram for PsTestObject:


Public Methods | |
| PsTestObject (PsController &ctrl, const PsObjectDescriptor &descriptor) | |
| ~PsTestObject () | |
| virtual void | compute () |
| compute evolution of this object. | |
Definition at line 53 of file testObject.cxx.
|
||||||||||||
|
Definition at line 60 of file testObject.cxx.
00060 : 00061 PsSimulatedObject( ctrl , descriptor ) 00062 { 00063 list<const PsObjectDescriptor *> * alist = listSonsOfType<PsSimulatedObject> ( ) ; 00064 delete alist ; 00065 alist = listBrothersOfType<PsSimulatedObject> ( ) ; 00066 delete alist ; 00067 alist = listDescendantsOfType<PsSimulatedObject> ( ) ; 00068 delete alist ; 00069 00070 addInput<PsFloat> ("anInput", false, 2) ; 00071 addSensitiveInput<PsFloat> ("aSensitiveInput", false, 2) ; 00072 addSensitiveNotifyingInput<PsFloat> ("aSensitiveNotifyingInput", false, 2) ; 00073 addOutput<PsFloat>("anOutput"); 00074 addControlParameter<PsFloat> ("aControlParameter") ; 00075 00076 addInputAlias<PsFloat> ("anAlias","anObject","anObjectInput" ) ; 00077 addSensitiveInputAlias<PsFloat> ("aSensitiveAlias","anObject","anObjectInput" ) ; 00078 addSensitiveNotifyingInputAlias<PsFloat>("aSensitiveNotifyingAlias","anObject","anObjectInput" ) ; 00079 00080 addOutputAlias<PsFloat> ("anOutputALias","anObject","AnObjectOutput" ) ; 00081 00082 generateAndAddInstanceCreatorFor<PsTestObject> ("testObject"); 00083 } |
|
|
Definition at line 85 of file testObject.cxx.
00085 {
00086
00087 }
|
|
|
compute evolution of this object.
Reimplemented from PsSimulatedObject. Definition at line 90 of file testObject.cxx. References PsSimulatedObject::fireValuedSignal(), PsSimulatedObject::getName(), PsInt, and PsSimulatedObject::sendValuedEvent().
00090 {
00091 //PsValuedEvent<PsInt> * t = event_cast<PsInt>(new PsValuedEvent<PsInt>("tot",getSimulatedDate(),"Me","them",2) ) ;
00092 //delete t ;
00093 fireValuedSignal( "HasAValue" ,getName() ) ;
00094 sendValuedEvent("anObject","anEventId", PsInt(3) );
00095 sendValuedEvent(this,"anEventId", PsInt(3) );
00096 }
|
| Documentation generated on Mon Nov 25 15:26:31 2002 |
Generated with doxygen 1.2.12 by Dimitri van Heesch , 1997-2001 |