InputConnector();
private:
- void enqueue(Packet p);
+ void enqueue(Packet const & p);
virtual void v_requestEvent();
virtual void v_enqueueEvent();
: public virtual Connector
{
public:
- void operator()(Packet p); ///< Send out a packet
+ void operator()(Packet const & p); ///< Send out a packet
- void write(Packet p); ///< Alias for operator()(Packet p)
+ void write(Packet const & p); ///< Alias for operator()(Packet p)
InputConnector & peer() const;
{
public:
PacketType operator()(); ///< Read packet
- /**< \throws std::bad_cast, if the %connector receives a
+ /**< \throws std::bad_cast if the %connector receives a
Packet which is not of type \a PacketType.
\returns newly read packet reference. */
PacketType read(); ///< Alias for operator()
{
public:
PacketType operator()(); ///< Read packet
- /**< \throws std::bad_cast, if the %connector receives a
+ /**< \throws std::bad_cast if the %connector receives a
Packet which is not of type \a PacketType.
\returns newly read packet reference. */
PacketType read(); ///< Alias for operator()