OpenSDN source code
Resource Class Reference

#include <resource_cmn.h>

Public Types

enum  Type {
  INVALID = 0 , MPLS_INDEX , INTERFACE_INDEX , VRF_INDEX ,
  QOS_INDEX , BGP_AS_SERVICE_INDEX , MIRROR_INDEX , MAX
}
 

Static Public Member Functions

static ResourceTableCreate (Type type, ResourceManager *rm)
 

Private Member Functions

 Resource ()
 
virtual ~Resource ()
 

Detailed Description

Definition at line 13 of file resource_cmn.h.

Member Enumeration Documentation

◆ Type

Enumerator
INVALID 
MPLS_INDEX 
INTERFACE_INDEX 
VRF_INDEX 
QOS_INDEX 
BGP_AS_SERVICE_INDEX 
MIRROR_INDEX 
MAX 

Definition at line 15 of file resource_cmn.h.

Constructor & Destructor Documentation

◆ Resource()

Resource::Resource ( )
inlineprivate

Definition at line 29 of file resource_cmn.h.

Member Function Documentation

◆ Create()

ResourceTable * Resource::Create ( Type  type,
ResourceManager rm 
)
static

Definition at line 16 of file resource_cmn.cc.

◆ ~Resource()

virtual Resource::~Resource ( )
inlineprivatevirtual

Definition at line 30 of file resource_cmn.h.


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