sipxmedialib  Version 3.3
StreamDataSourceListener.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2006 SIPez LLC.
3 // Licensed to SIPfoundry under a Contributor Agreement.
4 //
5 // Copyright (C) 2004-2006 SIPfoundry Inc.
6 // Licensed by SIPfoundry under the LGPL license.
7 //
8 // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
9 // Licensed to SIPfoundry under a Contributor Agreement.
10 //
11 // $$
13 
14 
15 #ifndef _StreamDataSourceListener_h_
16 #define _StreamDataSourceListener_h_
17 
18 // SYSTEM INCLUDES
19 // APPLICATION INCLUDES
20 #include "mp/StreamDataSource.h"
21 
22 // DEFINES
23 // MACROS
24 // EXTERNAL FUNCTIONS
25 // EXTERNAL VARIABLES
26 // CONSTANTS
27 // STRUCTS
28 // TYPEDEFS
29 // FORWARD DECLARATIONS
30 
31 //:Listener interface for a StreamDataSource
33 {
34 /* //////////////////////////// PUBLIC //////////////////////////////////// */
35 public:
36 
37 /* ============================ CREATORS ================================== */
39 
41  //:Default constructor
42 
43  virtual
45  //:Destructor
46 
48 
49 /* ============================ MANIPULATORS ============================== */
51 
52  virtual void dataSourceUpdate(StreamDataSource* pDataSource,
53  StreamDataSourceEvent event) = 0 ;
54  //: Informs the listener when the data soruce has an event to publish.
57 
59 
60 /* ============================ ACCESSORS ================================= */
62 
63 
65 
66 /* ============================ INQUIRY =================================== */
68 
69 
71 
72 /* //////////////////////////// PROTECTED ///////////////////////////////// */
73 protected:
74 
75  StreamDataSourceListener(const StreamDataSourceListener& rStreamDataSourceListener);
76  //:Copy constructor
77 
79  //:Assignment operator
80 
81 /* //////////////////////////// PRIVATE /////////////////////////////////// */
82 private:
83 };
84 
85 /* ============================ INLINE METHODS ============================ */
86 
87 #endif // _StreamDataSourceListener_h_
An abstraction definition of a stream data source.
Definition: StreamDataSource.h:47
StreamDataSourceEvent
Definition: StreamDataSource.h:31
StreamDataSourceListener()
Definition: StreamDataSourceListener.cpp:26
StreamDataSourceListener & operator=(const StreamDataSourceListener &rhs)
Definition: StreamDataSourceListener.cpp:52
virtual ~StreamDataSourceListener()
Definition: StreamDataSourceListener.cpp:31
virtual void dataSourceUpdate(StreamDataSource *pDataSource, StreamDataSourceEvent event)=0
Definition: StreamDataSourceListener.h:32