CflowdInterfaceMatrixKey
All class functions are defined inline.
[ libCfd | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Quick Index
Class Summary
class CflowdInterfaceMatrixKey{
public:
- uint16_t Src() const ;
- uint16_t Src(uint16_t src) ;
- uint16_t Dst() const ;
- uint16_t Dst(uint16_t dst) ;
- operator < (const CflowdInterfaceMatrixKey & ifmKey) const ;
- istream & read(istream & is) ;
- int read(int fd) ;
- ostream & write(ostream & os) const ;
- int write(int fd) const ;
- uint16_t Src(uint16_t src) ;
Back to the top of CflowdInterfaceMatrixKey
DESCRIPTION
---------------------------------------------------------------------------
class CflowdInterfaceMatrixKey
---------------------------------------------------------------------------
This class is used as a key into an interface matrix map in cflowd++. The key is comprised of an input (source) interface index and an ouput (destination) interface.
Note how I've inlined all this; we don't want member function call overhead in here because this class' members will be called frequently when it's used as a key in an STL