OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ksync_entry.h File Reference
#include <boost/intrusive_ptr.hpp>
#include <boost/intrusive/set.hpp>
#include <tbb/atomic.h>
#include <sandesh/common/vns_constants.h>
#include <sandesh/common/vns_types.h>
#include <sandesh/sandesh_trace.h>
#include <db/db_entry.h>
Include dependency graph for ksync_entry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  KSyncEntry
 
struct  KSyncEntry::KSyncEntryTransition
 
class  KSyncEntry::KSyncEntryTransHistory
 
class  KSyncDBEntry
 

Macros

#define KSYNC_ERROR(obj,...)
 
#define KSYNC_ERROR_TRACE(obj,...)
 

Variables

SandeshTraceBufferPtr KSyncErrorTraceBuf
 

Macro Definition Documentation

#define KSYNC_ERROR (   obj,
  ... 
)
Value:
do {\
if (LoggingDisabled()) break;\
obj::Send(g_vns_constants.CategoryNames.find(Category::VROUTER)->second,\
SandeshLevel::SYS_DEBUG, __FILE__, __LINE__, ##__VA_ARGS__);\
} while (false)
bool LoggingDisabled()
Definition: logging.cc:24

Definition at line 16 of file ksync_entry.h.

#define KSYNC_ERROR_TRACE (   obj,
  ... 
)
Value:
do { \
KSyncError##obj::TraceMsg(KSyncErrorTraceBuf, \
__FILE__, __LINE__, __VA_ARGS__); \
} while (false)
SandeshTraceBufferPtr KSyncErrorTraceBuf

Definition at line 24 of file ksync_entry.h.

Variable Documentation

SandeshTraceBufferPtr KSyncErrorTraceBuf