Sirikata
Public Member Functions | Public Attributes
Sirikata::UpstreamElementBase< PacketType >::OutputPort Class Reference

An output port for this element. More...

#include <RouterElement.hpp>

Collaboration diagram for Sirikata::UpstreamElementBase< PacketType >::OutputPort:

List of all members.

Public Member Functions

 OutputPort ()
bool set (OutputElement *elmt, uint32 _port)
bool push (PacketType *pkt)

Public Attributes

OutputElementelement
uint32 port

Detailed Description

template<typename PacketType>
class Sirikata::UpstreamElementBase< PacketType >::OutputPort

An output port for this element.

A convenience for inherited which performs some error checking.


Constructor & Destructor Documentation

template<typename PacketType>
Sirikata::UpstreamElementBase< PacketType >::OutputPort::OutputPort ( ) [inline]

Member Function Documentation

template<typename PacketType>
bool Sirikata::UpstreamElementBase< PacketType >::OutputPort::push ( PacketType *  pkt) [inline]
template<typename PacketType>
bool Sirikata::UpstreamElementBase< PacketType >::OutputPort::set ( OutputElement elmt,
uint32  _port 
) [inline]

Member Data Documentation

template<typename PacketType>
OutputElement* Sirikata::UpstreamElementBase< PacketType >::OutputPort::element
template<typename PacketType>
uint32 Sirikata::UpstreamElementBase< PacketType >::OutputPort::port

The documentation for this class was generated from the following file: