#include <typeinfo>
#include <boost/bind.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/statechart/custom_reaction.hpp>
#include <boost/statechart/event.hpp>
#include <boost/statechart/simple_state.hpp>
#include <boost/statechart/state.hpp>
#include <boost/statechart/state_machine.hpp>
#include <boost/statechart/transition.hpp>
#include <boost/statechart/in_state_reaction.hpp>
#include <base/logging.h>
#include <base/task_annotations.h>
#include <io/event_manager.h>
#include <io/tcp_session.h>
#include <io/tcp_server.h>
#include <sandesh/sandesh_constants.h>
#include <sandesh/sandesh_types.h>
#include <sandesh/sandesh.h>
#include <sandesh/sandesh_session.h>
#include <sandesh/sandesh_uve_types.h>
#include <sandesh/sandesh_message_builder.h>
#include "sandesh_statistics.h"
#include "sandesh_connection.h"
#include "sandesh_state_machine.h"
Go to the source code of this file.
#define SESSION_LOG |
( |
|
session | ) |
SANDESH_LOG(DEBUG, ((session) ? (session)->ToString() : "*") << ":" << Name()) |
#define SM_LOG |
( |
|
_Level, |
|
|
|
_Msg |
|
) |
| |
Value:do { \
log4cplus::Logger _Xlogger =
Sandesh::logger(); \
if (_Xlogger.isEnabledFor(log4cplus::_Level##_LOG_LEVEL)) { \
log4cplus::tostringstream _Xbuf; \
SandeshStateMachine *_sm = &context<SandeshStateMachine>(); \
_Xbuf << _sm->prefix() << _Msg; \
_Xlogger.forcedLog(log4cplus::_Level##_LOG_LEVEL, \
_Xbuf.str()); \
} \
} while (false)
Definition at line 44 of file sandesh_state_machine.cc.
const std::string state_names[] |
|
static |