libpqxx
The C++ client library for PostgreSQL
Toggle main menu visibility
Loading...
Searching...
No Matches
connection-notification_receiver.hxx
Go to the documentation of this file.
1
#include <
pqxx/internal/callgate.hxx
>
2
3
#include "
pqxx/connection.hxx
"
4
5
6
namespace
pqxx
7
{
8
class
notification_receiver
;
9
}
10
11
12
namespace
pqxx::internal::gate
13
{
14
class
PQXX_PRIVATE
connection_notification_receiver : callgate<connection>
15
{
16
friend
class
pqxx::notification_receiver;
17
18
connection_notification_receiver(reference x) : super(x) {}
19
20
void
add_receiver(notification_receiver *receiver)
21
{
22
home().add_receiver(receiver);
23
}
24
void
remove_receiver(notification_receiver *receiver)
noexcept
25
{
26
home().remove_receiver(receiver);
27
}
28
};
29
}
// namespace pqxx::internal::gate
callgate.hxx
pqxx::notification_receiver
Definition
notification.hxx:57
connection.hxx
PQXX_PRIVATE
#define PQXX_PRIVATE
Definition
header-pre.hxx:158
pqxx::internal::gate
Definition
connection.hxx:108
pqxx
The home of all libpqxx classes, functions, templates, etc.
Definition
array.cxx:27
include
pqxx
internal
gates
connection-notification_receiver.hxx
Generated by
1.17.0