module Calcium_Ports {
+ const long UNLIMITED_STORAGE_LEVEL = -70;
+ enum DependencyType { UNDEFINED_DEPENDENCY, TIME_DEPENDENCY, ITERATION_DEPENDENCY };
+ enum DateCalSchem { TI_SCHEM, TF_SCHEM , ALPHA_SCHEM};
+ enum InterpolationSchem { L0_SCHEM, L1_SCHEM };
+ enum ExtrapolationSchem { UNDEFINED_EXTRA_SCHEM, E0_SCHEM, E1_SCHEM};
+
+ // enum DisconnectDirective {UNDEFINED_DIRECTIVE,CONTINUE,STOP};
typedef boolean DisconnectDirective;
const DisconnectDirective stop = FALSE;
const DisconnectDirective cont = TRUE;
- interface Calcium_Port : Ports::Data_Port {
+ interface Calcium_Port : Ports::Data_Port, Ports::PortProperties {
void disconnect(in DisconnectDirective mode);
};
exception NotDefined {};
/*!
- This exception indicates that the value gived to the property is not
+ This exception indicates that the given value to the property is not
of a good type.
*/
exception BadType {};
+ /*!
+ This exception indicates that the given value to the property is not
+ authorized.
+ */
+ exception BadValue {};
+
/*! \brief Interface of a PortProperties.
This interface permits to set and get properties
associated to a port. Each uses or provides port have a
\exception Ports::BadType
\exception Ports::NotDefined
*/
- void set_property(in string name, in any value) raises (Ports::BadType,
+ void set_property(in string name, in any value) raises (Ports::BadType,
+ Ports::BadValue,
Ports::NotDefined);
/*!