ACE_Streams.
#include <ace/Service_Types.h>
class ACE_Stream_Type : public ACE_Service_Type_Impl {
public:ACE_Stream_Type ( void *s, const ASYS_TCHAR *identifier, u_int flags = 0 );~ACE_Stream_Type (void);virtual int suspend (void) const;virtual int resume (void) const;virtual int init (int argc, ASYS_TCHAR *argv[]) const;virtual int fini (void) const;virtual int info (ASYS_TCHAR **str, size_t len) const;int push (ACE_Module_Type *new_module);int remove (ACE_Module_Type *module);ACE_Module_Type *find (const ASYS_TCHAR *mod_name) const;void dump (void) const;ACE_ALLOC_HOOK_DECLARE;private:ACE_Module_Type *head_;};
ACE_Stream_Type (
void *s,
const ASYS_TCHAR *identifier,
u_int flags = 0
);
~ACE_Stream_Type (void);
= Implement the hooks for ACE_Streams.
virtual int suspend (void) const;
virtual int resume (void) const;
virtual int init (int argc, ASYS_TCHAR *argv[]) const;
virtual int fini (void) const;
virtual int info (ASYS_TCHAR **str, size_t len) const;
int push (ACE_Module_Type *new_module);
ACE_Module to the top of the ACE_Stream.
int remove (ACE_Module_Type *module);
module and remove it from the ACE_Stream.
ACE_Module_Type *find (const ASYS_TCHAR *mod_name) const;
ACE_Module with mod_name.
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;