Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET
Apache Qpid Documentation
qmf
posix
EventNotifier.h
Go to the documentation of this file.
1
#ifndef __QMF_POSIX_EVENT_NOTIFIER_H
2
#define __QMF_POSIX_EVENT_NOTIFIER_H
3
4
/*
5
* Licensed to the Apache Software Foundation (ASF) under one
6
* or more contributor license agreements. See the NOTICE file
7
* distributed with this work for additional information
8
* regarding copyright ownership. The ASF licenses this file
9
* to you under the Apache License, Version 2.0 (the
10
* "License"); you may not use this file except in compliance
11
* with the License. You may obtain a copy of the License at
12
*
13
* http://www.apache.org/licenses/LICENSE-2.0
14
*
15
* Unless required by applicable law or agreed to in writing,
16
* software distributed under the License is distributed on an
17
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18
* KIND, either express or implied. See the License for the
19
* specific language governing permissions and limitations
20
* under the License.
21
*/
22
23
#if !defined(QMF_USE_DEPRECATED_API) && !defined(qmf2_EXPORTS) && !defined(SWIG)
24
# error "The API defined in this file has been DEPRECATED and will be removed in the future."
25
# error "Define 'QMF_USE_DEPRECATED_API' to enable continued use of the API."
26
#endif
27
28
#include <
qmf/ImportExport.h
>
29
#include "
qmf/Handle.h
"
30
#include "
qmf/AgentSession.h
"
31
#include "
qmf/ConsoleSession.h
"
32
33
namespace
qmf
{
34
35
class
PosixEventNotifierImpl;
36
struct
PosixEventNotifierImplAccess;
37
38
namespace
posix {
39
40
#ifndef SWIG
41
template
<
class
>
class
PrivateImplRef
;
42
#endif
43
44
class
QMF_CLASS_EXTERN
EventNotifier
:
public
qmf::Handle
<qmf::PosixEventNotifierImpl> {
45
public
:
46
QMF_EXTERN
EventNotifier
(PosixEventNotifierImpl* impl = 0);
47
QMF_EXTERN
EventNotifier
(::
qmf::AgentSession
& agentSession);
48
QMF_EXTERN
EventNotifier
(::
qmf::ConsoleSession
& consoleSession);
49
QMF_EXTERN
EventNotifier
(
const
EventNotifier
& that);
50
51
QMF_EXTERN
~
EventNotifier
();
52
53
QMF_EXTERN
EventNotifier
& operator=(
const
EventNotifier
& that);
54
55
QMF_EXTERN
int
getHandle()
const
;
56
57
#ifndef SWIG
58
private
:
59
friend
class
qmf::PrivateImplRef
<
EventNotifier
>;
60
friend
struct
qmf::PosixEventNotifierImplAccess;
61
#endif
62
63
};
64
65
}}
66
67
#endif
68
qmf::PrivateImplRef
Definition:
Agent.h:40
qmf::ConsoleSession
Definition:
ConsoleSession.h:46
qmf
Definition:
Agent.h:37
ImportExport.h
QMF_CLASS_EXTERN
#define QMF_CLASS_EXTERN
Definition:
ImportExport.h:31
qmf::Handle
A handle is like a pointer: refers to an underlying implementation object.
Definition:
Handle.h:43
ConsoleSession.h
Handle.h
qmf::AgentSession
Definition:
AgentSession.h:48
AgentSession.h
qmf::posix::EventNotifier
Definition:
EventNotifier.h:44
QMF_EXTERN
#define QMF_EXTERN
Definition:
ImportExport.h:30
qmf::posix::PrivateImplRef
Definition:
EventNotifier.h:41
Qpid C++ API Reference
Generated on Wed Mar 14 2018 for Qpid C++ Client API by
1.8.14