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

#include <ovsdb_object.h>

Inheritance diagram for OVSDB::OvsdbObject:
Collaboration diagram for OVSDB::OvsdbObject:

Public Member Functions

 OvsdbObject (OvsdbClientIdl *idl)
 
virtual ~OvsdbObject ()
 
KSyncEntryFindActiveEntry (KSyncEntry *key)
 
void DeleteTable (void)
 
virtual void EmptyTable (void)
 
OvsdbClientIdlclient_idl ()
 
- Public Member Functions inherited from KSyncObject
 KSyncObject (const std::string &name)
 
 KSyncObject (const std::string &name, int max_index)
 
virtual ~KSyncObject ()
 
void InitStaleEntryCleanup (boost::asio::io_context &ios, uint32_t cleanup_time, uint32_t cleanup_intvl, uint16_t entries_per_intvl)
 
void NotifyEvent (KSyncEntry *entry, KSyncEntry::KSyncEvent event)
 
void SafeNotifyEvent (KSyncEntry *entry, KSyncEntry::KSyncEvent event)
 
virtual void NetlinkAck (KSyncEntry *entry, KSyncEntry::KSyncEvent event)
 
void BackRefAdd (KSyncEntry *key, KSyncEntry *reference)
 
void BackRefDel (KSyncEntry *key)
 
void BackRefReEval (KSyncEntry *key)
 
KSyncEntryCreate (const KSyncEntry *key)
 
KSyncEntryCreate (const KSyncEntry *key, bool skip_lookup)
 
KSyncEntryCreateStale (const KSyncEntry *key)
 
void Change (KSyncEntry *entry)
 
void Delete (KSyncEntry *entry)
 
KSyncEntryFind (const KSyncEntry *key)
 
KSyncEntryNext (const KSyncEntry *entry) const
 
KSyncEntryGetReference (const KSyncEntry *key)
 
virtual KSyncEntryAlloc (const KSyncEntry *key, uint32_t index)=0
 
virtual void Free (KSyncEntry *entry)
 
bool IsEmpty (void)
 
virtual bool DoEventTrace (void)
 
virtual void PreFree (KSyncEntry *entry)
 
std::size_t Size ()
 
void set_delete_scheduled ()
 
bool delete_scheduled ()
 
virtual SandeshTraceBufferPtr GetKSyncTraceBuf ()
 

Protected Member Functions

virtual void DeleteTableDone (void)
 
- Protected Member Functions inherited from KSyncObject
KSyncEntryCreateImpl (const KSyncEntry *key)
 
void ClearStale (KSyncEntry *entry)
 
void ChangeKey (KSyncEntry *entry, uint32_t arg)
 
virtual void UpdateKey (KSyncEntry *entry, uint32_t arg)
 
virtual uint32_t GetKey (KSyncEntry *entry)
 

Protected Attributes

OvsdbClientIdlPtr client_idl_
 
- Protected Attributes inherited from KSyncObject
tbb::recursive_mutex lock_
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (OvsdbObject)
 

Additional Inherited Members

- Public Types inherited from KSyncObject
typedef
boost::intrusive::member_hook
< KSyncEntry,
boost::intrusive::set_member_hook
<>,&KSyncEntry::node_
KSyncObjectNode
 
typedef boost::intrusive::set
< KSyncEntry, KSyncObjectNode
Tree
 
typedef
boost::intrusive::member_hook
< KSyncFwdReference,
boost::intrusive::set_member_hook
<>,&KSyncFwdReference::node_
KSyncFwdRefNode
 
typedef boost::intrusive::set
< KSyncFwdReference,
KSyncFwdRefNode
FwdRefTree
 
typedef
boost::intrusive::member_hook
< KSyncBackReference,
boost::intrusive::set_member_hook
<>,&KSyncBackReference::node_
KSyncBackRefNode
 
typedef boost::intrusive::set
< KSyncBackReference,
KSyncBackRefNode
BackRefTree
 
- Static Public Member Functions inherited from KSyncObject
static void Shutdown ()
 

Detailed Description

Definition at line 20 of file ovsdb_object.h.

Constructor & Destructor Documentation

OvsdbObject::OvsdbObject ( OvsdbClientIdl idl)

Definition at line 16 of file ovsdb_object.cc.

OvsdbObject::~OvsdbObject ( )
virtual

Definition at line 20 of file ovsdb_object.cc.

Member Function Documentation

OvsdbClientIdl* OVSDB::OvsdbObject::client_idl ( )
inline

Definition at line 31 of file ovsdb_object.h.

void OvsdbObject::DeleteTable ( void  )

Definition at line 31 of file ovsdb_object.cc.

Here is the call graph for this function:

virtual void OVSDB::OvsdbObject::DeleteTableDone ( void  )
inlineprotectedvirtual

Reimplemented in OVSDB::UnicastMacLocalOvsdb.

Definition at line 37 of file ovsdb_object.h.

OVSDB::OvsdbObject::DISALLOW_COPY_AND_ASSIGN ( OvsdbObject  )
private
void OvsdbObject::EmptyTable ( void  )
virtual

Reimplemented from KSyncObject.

Definition at line 38 of file ovsdb_object.cc.

Here is the call graph for this function:

KSyncEntry * OvsdbObject::FindActiveEntry ( KSyncEntry key)

Definition at line 23 of file ovsdb_object.cc.

Here is the call graph for this function:

Member Data Documentation

OvsdbClientIdlPtr OVSDB::OvsdbObject::client_idl_
protected

Definition at line 34 of file ovsdb_object.h.


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