c++ - OMNeT++ send routing table in packet -
i need send entire routing table in packet omnet++. mypacket.msg file this:
cplusplus {{ #include "inet/networklayer/ipv4/ipv4routingtable.h" #include "inet/networklayer/contract/ipv4/ipv4address.h" }} namespace inet; class noncobject inet::ipv4routingtable; class noncobject inet::ipv4address; packet mypacket { ipv4address srcipaddress; ipv4routingtable rt; }
but when build project, these errors:
use of deleted function ‘inet::ipv4routingtable& inet::ipv4routingtable::operator=(const inet::ipv4routingtable&)’
use of deleted function ‘inet::ipv4routingtable& inet::ipv4routingtable::operator=(const inet::ipv4routingtable&)’
use of deleted function ‘csimplemodule& csimplemodule::operator=(const csimplemodule&)’ ipv4routingtable.h
use of deleted function ‘cnoncopyableownedobject& cnoncopyableownedobject::operator=(const cnoncopyableownedobject&)’
use of deleted function ‘cmodule& cmodule::operator=(const cmodule&)’
use of deleted function ‘cdefaultlist& cdefaultlist::operator=(const cdefaultlist&)’
use of deleted function ‘ccomponent& ccomponent::operator=(const ccomponent&)’
‘const noncopyable& noncopyable::operator=(const noncopyable&)’ private
how can solve this? thanks!
Comments
Post a Comment