|
OpenSDN source code
|
#include <sg.h>


Public Member Functions | |
| SgEntry (boost::uuids::uuid sg_uuid, uint32_t sg_id) | |
| SgEntry (boost::uuids::uuid sg_uuid) | |
| virtual | ~SgEntry () |
| virtual bool | IsLess (const DBEntry &rhs) const |
| virtual KeyPtr | GetDBRequestKey () const |
| virtual void | SetKey (const DBRequestKey *key) |
| virtual string | ToString () const |
| const boost::uuids::uuid & | GetSgUuid () const |
| const uint32_t & | GetSgId () const |
| const AclDBEntry * | GetIngressAcl () const |
| const AclDBEntry * | GetEgressAcl () const |
| bool | IsEgressAclSet () const |
| bool | IsIngressAclSet () const |
| bool | IsAclSet () const |
| uint32_t | GetRefCount () const |
| bool | DBEntrySandesh (Sandesh *sresp, std::string &name) const |
| void | SendObjectLog (SandeshTraceBufferPtr ptr, AgentLogEvent::type event) const |
Public Member Functions inherited from AgentOperDBEntry | |
| AgentOperDBEntry () | |
| virtual | ~AgentOperDBEntry () |
| IFMapNode * | ifmap_node () const |
| void | SetIFMapNodeState (IFMapDependencyManager::IFMapNodePtr sref) |
Public Member Functions inherited from AgentDBEntry | |
| 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 () |
Public Member Functions inherited from DBEntry | |
| DBEntry () | |
| virtual | ~DBEntry () |
| bool | operator< (const DBEntry &rhs) const |
Public Member Functions inherited from DBEntryBase | |
| 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 (SgEntry) | |
Private Member Functions inherited from AgentRefCount< SgEntry > | |
| uint32_t | GetRefCount () const |
| AgentRefCount () | |
| AgentRefCount (const AgentRefCount &) | |
| AgentRefCount & | operator= (const AgentRefCount &) |
| virtual | ~AgentRefCount () |
| void | swap (AgentRefCount &) |
Private Attributes | |
| boost::uuids::uuid | sg_uuid_ |
| uint32_t | sg_id_ |
| AclDBEntryRef | egress_acl_ |
| AclDBEntryRef | ingress_acl_ |
Private Attributes inherited from AgentRefCount< SgEntry > | |
| tbb::mutex | back_ref_mutex_ |
| std::set< IntrusiveReferrer > | back_ref_set_ |
Friends | |
| class | SgTable |
Additional Inherited Members | |
Public Types inherited from AgentDBEntry | |
| typedef boost::intrusive_ptr< AgentDBEntry > | AgentDBEntyRef |
Public Types inherited from DBEntryBase | |
| typedef DBTableBase::ListenerId | ListenerId |
| typedef std::unique_ptr< DBRequestKey > | KeyPtr |
Public Attributes inherited from DBEntryBase | |
| boost::intrusive::list_member_hook | chg_list_ |
|
inline |
|
inline |
|
virtual |
Implements AgentDBEntry.
Definition at line 184 of file sg.cc.

|
private |
|
virtual |
Implements DBEntryBase.
|
inline |
|
inline |
|
inlinevirtual |
Implements AgentDBEntry.
Definition at line 56 of file sg.h.

|
inline |
|
virtual |
| void SgEntry::SendObjectLog | ( | SandeshTraceBufferPtr | ptr, |
| AgentLogEvent::type | event | ||
| ) | const |
|
virtual |
|
virtual |
Implements DBEntryBase.
|
private |
|
private |
|
private |