Reference

ACE_Static_Svc_Descriptor(3)

Holds the information necessary to describe a statically linked Svc.

NAME

ACE_Static_Svc_Descriptor - Holds the information necessary to describe a statically linked Svc.

SYNOPSIS

#include <ace/Service_Config.h>
class ACE_Static_Svc_Descriptor
{
  public:
    const ASYS_TCHAR *name_;
    int type_;
    ACE_SERVICE_ALLOCATOR alloc_;
    u_int flags_;
    int active_;
    void dump (void) const;
    ACE_ALLOC_HOOK_DECLARE;
    int operator== (ACE_Static_Svc_Descriptor &) const;
};

PUBLIC MEMBERS

const ASYS_TCHAR *name_;

Name of the service.

int type_;

Type of service.

ACE_SERVICE_ALLOCATOR alloc_;

Factory function that allocates the service.

u_int flags_;

Bitmask flags indicating how the framework should delete memory.

int active_;

Flag indicating whether the service starts out active.

void dump (void) const;

Dump the state of an object.

ACE_ALLOC_HOOK_DECLARE;

Declare the dynamic allocation hooks.

int operator== (ACE_Static_Svc_Descriptor &) const;

Compare two service descriptors for equality.

AUTHOR

Doug Schmidt

LIBRARY

ace