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
2009-08-31 11:30:47 +01:00
parent 5cd80be903
commit f5cdf259cc
5 changed files with 9 additions and 7 deletions

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;

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.

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

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;
};

View File

@@ -186,12 +186,6 @@ class Ipv6StaticRouting : public Ipv6RoutingProtocol
*/
Ipv6MulticastRoutingTableEntry GetMulticastRoute (uint32_t i) const;
/**
* \brief Get the default multicast IPv6 route.
* \return default Ipv6MulticastRoute
*/
Ipv6MulticastRoutingTableEntry GetDefaultMulticastRoute () const;
/**
* \brief Remove a static multicast route.
* \param origin IPv6 address of the source