dbus-cxx logo
messagefilter.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2009,2010 by Rick L. Vinyard, Jr. *
3  * rvinyard@cs.nmsu.edu *
4  * *
5  * This file is part of the dbus-cxx library. *
6  * *
7  * The dbus-cxx library is free software; you can redistribute it and/or *
8  * modify it under the terms of the GNU General Public License *
9  * version 3 as published by the Free Software Foundation. *
10  * *
11  * The dbus-cxx library is distributed in the hope that it will be *
12  * useful, but WITHOUT ANY WARRANTY; without even the implied warranty *
13  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
14  * General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License *
17  * along with this software. If not see <http://www.gnu.org/licenses/>. *
18  ***************************************************************************/
20 
21 #ifndef DBUSCXX_MESSAGEFILTER_H
22 #define DBUSCXX_MESSAGEFILTER_H
23 
24 namespace DBus
25 {
26 
36  {
37  protected:
38  MessageFilter();
39 
40  public:
41 
42  typedef DBusCxxPointer<MessageFilter> pointer;
43 
44  typedef DBusCxxWeakPointer<MessageFilter> weak_pointer;
45 
46  virtual ~MessageFilter();
47 
49 // virtual HandlerResult handle_message( DBusCxxPointer<Connection>, Message::const_pointer );
50 
51  protected:
52 
53 // virtual FilterResult on_filter_message( DBusCxxPointer<Connection>, Message::const_pointer );
54 
55  };
56 
57  typedef sigc::signal<FilterResult,DBusCxxPointer<Connection>,Message::pointer>::accumulated<FilterAccumulator> FilterSignal;
58 
59 }
60 
61 #endif
This class provides a common base class for all message filters.
Definition: messagefilter.h:35
DBusCxxWeakPointer< MessageFilter > weak_pointer
Definition: messagefilter.h:44
DBusCxxPointer< Message > pointer
Definition: message.h:60
Definition: accumulators.h:24
This class provides a common base class for all message handlers.
Definition: messagehandler.h:40
sigc::signal< FilterResult, DBusCxxPointer< Connection >, Message::pointer >::accumulated< FilterAccumulator > FilterSignal
Definition: messagefilter.h:57
MessageFilter()
Definition: messagefilter.cpp:26
DBusCxxPointer< MessageFilter > pointer
Definition: messagefilter.h:42
virtual ~MessageFilter()
Definition: messagefilter.cpp:30

Generated on Sun Mar 19 2017 14:54:27 for dbus-cxx by doxygen 1.8.8