OpenSDN source code
|
#include <multicast_policy.h>
Public Member Functions | |
MulticastPolicyEntry (uuid mp_uuid) | |
virtual | ~MulticastPolicyEntry () |
virtual bool | IsLess (const DBEntry &rhs) const |
virtual KeyPtr | GetDBRequestKey () const |
virtual void | SetKey (const DBRequestKey *key) |
virtual string | ToString () const |
const uuid & | GetMpUuid () const |
const std::string & | name () const |
void | set_name (std::string &name) |
const std::vector < SourceGroupInfo > & | mcast_sg () const |
void | set_mcast_sg (std::vector< SourceGroupInfo > &mcast_sg) |
uint32_t | GetRefCount () const |
SourceGroupInfo::Action | GetAction (IpAddress source, IpAddress group) const |
bool | DBEntrySandesh (Sandesh *sresp, std::string &name) const |
void | SendObjectLog (SandeshTraceBufferPtr ptr, AgentLogEvent::type event) const |
![]() | |
AgentOperDBEntry () | |
virtual | ~AgentOperDBEntry () |
IFMapNode * | ifmap_node () const |
void | SetIFMapNodeState (IFMapDependencyManager::IFMapNodePtr sref) |
![]() | |
AgentDBEntry () | |
virtual | ~AgentDBEntry () |
void | SetRefState () const |
void | ClearRefState () const |
bool | IsActive () const |
DBState * | GetAgentDBEntryState (int listener_id) |
const DBState * | GetAgentDBEntryState (int listener_id) const |
virtual void | AllocateResources (ResourceManager *resource_manager) |
virtual void | FreeResources (ResourceManager *resource_manager) |
virtual void | PostAdd () |
![]() | |
DBEntry () | |
virtual | ~DBEntry () |
bool | operator< (const DBEntry &rhs) const |
![]() | |
DBEntryBase () | |
virtual | ~DBEntryBase () |
virtual bool | IsMoreSpecific (const std::string &match) const |
virtual bool | IsLessSpecific (const std::string &match) const |
void | SetState (DBTableBase *tbl_base, ListenerId listener, DBState *state) |
void | ClearState (DBTableBase *tbl_base, ListenerId listener) |
DBState * | GetState (DBTableBase *tbl_base, ListenerId listener) const |
const DBState * | GetState (const DBTableBase *tbl_base, ListenerId listener) const |
bool | is_state_empty (DBTablePartBase *tpart) |
bool | is_state_empty_unlocked (DBTablePartBase *tpart) |
void | Delete () |
void | MarkDelete () |
void | ClearDelete () |
bool | IsDeleted () const |
void | set_onlist () |
void | clear_onlist () |
bool | is_onlist () |
void | SetOnRemoveQ () |
bool | IsOnRemoveQ () |
void | ClearOnRemoveQ () |
void | set_last_change_at (uint64_t time) |
void | set_last_change_at_to_now () |
const uint64_t | last_change_at () const |
const std::string | last_change_at_str () const |
void | set_last_update_at (uint64_t time) |
void | set_last_update_at_to_now () |
const uint64_t | last_update_at () const |
DBTablePartBase * | get_table_partition () const |
void | set_table_partition (DBTablePartBase *tpart) |
DBTableBase * | get_table () const |
void | Notify () |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (MulticastPolicyEntry) | |
![]() | |
uint32_t | GetRefCount () const |
AgentRefCount () | |
AgentRefCount (const AgentRefCount &) | |
AgentRefCount & | operator= (const AgentRefCount &) |
virtual | ~AgentRefCount () |
void | swap (AgentRefCount &) |
Private Attributes | |
uuid | mp_uuid_ |
std::string | name_ |
std::vector< SourceGroupInfo > | mcast_sg_ |
![]() | |
tbb::mutex | back_ref_mutex_ |
std::set< IntrusiveReferrer > | back_ref_set_ |
Friends | |
class | MulticastPolicyTable |
Additional Inherited Members | |
![]() | |
typedef boost::intrusive_ptr < AgentDBEntry > | AgentDBEntyRef |
![]() | |
typedef DBTableBase::ListenerId | ListenerId |
typedef std::unique_ptr < DBRequestKey > | KeyPtr |
![]() | |
boost::intrusive::list_member_hook | chg_list_ |
Definition at line 45 of file multicast_policy.h.
|
inline |
Definition at line 48 of file multicast_policy.h.
|
inlinevirtual |
Definition at line 49 of file multicast_policy.h.
|
virtual |
Implements AgentDBEntry.
Definition at line 211 of file multicast_policy.cc.
|
private |
SourceGroupInfo::Action MulticastPolicyEntry::GetAction | ( | IpAddress | source, |
IpAddress | group | ||
) | const |
Definition at line 49 of file multicast_policy.cc.
|
virtual |
Implements DBEntryBase.
Definition at line 39 of file multicast_policy.cc.
|
inline |
Definition at line 56 of file multicast_policy.h.
|
inlinevirtual |
Implements AgentDBEntry.
Definition at line 68 of file multicast_policy.h.
|
virtual |
Implements DBEntry.
Definition at line 27 of file multicast_policy.cc.
|
inline |
Definition at line 61 of file multicast_policy.h.
|
inline |
Definition at line 57 of file multicast_policy.h.
void MulticastPolicyEntry::SendObjectLog | ( | SandeshTraceBufferPtr | ptr, |
AgentLogEvent::type | event | ||
) | const |
|
inline |
Definition at line 64 of file multicast_policy.h.
|
inline |
Definition at line 58 of file multicast_policy.h.
|
virtual |
Implements DBEntry.
Definition at line 44 of file multicast_policy.cc.
|
virtual |
Implements DBEntryBase.
Definition at line 33 of file multicast_policy.cc.
|
friend |
Definition at line 79 of file multicast_policy.h.
|
private |
Definition at line 82 of file multicast_policy.h.
|
private |
Definition at line 80 of file multicast_policy.h.
|
private |
Definition at line 81 of file multicast_policy.h.