MimmoNamespace.cpp
68 addPin(BaseManipulation* objSend, BaseManipulation* objRec, PortID portS, PortID portR, bool forced){
85 if (!(objSend->getConnectionType() == ConnectionType::BACKWARD) && !(objRec->getConnectionType() == ConnectionType::FORWARD) ){
97 if (!done) (*log)<<"warning: pin connection " << objSend->getName() << "[" << portS << "] --> " << objRec->getName() << "[" << portR << "] NOT linked. "<< std::endl;
111 for (std::unordered_map<PortID, PortOut*>::iterator i = pinsOut.begin(); i != pinsOut.end(); i++){
165 checkCompatibility(BaseManipulation* objSend, BaseManipulation* objRec, PortID portS, PortID portR){
Class DataType defines the container and the type of data communicated by ports.
Definition: InOut.hpp:53
void addPinOut(BaseManipulation *objOut, PortID portS, PortID portR)
Definition: BaseManipulation.cpp:833
void removePin(BaseManipulation *objSend, BaseManipulation *objRec, PortID portS, PortID portR)
Definition: MimmoNamespace.cpp:147
FileDataInfo is a struct to stock data relative to names of external files.
Definition: MimmoNamespace.hpp:40
ConnectionType getConnectionType()
Definition: BaseManipulation.cpp:328
bool checkCompatibility(BaseManipulation *objSend, BaseManipulation *objRec, PortID portS, PortID portR)
Definition: MimmoNamespace.cpp:165
@ BACKWARD
mimmo::IBinaryStream & operator>>(mimmo::IBinaryStream &buffer, mimmo::FileDataInfo &var)
Definition: MimmoNamespace.cpp:16
void addParent(BaseManipulation *parent)
Definition: BaseManipulation.cpp:735
mimmo custom derivation of bitpit OBinaryStream (see relative doc)
Definition: mimmo_binary_stream.hpp:55
mimmo::OBinaryStream & operator<<(mimmo::OBinaryStream &buf, const std::string &element)
Definition: mimmo_binary_stream.cpp:66
void removePinIn(BaseManipulation *objIn, PortID portR)
Definition: BaseManipulation.cpp:847
std::unordered_map< PortID, PortOut * > getPortsOut()
Definition: BaseManipulation.cpp:364
void warningXML(bitpit::Logger *log, std::string name)
Definition: MimmoNamespace.cpp:211
BaseManipulation is the base class of any manipulation object of the library.
Definition: BaseManipulation.hpp:102
void addPinIn(BaseManipulation *objIn, PortID portR)
Definition: BaseManipulation.cpp:821
@ FORWARD
void unsetChild(BaseManipulation *child)
Definition: BaseManipulation.cpp:780
PortIn is the abstract PIN base class dedicated to carry data to a target class from other ones (inpu...
Definition: InOut.hpp:201
PortOut is the abstract PIN base class dedicated to exchange data from a target class to other ones (...
Definition: InOut.hpp:96
void addChild(BaseManipulation *child)
Definition: BaseManipulation.cpp:749
bool addPin(BaseManipulation *objSend, BaseManipulation *objRec, PortID portS, PortID portR, bool forced)
Definition: MimmoNamespace.cpp:68
static int sm_baseManipulationCounter
Definition: BaseManipulation.hpp:164
virtual void buildPorts()=0
std::unordered_map< PortID, PortOut * > m_portOut
Definition: BaseManipulation.hpp:153
void removePinOut(BaseManipulation *objOut, PortID portS)
Definition: BaseManipulation.cpp:863
mimmo custom derivation of bitpit IBinaryStream (see relative doc)
Definition: mimmo_binary_stream.hpp:41
std::unordered_map< PortID, PortIn * > m_portIn
Definition: BaseManipulation.hpp:152
std::unordered_map< PortID, PortIn * > getPortsIn()
Definition: BaseManipulation.cpp:355
void removeAllPins(BaseManipulation *objSend, BaseManipulation *objRec)
Definition: MimmoNamespace.cpp:108
void unsetParent(BaseManipulation *parent)
Definition: BaseManipulation.cpp:764