Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6datastream.h
Go to the documentation of this file.
1 
9 #if !defined(P6DATASTREAM_H__)
10 #define P6DATASTREAM_H__ 1
11 
12 namespace P6R {
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
42 interface p6IDataStream : p6ICom
43 {
55 
69  P6COMMETHOD processStream(const P6R::P6VOID *pData,P6R::P6UINT32 cData) = 0;
70 
71 
80  P6COMMETHOD endStream() = 0;
81 };
82 
83 
84 // {1AC66A7B-31E0-4090-BCC8-3E8A4F12C363}
85 #define IF_p6IDataStream {0x1AC66A7B,0x31E0,0x4090,{0xBC,0xC8,0x3E,0x8A,0x4F,0x12,0xC3,0x63}}
86 
87 
88 #ifdef __cplusplus
89 }
90 #endif
91 
92 } // namespace
93 
94 #endif
unsigned int P6UINT32
Definition: p6types.h:40
virtual P6R::P6ERR beginStream()=0
Called to prepare the component to begin accepting stream data via the processStream() method...
This interface is implmented by components that support receiving streamed data.
Definition: p6datastream.h:42
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:96
virtual P6R::P6ERR processStream(const P6R::P6VOID *pData, P6R::P6UINT32 cData)=0
Provides implementation depent processing of the provided data.
#define P6COMMETHOD
Definition: p6types.h:872
virtual P6R::P6ERR endStream()=0
This method is to notify the component that there is no more data to be processed.
void P6VOID
Definition: p6types.h:75