libIntegra
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
notification_sink.h
Go to the documentation of this file.
1 /* libIntegra modular audio framework
2  *
3  * Copyright (C) 2007 Birmingham City University
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
18  * USA.
19  */
20 
27 #ifndef INTEGRA_NOTIFICATION_SINK_API
28 #define INTEGRA_NOTIFICATION_SINK_API
29 
30 #include "common_typedefs.h"
31 
32 
33 namespace integra_api
34 {
35  class CCommandSource;
36  class IServer;
37  class CPath;
38 
50  class INTEGRA_API INotificationSink
51  {
52  protected:
53 
55 
56  public:
57 
58  virtual ~INotificationSink() {}
59 
67  virtual void on_set_command( const IServer &server, const CPath &endpoint_path, const CCommandSource &source ) = 0;
68  };
69 }
70 
71 
72 
73 #endif
Provides methods to query libIntegra and process commands.
Definition: server.h:51
Represents an enumeration of command sources.
Definition: command_source.h:39
Provides mechanism to recieve feedback about changes to libIntegra's state.
Definition: notification_sink.h:50
Represents the address of a node endpoint, absolutely or relatively.
Definition: path.h:48
#defines and typedefs used throughout the application