Class for Output Calcium DataStream Ports. More...
#include <CalStreamPort.hxx>
Public Member Functions | |
OutputCalStreamPort (const std::string &name, Node *node, TypeCode *type) | |
OutputCalStreamPort (const OutputCalStreamPort &other, Node *newHelder) | |
virtual | ~OutputCalStreamPort () |
void | setDepend (const std::string &depend) |
void | setLevel (const std::string &schema) |
std::string | getDepend () |
int | getLevel () |
void | setSchema (const std::string &schema) |
std::string | getSchema () |
void | setProperty (const std::string &name, const std::string &value) |
Set a new value for a property of the port. More... | |
virtual bool | addInPort (InPort *inPort) throw (Exception) |
std::string | getNameOfTypeOfCurrentInstance () const |
OutputCalStreamPort * | clone (Node *newHelder) const |
virtual int | removeInPort (InPort *inPort, bool forward) throw (Exception) |
Public Member Functions inherited from YACS::ENGINE::OutputDataStreamPort | |
OutputDataStreamPort (const OutputDataStreamPort &other, Node *newHelder) | |
OutputDataStreamPort (const std::string &name, Node *node, TypeCode *type) | |
virtual | ~OutputDataStreamPort () |
std::set< InPort * > | edSetInPort () const |
bool | isAlreadyLinkedWith (InPort *withp) const |
virtual bool | edAddInputDataStreamPort (InputDataStreamPort *port) throw (ConversionException) |
int | edRemoveInputDataStreamPort (InputDataStreamPort *inPort, bool forward) throw (Exception) |
void | edRemoveAllLinksLinkedWithMe () throw (Exception) |
virtual std::string | typeName () |
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::OutPort | |
virtual void | checkConsistency (LinkInfo &info) const |
virtual int | edGetNumberOfOutLinks () const |
virtual void | getAllRepresented (std::set< OutPort * > &represented) const |
virtual | ~OutPort () |
std::vector< DataPort * > | calculateHistoryOfLinkWith (InPort *end) |
Static Public Attributes | |
static const char | NAME [] ="OutputCalStreamPort" |
Static Public Attributes inherited from YACS::ENGINE::OutputDataStreamPort | |
static const char | NAME [] ="OutputDataStreamPort" |
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 |
int | _level |
double | _delta |
Protected Attributes inherited from YACS::ENGINE::OutputDataStreamPort | |
std::set< InputDataStreamPort * > | _setOfInputDataStreamPort |
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 |
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::OutPort | |
OutPort (const OutPort &other, Node *newHelder) | |
OutPort (const std::string &name, Node *node, TypeCode *type) | |
Static Protected Attributes inherited from YACS::ENGINE::Port | |
static int | _total = 0 |
static const char | NAME [] ="Port" |
Class for Output Calcium DataStream Ports.
Definition at line 82 of file CalStreamPort.hxx.
Definition at line 214 of file CalStreamPort.cxx.
Referenced by clone().
OutputCalStreamPort::OutputCalStreamPort | ( | const OutputCalStreamPort & | other, |
Node * | newHelder | ||
) |
|
virtual |
Definition at line 229 of file CalStreamPort.cxx.
Reimplemented from YACS::ENGINE::OutputDataStreamPort.
Definition at line 281 of file CalStreamPort.cxx.
References DEBTRACE, YACS::ENGINE::InputCalStreamPort::getDepend(), YACS::ENGINE::InputCalStreamPort::NAME, and PMMLBasicsTestLauncher::ret.
|
virtual |
Reimplemented from YACS::ENGINE::OutputDataStreamPort.
Definition at line 276 of file CalStreamPort.cxx.
References OutputCalStreamPort().
|
inline |
|
inline |
|
virtual |
Reimplemented from YACS::ENGINE::OutputDataStreamPort.
Definition at line 271 of file CalStreamPort.cxx.
References NAME.
|
inline |
Reimplemented from YACS::ENGINE::OutputDataStreamPort.
Definition at line 303 of file CalStreamPort.cxx.
References DEBTRACE, and YACS::ENGINE::InputCalStreamPort::NAME.
void OutputCalStreamPort::setDepend | ( | const std::string & | depend | ) |
Definition at line 233 of file CalStreamPort.cxx.
References _depend, DEBTRACE, and YACS::ENGINE::OutPort::edGetNumberOfOutLinks().
Referenced by setProperty().
void OutputCalStreamPort::setLevel | ( | const std::string & | schema | ) |
|
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 260 of file CalStreamPort.cxx.
References setDepend(), setLevel(), YACS::ENGINE::DataStreamPort::setProperty(), and setSchema().
void OutputCalStreamPort::setSchema | ( | const std::string & | schema | ) |
|
protected |
Definition at line 104 of file CalStreamPort.hxx.
|
protected |
Definition at line 101 of file CalStreamPort.hxx.
Referenced by getDepend(), and setDepend().
|
protected |
Definition at line 103 of file CalStreamPort.hxx.
Referenced by getLevel(), and setLevel().
|
protected |
Definition at line 102 of file CalStreamPort.hxx.
Referenced by getSchema(), and setSchema().
|
static |
Definition at line 85 of file CalStreamPort.hxx.
Referenced by getNameOfTypeOfCurrentInstance().