OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OvsPeerManager Class Reference

#include <ovsdb_route_peer.h>

Collaboration diagram for OvsPeerManager:

Classes

struct  cmp
 

Public Types

typedef std::set< OvsPeer *, cmpOvsPeerTable
 

Public Member Functions

 OvsPeerManager (Agent *agent)
 
virtual ~OvsPeerManager ()
 
OvsPeerAllocate (const IpAddress &peer_ip)
 
void Free (OvsPeer *peer)
 
uint32_t Size () const
 
Agentagent () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (OvsPeerManager)
 

Private Attributes

uint64_t gen_id_
 
Agentagent_
 
OvsPeerTable table_
 

Detailed Description

Definition at line 47 of file ovsdb_route_peer.h.

Member Typedef Documentation

Definition at line 54 of file ovsdb_route_peer.h.

Constructor & Destructor Documentation

OvsPeerManager::OvsPeerManager ( Agent agent)

Definition at line 131 of file ovsdb_route_peer.cc.

OvsPeerManager::~OvsPeerManager ( )
virtual

Definition at line 134 of file ovsdb_route_peer.cc.

Member Function Documentation

Agent * OvsPeerManager::agent ( ) const

Definition at line 150 of file ovsdb_route_peer.cc.

OvsPeer * OvsPeerManager::Allocate ( const IpAddress peer_ip)

Definition at line 138 of file ovsdb_route_peer.cc.

OvsPeerManager::DISALLOW_COPY_AND_ASSIGN ( OvsPeerManager  )
private
void OvsPeerManager::Free ( OvsPeer peer)

Definition at line 144 of file ovsdb_route_peer.cc.

Here is the call graph for this function:

uint32_t OvsPeerManager::Size ( ) const

Definition at line 154 of file ovsdb_route_peer.cc.

Member Data Documentation

Agent* OvsPeerManager::agent_
private

Definition at line 66 of file ovsdb_route_peer.h.

uint64_t OvsPeerManager::gen_id_
private

Definition at line 65 of file ovsdb_route_peer.h.

OvsPeerTable OvsPeerManager::table_
private

Definition at line 67 of file ovsdb_route_peer.h.


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