Reference

ACE_Module_Type(3)

Define the methods for handling the configuration of ACE_Modules.

NAME

ACE_Module_Type - Define the methods for handling the configuration of ACE_Modules.

SYNOPSIS

#include <ace/Service_Types.h>
class ACE_Module_Type : public ACE_Service_Type_Impl
{
  public:
    ACE_Module_Type (
        void *m,
        const ASYS_TCHAR *identifier,
        u_int flags = 0
        );
    ~ACE_Module_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;
    ACE_Module_Type *link (void) const;
    void link (ACE_Module_Type *);
    void dump (void) const;
    ACE_ALLOC_HOOK_DECLARE;
  private:
    ACE_Module_Type *link_;
};

Initialization method.

ACE_Module_Type (
    void *m,
    const ASYS_TCHAR *identifier,
    u_int flags = 0
    );

~ACE_Module_Type (void);

= Implement the hooks for ACE_Modules.

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;

Get/set the link pointer.

ACE_Module_Type *link (void) const;

void link (ACE_Module_Type *);

void dump (void) const;

Dump the state of an object.

ACE_ALLOC_HOOK_DECLARE;

Declare the dynamic allocation hooks.

AUTHOR

Doug Schmidt

LIBRARY

ace