NAME
ACE_Service_Record -
Packaging interface for the various types of
ACE_Service_Types.
SYNOPSIS
#include <ace/Service_Record.h>
class ACE_Service_Record
{
public:
ACE_Service_Record (
const char *n,
ACE_Service_Type *o,
const void *handle,
int active
);
~ACE_Service_Record (void);
const char *name (void) const;
void name (const char *);
const ACE_Service_Type *type (void) const;
void type (const ACE_Service_Type *, int active = 1);
const void *handle (void) const;
void handle (const void *);
void suspend (void) const;
void resume (void) const;
int active (void) const;
void active (int);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
private:
const char *name_;
const ACE_Service_Type *type_;
const void *handle_;
int active_;
};
Initialization and termination methods.
ACE_Service_Record (
const char *n,
ACE_Service_Type *o,
const void *handle,
int active
);
~ACE_Service_Record (void);
const char *name (void) const;
void name (const char *);
const ACE_Service_Type *type (void) const;
void type (const ACE_Service_Type *, int active = 1);
const void *handle (void) const;
void handle (const void *);
void suspend (void) const;
void resume (void) const;
int active (void) const;
void active (int);
void dump (void) const;
Dump the state of an object.
ACE_ALLOC_HOOK_DECLARE;
Declare the dynamic allocation hooks.
AUTHOR
Doug Schmidt
LIBRARY
ace