ACE_Static_Svc_Descriptor Class Reference

Holds the information necessary to describe a statically linked Svc. More...

#include <Service_Config.h>

List of all members.

Public Member Functions

void dump (void) const
 Dump the state of an object.

bool operator== (ACE_Static_Svc_Descriptor &) const
 Compare two service descriptors for equality.

bool operator!= (ACE_Static_Svc_Descriptor &) const
 Compare two service descriptors for inequality.


Public Attributes

const ACE_TCHARname_
 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.

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.


Detailed Description

Holds the information necessary to describe a statically linked Svc.

Definition at line 92 of file Service_Config.h.


Member Function Documentation

void ACE_Static_Svc_Descriptor::dump void   )  const
 

Dump the state of an object.

ACE_INLINE bool ACE_Static_Svc_Descriptor::operator!= ACE_Static_Svc_Descriptor  )  const
 

Compare two service descriptors for inequality.

Definition at line 65 of file Service_Config.inl.

00066 {
00067   return !(*this == d);
00068 }

ACE_INLINE bool ACE_Static_Svc_Descriptor::operator== ACE_Static_Svc_Descriptor  )  const
 

Compare two service descriptors for equality.

Definition at line 57 of file Service_Config.inl.

References name_, and ACE_OS::strcmp().

00058 {
00059   return ACE_OS::strcmp (name_, d.name_) == 0;
00060 }


Member Data Documentation

ACE_Static_Svc_Descriptor::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Definition at line 114 of file Service_Config.h.

int ACE_Static_Svc_Descriptor::active_
 

Flag indicating whether the service starts out active.

Definition at line 108 of file Service_Config.h.

Referenced by ACE_Service_Gestalt::insert(), and ACE_Service_Gestalt::process_directive_i().

ACE_SERVICE_ALLOCATOR ACE_Static_Svc_Descriptor::alloc_
 

Factory function that allocates the service.

Definition at line 102 of file Service_Config.h.

Referenced by ACE_Service_Gestalt::process_directive_i(), and ACE_Static_Function_Node::symbol().

u_int ACE_Static_Svc_Descriptor::flags_
 

Bitmask flags indicating how the framework should delete memory.

Definition at line 105 of file Service_Config.h.

Referenced by ACE_Service_Gestalt::process_directive_i().

const ACE_TCHAR* ACE_Static_Svc_Descriptor::name_
 

Name of the service.

Definition at line 96 of file Service_Config.h.

Referenced by ACE_Service_Gestalt::insert(), operator==(), ACE_Service_Gestalt::process_directive_i(), and ACE_Service_Gestalt::Processed_Static_Svc::Processed_Static_Svc().

int ACE_Static_Svc_Descriptor::type_
 

Type of service.

Definition at line 99 of file Service_Config.h.

Referenced by ACE_Service_Gestalt::process_directive_i().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:30:10 2006 for ACE by doxygen 1.3.6