?? channel.hpp
字號:
#ifndef CHANNEL_H #define CHANNEL_H #include <boost/shared_ptr.hpp> #include <boost/utility.hpp> class Signal; typedef boost::shared_ptr<Signal> SignalPtr; class PhysicalLayer; typedef boost::shared_ptr<PhysicalLayer> PhysicalLayerPtr; class SimTime; class Channel : boost::noncopyable { public: typedef boost::shared_ptr<Channel> ChannelPtr; virtual ~Channel(); virtual SimTime propagationDelay(const PhysicalLayer& sender, const PhysicalLayer& receiver) const; protected: Channel(); Channel(const Channel& rhs); private: Channel& operator= (const Channel& rhs); }; typedef boost::shared_ptr<Channel> ChannelPtr; // Inline Functions // Overloaded Operators #endif // CHANNEL_H
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -