Make some copy-constructors private, remove not implemented method declarations, to make Python bindings work.

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2009-08-31 11:30:47 +01:00
1 parent 5cd80be903
commit f5cdf259cc
5 files changed
+9 -7

No files matched your search

+4
View File
@@ -48,6 +48,10 @@ class Ipv4Interface;
*/
class ArpCache : public Object
{
private:
ArpCache (ArpCache const &);
ArpCache& operator= (ArpCache const &);
public:
static TypeId GetTypeId (void);
class Entry;
+3
View File
@@ -90,6 +90,9 @@ protected:
virtual void DoDispose (void);
virtual void NotifyNewAggregate ();
private:
NscTcpL4Protocol (NscTcpL4Protocol const &);
NscTcpL4Protocol& operator= (NscTcpL4Protocol const &);
// NSC callbacks.
// NSC invokes these hooks to interact with the simulator.
// In any case, these methods are only to be called by NSC.
-1
View File
@@ -48,7 +48,6 @@ public:
virtual ~PendingData (); // Destructor
uint32_t Size () const { return size;}
// Serialization
uint32_t SSize (); // Size needed for serialization
uint8_t* Serialize (uint8_t*, uint32_t&); // Serialize to a buffer
uint8_t* Construct (uint8_t*, uint32_t&); // Construct from buffer
virtual void Clear ();// Remove all associated data
+2
View File
@@ -121,6 +121,8 @@ private:
void SendPacket (Ptr<Packet>, const TcpHeader &,
Ipv4Address, Ipv4Address);
static ObjectFactory GetDefaultRttEstimatorFactory (void);
TcpL4Protocol (const TcpL4Protocol &o);
TcpL4Protocol &operator = (const TcpL4Protocol &o);
std::vector<Ptr<TcpSocketImpl> > m_sockets;
};