lintel
0.2.0
Loading...
Searching...
No Matches
src
include
lintel
core
persistence
Notify.h
Go to the documentation of this file.
1
#ifndef LINTEL_NOTIFY_H
2
#define LINTEL_NOTIFY_H
3
4
#include <memory>
5
6
#include "
Connection.h
"
7
#include "
lintel/core/persistence/postgresql/Notify.h
"
8
#include "
lintel/core/persistence/sqlite3/Notify.h
"
9
10
namespace
lintel
{
11
namespace
db {
16
class
Notify
17
{
18
private
:
19
Connection
&m_connection;
20
std::unique_ptr<sqlite::Notify> m_notifySqlite =
nullptr
;
21
std::unique_ptr<postgresql::Notify> m_notifyPostgresql =
nullptr
;
22
23
public
:
30
explicit
Notify
(
Connection
&connection, std::function<
void
()>
functionCallBack
,
const
std::string &
tableName
);
31
};
32
}
// namespace db
33
34
}
// namespace lintel
35
#endif
// LINTEL_NOTIFY_H
lintel::db::Connection
Definition
Connection.h:25
lintel::db::Notify
Definition
Notify.h:17
lintel::db::Notify::Notify
Notify(Connection &connection, std::function< void()> functionCallBack, const std::string &tableName)
lintel
Definition
BaseFeature.h:6
lintel::type_name
constexpr std::string_view type_name()
Definition
TypeName.h:9
Notify.h
Connection.h
Notify.h
Generated by
1.9.8