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

#include <path_resolver.h>

Collaboration diagram for ResolverPath:

Public Member Functions

 ResolverPath (PathResolverPartition *partition, const BgpPath *path, BgpRoute *route, ResolverNexthop *rnexthop)
 
 ~ResolverPath ()
 
bool UpdateResolvedPaths ()
 
PathResolverPartitionpartition () const
 
BgpRouteroute () const
 
const ResolverNexthoprnexthop () const
 
void clear_path ()
 
size_t resolved_path_count () const
 

Private Types

typedef std::set< BgpPath * > ResolvedPathList
 

Private Member Functions

void AddResolvedPath (ResolvedPathList::const_iterator it)
 
void DeleteResolvedPath (ResolvedPathList::const_iterator it)
 
BgpPathLocateResolvedPath (const IPeer *peer, uint32_t path_id, const BgpAttr *attr, uint32_t label, bool is_replicated=false)
 
 DISALLOW_COPY_AND_ASSIGN (ResolverPath)
 

Private Attributes

PathResolverPartitionpartition_
 
const BgpPathpath_
 
BgpRouteroute_
 
ResolverNexthoprnexthop_
 
ResolverRouteStatePtr state_
 
ResolvedPathList resolved_path_list_
 

Detailed Description

Definition at line 314 of file path_resolver.h.

Member Typedef Documentation

typedef std::set<BgpPath *> ResolverPath::ResolvedPathList
private

Definition at line 329 of file path_resolver.h.

Constructor & Destructor Documentation

ResolverPath::ResolverPath ( PathResolverPartition partition,
const BgpPath path,
BgpRoute route,
ResolverNexthop rnexthop 
)

Definition at line 845 of file path_resolver.cc.

Here is the call graph for this function:

ResolverPath::~ResolverPath ( )

Definition at line 864 of file path_resolver.cc.

Here is the call graph for this function:

Member Function Documentation

void ResolverPath::AddResolvedPath ( ResolvedPathList::const_iterator  it)
private

Definition at line 872 of file path_resolver.cc.

Here is the call graph for this function:

void ResolverPath::clear_path ( )
inline

Definition at line 325 of file path_resolver.h.

void ResolverPath::DeleteResolvedPath ( ResolvedPathList::const_iterator  it)
private

Definition at line 890 of file path_resolver.cc.

Here is the call graph for this function:

ResolverPath::DISALLOW_COPY_AND_ASSIGN ( ResolverPath  )
private
BgpPath * ResolverPath::LocateResolvedPath ( const IPeer peer,
uint32_t  path_id,
const BgpAttr attr,
uint32_t  label,
bool  is_replicated = false 
)
private

Definition at line 907 of file path_resolver.cc.

Here is the call graph for this function:

PathResolverPartition* ResolverPath::partition ( ) const
inline

Definition at line 322 of file path_resolver.h.

size_t ResolverPath::resolved_path_count ( ) const
inline

Definition at line 326 of file path_resolver.h.

const ResolverNexthop* ResolverPath::rnexthop ( ) const
inline

Definition at line 324 of file path_resolver.h.

BgpRoute* ResolverPath::route ( ) const
inline

Definition at line 323 of file path_resolver.h.

bool ResolverPath::UpdateResolvedPaths ( )

Definition at line 995 of file path_resolver.cc.

Here is the call graph for this function:

Member Data Documentation

PathResolverPartition* ResolverPath::partition_
private

Definition at line 336 of file path_resolver.h.

const BgpPath* ResolverPath::path_
private

Definition at line 337 of file path_resolver.h.

ResolvedPathList ResolverPath::resolved_path_list_
private

Definition at line 341 of file path_resolver.h.

ResolverNexthop* ResolverPath::rnexthop_
private

Definition at line 339 of file path_resolver.h.

BgpRoute* ResolverPath::route_
private

Definition at line 338 of file path_resolver.h.

ResolverRouteStatePtr ResolverPath::state_
private

Definition at line 340 of file path_resolver.h.


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