Class for Input Calcium DataStream Ports. More...
#include <CalStreamPort.hxx>
Public Member Functions | |
InputCalStreamPort (const std::string &name, Node *node, TypeCode *type) | |
InputCalStreamPort (const InputCalStreamPort &other, Node *newHelder) | |
virtual | ~InputCalStreamPort () |
void | setProperty (const std::string &name, const std::string &value) |
Set a new value for a property of the port. More... | |
std::string | getNameOfTypeOfCurrentInstance () const |
InputCalStreamPort * | clone (Node *newHelder) const |
void | setSchema (const std::string &value) |
std::string | getSchema () |
void | setLevel (const std::string &value) |
int | getLevel () |
void | setDepend (const std::string &value) |
std::string | getDepend () |
void | setDelta (const std::string &value) |
double | getDelta () |
void | setAlpha (const std::string &value) |
double | getAlpha () |
void | setInterp (const std::string &value) |
std::string | getInterp () |
void | setExtrap (const std::string &value) |
std::string | getExtrap () |
Public Member Functions inherited from YACS::ENGINE::InputDataStreamPort | |
InputDataStreamPort (const InputDataStreamPort &other, Node *newHelder) | |
InputDataStreamPort (const std::string &name, Node *node, TypeCode *type) | |
virtual | ~InputDataStreamPort () |
virtual std::string | typeName () |
virtual void | edAddOutputDataStreamPort (OutputDataStreamPort *port) |
std::set< OutputDataStreamPort * > | getConnectedOutputDataStreamPort () |
Public Member Functions inherited from YACS::ENGINE::DataStreamPort | |
TypeOfChannel | getTypeOfChannel () const |
returns type of channel the port will use for data exchange on runtime : DATAFLOW or DATASTREAM. More... | |
virtual void | setProperties (std::map< std::string, std::string > properties) |
Set the values of all properties of the port. More... | |
virtual std::string | getProperty (const std::string &name) |
Get the value of a property of the port. More... | |
std::map< std::string, std::string > | getProperties () const |
virtual void | initPortProperties () |
Initialize port properties at the start of calculation phase. More... | |
virtual | ~DataStreamPort () |
Public Member Functions inherited from YACS::ENGINE::DataPort | |
TypeCode * | edGetType () const |
void | edSetType (TypeCode *type) |
std::string | getName () const |
void | setName (std::string theName) |
bool | isDifferentTypeOf (const DataPort *other) const |
virtual std::string | getAsString () |
returns port value as a string that can be used in a GUI for example More... | |
Public Member Functions inherited from YACS::ENGINE::Port | |
virtual | ~Port () |
Node * | getNode () const |
int | getNumId () const |
void | modified () |
Public Member Functions inherited from YACS::ENGINE::InPort | |
virtual InPort * | getPublicRepresentant () |
virtual int | edGetNumberOfLinks () const |
Returns number of physical backlinks NOT number of user backlinks. More... | |
virtual std::set< OutPort * > | edSetOutPort () const |
Returns physical backlinks NOT user backlinks. More... | |
virtual | ~InPort () |
Static Public Attributes | |
static const char | NAME [] ="InputCalStreamPort" |
Static Public Attributes inherited from YACS::ENGINE::InputDataStreamPort | |
static const char | NAME [] ="InputDataStreamPort" |
Static Public Attributes inherited from YACS::ENGINE::DataStreamPort | |
static const char | NAME [] ="DataStreamPort" |
Static Public Attributes inherited from YACS::ENGINE::DataPort | |
static const char | NAME [] ="DataPort" |
Protected Attributes | |
std::string | _depend |
std::string | _schema |
std::string | _interp |
std::string | _extrap |
int | _level |
double | _delta |
double | _alpha |
Protected Attributes inherited from YACS::ENGINE::InputDataStreamPort | |
std::set< OutputDataStreamPort * > | _setOfOutputDataStreamPort |
Protected Attributes inherited from YACS::ENGINE::DataStreamPort | |
std::map< std::string, std::string > | _propertyMap |
Protected Attributes inherited from YACS::ENGINE::DataPort | |
TypeCode * | _type |
std::string | _name |
Protected Attributes inherited from YACS::ENGINE::Port | |
Node * | _node |
int | _id |
Protected Attributes inherited from YACS::ENGINE::InPort | |
std::set< OutPort * > | _backLinks |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::ENGINE::DataPort | |
static DataPort * | isCrossingType (const std::vector< DataPort * > &historyOfLink) |
Protected Member Functions inherited from YACS::ENGINE::DataStreamPort | |
DataStreamPort (const DataStreamPort &other, Node *newHelder) | |
DataStreamPort (const std::string &name, Node *node, TypeCode *type) | |
Protected Member Functions inherited from YACS::ENGINE::InPort | |
InPort (const InPort &other, Node *newHelder) | |
InPort (const std::string &name, Node *node, TypeCode *type) | |
void | edRemoveAllLinksLinkedWithMe () throw (Exception) |
virtual void | edNotifyReferencedBy (OutPort *fromPort) |
virtual void | edNotifyDereferencedBy (OutPort *fromPort) |
virtual void | getAllRepresentants (std::set< InPort * > &repr) const |
Static Protected Attributes inherited from YACS::ENGINE::Port | |
static int | _total = 0 |
static const char | NAME [] ="Port" |
Class for Input Calcium DataStream Ports.
Definition at line 40 of file CalStreamPort.hxx.
Definition at line 34 of file CalStreamPort.cxx.
Referenced by clone().
InputCalStreamPort::InputCalStreamPort | ( | const InputCalStreamPort & | other, |
Node * | newHelder | ||
) |
Definition at line 41 of file CalStreamPort.cxx.
|
virtual |
Definition at line 49 of file CalStreamPort.cxx.
|
virtual |
Reimplemented from YACS::ENGINE::InputDataStreamPort.
Definition at line 207 of file CalStreamPort.cxx.
References InputCalStreamPort().
|
inline |
|
inline |
|
inline |
Definition at line 58 of file CalStreamPort.hxx.
References _depend.
Referenced by YACS::ENGINE::OutputCalStreamPort::addInPort().
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented from YACS::ENGINE::InputDataStreamPort.
Definition at line 202 of file CalStreamPort.cxx.
References NAME.
|
inline |
void InputCalStreamPort::setAlpha | ( | const std::string & | value | ) |
void InputCalStreamPort::setDelta | ( | const std::string & | value | ) |
void InputCalStreamPort::setDepend | ( | const std::string & | value | ) |
Definition at line 53 of file CalStreamPort.cxx.
References _depend, DEBTRACE, and YACS::ENGINE::InPort::edGetNumberOfLinks().
Referenced by setProperty().
void InputCalStreamPort::setExtrap | ( | const std::string & | value | ) |
void InputCalStreamPort::setInterp | ( | const std::string & | value | ) |
void InputCalStreamPort::setLevel | ( | const std::string & | value | ) |
Definition at line 75 of file CalStreamPort.cxx.
References _level, and DEBTRACE.
Referenced by setProperty().
|
virtual |
Set a new value for a property of the port.
name | : the name property |
value | : the value property |
Reimplemented from YACS::ENGINE::DataStreamPort.
Definition at line 117 of file CalStreamPort.cxx.
References DEBTRACE, setAlpha(), setDelta(), setDepend(), setExtrap(), setInterp(), setLevel(), YACS::ENGINE::DataStreamPort::setProperty(), and setSchema().
void InputCalStreamPort::setSchema | ( | const std::string & | value | ) |
|
protected |
Definition at line 74 of file CalStreamPort.hxx.
Referenced by getAlpha(), and setAlpha().
|
protected |
Definition at line 73 of file CalStreamPort.hxx.
Referenced by getDelta(), and setDelta().
|
protected |
Definition at line 66 of file CalStreamPort.hxx.
Referenced by getDepend(), and setDepend().
|
protected |
Definition at line 71 of file CalStreamPort.hxx.
Referenced by getExtrap(), and setExtrap().
|
protected |
Definition at line 70 of file CalStreamPort.hxx.
Referenced by getInterp(), and setInterp().
|
protected |
Definition at line 72 of file CalStreamPort.hxx.
Referenced by getLevel(), and setLevel().
|
protected |
Definition at line 69 of file CalStreamPort.hxx.
Referenced by getSchema(), and setSchema().
|
static |
Definition at line 43 of file CalStreamPort.hxx.
Referenced by YACS::ENGINE::OutputCalStreamPort::addInPort(), getNameOfTypeOfCurrentInstance(), and YACS::ENGINE::OutputCalStreamPort::removeInPort().