class for Input Property Ports More...
#include <InPropertyPort.hxx>
Public Member Functions | |
virtual | ~InPropertyPort () |
std::string | getNameOfTypeOfCurrentInstance () const |
virtual InPropertyPort * | getPublicRepresentant () |
returns the final physical port behind 'this'. More... | |
virtual std::string | typeName () |
virtual void | exNewPropertyValue (const std::string &name, const std::string &value) |
virtual void | exSaveInit () |
virtual void | exRestoreInit () |
virtual InPropertyPort * | clone (Node *newHelder) const |
virtual void * | get () const |
virtual void | put (const void *data) throw (ConversionException) |
virtual void | put (YACS::ENGINE::Any *data) |
Public Member Functions inherited from YACS::ENGINE::InputPort | |
virtual | ~InputPort () |
std::string | getNameOfTypeOfCurrentInstance () const |
virtual bool | isIntermediate () const |
virtual bool | edIsManuallyInitialized () const |
Specifies if this port has been manually set by the call of InputPort::edInit. More... | |
bool | edIsInitialized () const |
soon deprecated More... | |
template<class T > | |
void | edInit (T value) |
void | edInit (Any *value) |
void | edInit (const std::string &impl, const void *value) |
Initialize the port with an object (value) coming from a world with implementation impl. More... | |
virtual void | edRemoveManInit () |
Removes eventually previous manual initialisation. More... | |
virtual void | checkBasicConsistency () const throw (Exception) |
Check basically that this port has one chance to be specified on time. It's a necessary condition not sufficient at all. More... | |
virtual void | exInit (bool start) |
virtual bool | isEmpty () |
virtual std::string | dump () |
virtual std::string | getHumanRepr () |
virtual void | setStringRef (std::string strRef) |
bool | canBeNull () const |
Public Member Functions inherited from YACS::ENGINE::DataFlowPort | |
TypeOfChannel | getTypeOfChannel () const |
returns type of channel the port will use for data exchange on runtime : DATAFLOW or DATASTREAM. More... | |
virtual | ~DataFlowPort () |
virtual std::string | valToStr () |
Gives a string representation of the data, for user interfaces. More... | |
virtual void | valFromStr (std::string valstr) |
Allows to set data from a string representation used in user interface. More... | |
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 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 [] ="InPropertyPort" |
Static Public Attributes inherited from YACS::ENGINE::InputPort | |
static const char | NAME [] ="InputPort" |
Static Public Attributes inherited from YACS::ENGINE::DataFlowPort | |
static const char | NAME [] ="DataFlowPort" |
Static Public Attributes inherited from YACS::ENGINE::DataPort | |
static const char | NAME [] ="DataPort" |
Protected Member Functions | |
InPropertyPort (const InPropertyPort &other, Node *newHelder) | |
InPropertyPort (const std::string &name, Node *node, TypeCode *type, bool canBeNull=false) | |
Protected Member Functions inherited from YACS::ENGINE::InputPort | |
InputPort (const InputPort &other, Node *newHelder) | |
InputPort (const std::string &name, Node *node, TypeCode *type, bool canBeNull=false) | |
Protected Member Functions inherited from YACS::ENGINE::DataFlowPort | |
DataFlowPort (const DataFlowPort &other, Node *newHelder) | |
DataFlowPort (const std::string &name, Node *node, TypeCode *type) | |
Protected Member Functions inherited from YACS::ENGINE::DataPort | |
virtual | ~DataPort () |
DataPort (const DataPort &other, Node *newHelder) | |
DataPort (const std::string &name, Node *node, TypeCode *type) | |
Protected Member Functions inherited from YACS::ENGINE::Port | |
Port (Node *node) | |
Port (const Port &other, Node *newHelder) | |
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 |
Protected Attributes | |
YACS::ENGINE::Any * | _property_data |
YACS::ENGINE::Any * | _init_property_data |
Protected Attributes inherited from YACS::ENGINE::InputPort | |
Any * | _initValue |
std::string | _stringRef |
bool | _canBeNull |
Protected Attributes inherited from YACS::ENGINE::InPort | |
std::set< OutPort * > | _backLinks |
Protected Attributes inherited from YACS::ENGINE::DataPort | |
TypeCode * | _type |
std::string | _name |
Protected Attributes inherited from YACS::ENGINE::Port | |
Node * | _node |
int | _id |
Friends | |
class | Runtime |
class | OutPort |
class | Node |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::ENGINE::DataPort | |
static DataPort * | isCrossingType (const std::vector< DataPort * > &historyOfLink) |
Static Protected Attributes inherited from YACS::ENGINE::Port | |
static int | _total = 0 |
static const char | NAME [] ="Port" |
class for Input Property Ports
Definition at line 37 of file InPropertyPort.hxx.
|
virtual |
Definition at line 47 of file InPropertyPort.cxx.
|
protected |
|
protected |
Definition at line 39 of file InPropertyPort.cxx.
|
virtual |
Implements YACS::ENGINE::InputPort.
Definition at line 75 of file InPropertyPort.cxx.
References InPropertyPort().
|
virtual |
Definition at line 55 of file InPropertyPort.cxx.
References YACS::ENGINE::Port::_node, DEBTRACE, and YACS::ENGINE::Node::setProperty().
Referenced by put().
|
virtual |
Implements YACS::ENGINE::InputPort.
Definition at line 68 of file InPropertyPort.cxx.
References _init_property_data, and _property_data.
|
virtual |
Implements YACS::ENGINE::InputPort.
Definition at line 62 of file InPropertyPort.cxx.
References _init_property_data, and _property_data.
|
virtual |
Implements YACS::ENGINE::InputPort.
Definition at line 81 of file InPropertyPort.cxx.
References _property_data.
|
virtual |
Reimplemented from YACS::ENGINE::DataFlowPort.
Definition at line 49 of file InPropertyPort.cxx.
References NAME.
|
inlinevirtual |
returns the final physical port behind 'this'.
Reimplemented from YACS::ENGINE::InputPort.
Definition at line 53 of file InPropertyPort.hxx.
|
virtual |
Implements YACS::ENGINE::InputPort.
Definition at line 87 of file InPropertyPort.cxx.
|
virtual |
Definition at line 93 of file InPropertyPort.cxx.
References _property_data, DEBTRACE, YACS::ENGINE::RefCounter::decrRef(), exNewPropertyValue(), YACS::ENGINE::RefCounter::getRefCnt(), CORBAEngineTest::i, YACS::ENGINE::RefCounter::incrRef(), and YACS::ENGINE::SequenceAny::size().
|
inlinevirtual |
Reimplemented from YACS::ENGINE::InputPort.
Definition at line 55 of file InPropertyPort.hxx.
|
friend |
Definition at line 41 of file InPropertyPort.hxx.
|
friend |
Definition at line 40 of file InPropertyPort.hxx.
|
friend |
Definition at line 39 of file InPropertyPort.hxx.
|
protected |
Definition at line 70 of file InPropertyPort.hxx.
Referenced by exRestoreInit(), and exSaveInit().
|
protected |
Definition at line 69 of file InPropertyPort.hxx.
Referenced by exRestoreInit(), exSaveInit(), get(), and put().
|
static |
Definition at line 44 of file InPropertyPort.hxx.
Referenced by YACS::ENGINE::OutputPort::addInPort(), and getNameOfTypeOfCurrentInstance().