Disable copy-contructors in flow-monitor ABCs

This commit is contained in:
Gustavo J. A. M. Carneiro
2009-12-28 16:17:49 +00:00
parent 18f632d498
commit 21217704f3
2 changed files with 8 additions and 0 deletions

View File

@@ -41,8 +41,12 @@ typedef uint32_t FlowPacketId;
/// particular flow capture method or classification system.
class FlowClassifier : public SimpleRefCount<FlowClassifier>
{
private:
FlowId m_lastNewFlowId;
FlowClassifier (FlowClassifier const &);
FlowClassifier& operator= (FlowClassifier const &);
public:
FlowClassifier ();

View File

@@ -38,6 +38,10 @@ class FlowMonitor;
/// regarding only the packets that pass through that probe.
class FlowProbe : public SimpleRefCount<FlowProbe>
{
private:
FlowProbe (FlowProbe const &);
FlowProbe& operator= (FlowProbe const &);
protected:
FlowProbe (Ptr<FlowMonitor> flowMonitor);