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

#include <oper_db.h>

Inheritance diagram for AgentOperDBEntry:
Collaboration diagram for AgentOperDBEntry:

Public Member Functions

 AgentOperDBEntry ()
 
virtual ~AgentOperDBEntry ()
 
IFMapNodeifmap_node () const
 
void SetIFMapNodeState (IFMapDependencyManager::IFMapNodePtr sref)
 
- Public Member Functions inherited from AgentDBEntry
 AgentDBEntry ()
 
virtual ~AgentDBEntry ()
 
virtual uint32_t GetRefCount () const =0
 
void SetRefState () const
 
void ClearRefState () const
 
bool IsActive () const
 
DBStateGetAgentDBEntryState (int listener_id)
 
const DBStateGetAgentDBEntryState (int listener_id) const
 
virtual void AllocateResources (ResourceManager *resource_manager)
 
virtual void FreeResources (ResourceManager *resource_manager)
 
virtual void PostAdd ()
 
virtual bool DBEntrySandesh (Sandesh *resp, std::string &name) const =0
 
- Public Member Functions inherited from DBEntry
 DBEntry ()
 
virtual ~DBEntry ()
 
virtual void SetKey (const DBRequestKey *key)=0
 
virtual bool IsLess (const DBEntry &rhs) const =0
 
bool operator< (const DBEntry &rhs) const
 
- Public Member Functions inherited from DBEntryBase
 DBEntryBase ()
 
virtual ~DBEntryBase ()
 
virtual std::string ToString () const =0
 
virtual KeyPtr GetDBRequestKey () const =0
 
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)
 
DBStateGetState (DBTableBase *tbl_base, ListenerId listener) const
 
const DBStateGetState (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
 
DBTablePartBaseget_table_partition () const
 
void set_table_partition (DBTablePartBase *tpart)
 
DBTableBaseget_table () const
 
void Notify ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (AgentOperDBEntry)
 

Private Attributes

IFMapDependencyManager::IFMapNodePtr ifmap_node_state_
 

Friends

class AgentOperDBTable
 

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_
 

Detailed Description

Definition at line 74 of file oper_db.h.

Constructor & Destructor Documentation

AgentOperDBEntry::AgentOperDBEntry ( )
inline

Definition at line 76 of file oper_db.h.

virtual AgentOperDBEntry::~AgentOperDBEntry ( )
inlinevirtual

Definition at line 77 of file oper_db.h.

Member Function Documentation

AgentOperDBEntry::DISALLOW_COPY_AND_ASSIGN ( AgentOperDBEntry  )
private
IFMapNode* AgentOperDBEntry::ifmap_node ( ) const
inline

Definition at line 79 of file oper_db.h.

Here is the call graph for this function:

void AgentOperDBEntry::SetIFMapNodeState ( IFMapDependencyManager::IFMapNodePtr  sref)
inline

Definition at line 86 of file oper_db.h.

Friends And Related Function Documentation

friend class AgentOperDBTable
friend

Definition at line 90 of file oper_db.h.

Member Data Documentation

IFMapDependencyManager::IFMapNodePtr AgentOperDBEntry::ifmap_node_state_
private

Definition at line 91 of file oper_db.h.


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