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

#include <path_preference.h>

Inheritance diagram for PathPreferenceState:
Collaboration diagram for PathPreferenceState:

Public Types

typedef std::map< const Peer
*, PathPreferenceSM * > 
PeerPathPreferenceMap
 

Public Member Functions

 PathPreferenceState (Agent *agent, AgentRoute *rt_)
 
 ~PathPreferenceState ()
 
void Process (bool &should_resolve)
 
PathPreferenceSMGetSM (const Peer *)
 
PathPreferenceSMGetDependentPath (const AgentPath *path) const
 
- Public Member Functions inherited from DBState
virtual ~DBState ()
 

Private Member Functions

bool GetRouteListenerId (const VrfEntry *vrf, const Agent::RouteTableType &table, DBTableBase::ListenerId &rt_id) const
 

Private Attributes

Agentagent_
 
AgentRoutert_
 
PeerPathPreferenceMap path_preference_peer_map_
 

Detailed Description

Definition at line 135 of file path_preference.h.

Member Typedef Documentation

Definition at line 137 of file path_preference.h.

Constructor & Destructor Documentation

PathPreferenceState::PathPreferenceState ( Agent agent,
AgentRoute rt_ 
)

Definition at line 533 of file path_preference.cc.

PathPreferenceState::~PathPreferenceState ( )

Definition at line 537 of file path_preference.cc.

Here is the call graph for this function:

Member Function Documentation

PathPreferenceSM * PathPreferenceState::GetDependentPath ( const AgentPath path) const

Definition at line 587 of file path_preference.cc.

Here is the call graph for this function:

bool PathPreferenceState::GetRouteListenerId ( const VrfEntry vrf,
const Agent::RouteTableType table,
DBTableBase::ListenerId rt_id 
) const
private

Definition at line 554 of file path_preference.cc.

Here is the call graph for this function:

PathPreferenceSM * PathPreferenceState::GetSM ( const Peer peer)

Definition at line 709 of file path_preference.cc.

void PathPreferenceState::Process ( bool &  should_resolve)

Definition at line 631 of file path_preference.cc.

Here is the call graph for this function:

Member Data Documentation

Agent* PathPreferenceState::agent_
private

Definition at line 147 of file path_preference.h.

PeerPathPreferenceMap PathPreferenceState::path_preference_peer_map_
private

Definition at line 149 of file path_preference.h.

AgentRoute* PathPreferenceState::rt_
private

Definition at line 148 of file path_preference.h.


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