Public Member Functions | Data Fields

ProtoVCTable< VCTentry, max_entries > Struct Template Reference

#include <ProtoSM.h>

Public Member Functions

 ProtoVCTable ()
VCTentry * new_entry ()
VCTentry * find_entry (VConnection *)
VCTentry * find_entry (VIO *)
void remove_entry (VCTentry *)
void cleanup_entry (VCTentry *)
void cleanup_all ()
bool is_table_clear ()

Data Fields

VCTentry vc_table [max_entries]

Detailed Description

template<class VCTentry, int max_entries>
struct ProtoVCTable< VCTentry, max_entries >

Definition at line 37 of file ProtoSM.h.


Constructor & Destructor Documentation

template<class VCTentry , int max_entries>
ProtoVCTable< VCTentry, max_entries >::ProtoVCTable (  )  [inline]

Definition at line 52 of file ProtoSM.h.

References ProtoVCTable< VCTentry, max_entries >::vc_table.


Member Function Documentation

template<class VCTentry , int max_entries>
void ProtoVCTable< VCTentry, max_entries >::cleanup_all (  )  [inline]
template<class VCTentry , int max_entries>
void ProtoVCTable< VCTentry, max_entries >::cleanup_entry ( VCTentry *  e  )  [inline]
template<class VCTentry , int max_entries>
VCTentry * ProtoVCTable< VCTentry, max_entries >::find_entry ( VConnection vc  )  [inline]

Definition at line 70 of file ProtoSM.h.

References ProtoVCTable< VCTentry, max_entries >::vc_table.

template<class VCTentry , int max_entries>
VCTentry * ProtoVCTable< VCTentry, max_entries >::find_entry ( VIO vio  )  [inline]

Definition at line 82 of file ProtoSM.h.

References ink_assert, and ProtoVCTable< VCTentry, max_entries >::vc_table.

template<class VCTentry , int max_entries>
bool ProtoVCTable< VCTentry, max_entries >::is_table_clear (  )  [inline]

Definition at line 140 of file ProtoSM.h.

References ProtoVCTable< VCTentry, max_entries >::vc_table.

template<class VCTentry , int max_entries>
VCTentry * ProtoVCTable< VCTentry, max_entries >::new_entry (  )  [inline]
template<class VCTentry , int max_entries>
void ProtoVCTable< VCTentry, max_entries >::remove_entry ( VCTentry *  e  )  [inline]

Definition at line 101 of file ProtoSM.h.

References free_MIOBuffer(), and ink_assert.

Referenced by ProtoVCTable< VCTentry, max_entries >::cleanup_entry().


Field Documentation

template<class VCTentry , int max_entries>
VCTentry ProtoVCTable< VCTentry, max_entries >::vc_table[max_entries]

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