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


Public Member Functions | |
| VmEntry (const boost::uuids::uuid &id) | |
| virtual | ~VmEntry () |
| virtual bool | IsLess (const DBEntry &rhs) const |
| virtual KeyPtr | GetDBRequestKey () const |
| virtual void | SetKey (const DBRequestKey *key) |
| virtual string | ToString () const |
| const string & | GetCfgName () const |
| void | SetCfgName (std::string name) |
| const boost::uuids::uuid & | GetUuid () const |
| uint32_t | GetRefCount () const |
| void | SendObjectLog (AgentLogEvent::type event) const |
| bool | DBEntrySandesh (Sandesh *sresp, std::string &name) const |
| uint32_t | flow_count () const |
| void | update_flow_count (int val) const |
| uint32_t | linklocal_flow_count () const |
| void | update_linklocal_flow_count (int val) const |
| bool | drop_new_flows () 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 () |
Static Public Attributes | |
| static const int | kVectorIncreaseSize = 16 |
Private Member Functions | |
| void | SetInterfacesDropNewFlows (bool drop_new_flows) const |
| DISALLOW_COPY_AND_ASSIGN (VmEntry) | |
Private Member Functions inherited from AgentRefCount< VmEntry > | |
| uint32_t | GetRefCount () const |
| AgentRefCount () | |
| AgentRefCount (const AgentRefCount &) | |
| AgentRefCount & | operator= (const AgentRefCount &) |
| virtual | ~AgentRefCount () |
| void | swap (AgentRefCount &) |
Private Attributes | |
| boost::uuids::uuid | uuid_ |
| std::string | name_ |
| tbb::atomic< int > | flow_count_ |
| tbb::atomic< int > | linklocal_flow_count_ |
| bool | drop_new_flows_ |
Private Attributes inherited from AgentRefCount< VmEntry > | |
| tbb::mutex | back_ref_mutex_ |
| std::set< IntrusiveReferrer > | back_ref_set_ |
Friends | |
| class | VmTable |
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_ |
| VmEntry::VmEntry | ( | const boost::uuids::uuid & | id | ) |
|
virtual |
Implements AgentDBEntry.
Definition at line 52 of file vm.cc.

|
private |
|
virtual |
Implements DBEntryBase.
|
inlinevirtual |
Implements AgentDBEntry.
Definition at line 48 of file vm.h.

|
inline |
|
virtual |
| void VmEntry::SendObjectLog | ( | AgentLogEvent::type | event | ) | const |
|
private |
|
virtual |
|
virtual |
Implements DBEntryBase.
Definition at line 38 of file vm.cc.

| void VmEntry::update_flow_count | ( | int | val | ) | const |
|
inline |
|
private |