Reference

ACE_Location_Node(3)

Keep track of where a shared library is located.

NAME

ACE_Location_Node - Keep track of where a shared library is located.

SYNOPSIS

#include <ace/Parse_Node.h>
class ACE_Location_Node
{
  public:
    ACE_Location_Node (void);
    virtual void *symbol (ACE_Service_Object_Exterminator * = 0) = 0;
    virtual void set_symbol (void *h);
    ACE_SHLIB_HANDLE handle (void) const;
    void handle (const ACE_SHLIB_HANDLE h);
    const ASYS_TCHAR *pathname (void) const;
    void pathname (const ASYS_TCHAR *h);
    int dispose (void) const;
    virtual ~ACE_Location_Node (void);
    void dump (void) const;
    ACE_ALLOC_HOOK_DECLARE;
  protected:
    ACE_SHLIB_HANDLE open_handle (void);
    const ASYS_TCHAR *pathname_;
    int must_delete_;
    ACE_SHLIB_HANDLE handle_;
    void *symbol_;
};

PUBLIC MEMBERS

ACE_Location_Node (void);

virtual void *symbol (ACE_Service_Object_Exterminator * = 0) = 0;

virtual void set_symbol (void *h);

ACE_SHLIB_HANDLE handle (void) const;

void handle (const ACE_SHLIB_HANDLE h);

const ASYS_TCHAR *pathname (void) const;

void pathname (const ASYS_TCHAR *h);

int dispose (void) const;

virtual ~ACE_Location_Node (void);

void dump (void) const;

Dump the state of an object.

ACE_ALLOC_HOOK_DECLARE;

Declare the dynamic allocation hooks.

PROTECTED MEMBERS

ACE_SHLIB_HANDLE open_handle (void);

const ASYS_TCHAR *pathname_;

Pathname to the shared library we are working on.

int must_delete_;

Flag indicating whether the Service_Object generated by this Location Node should be deleted or not (ACE_Service_Type::DELETE_OBJ.)

ACE_SHLIB_HANDLE handle_;

Handle to the open shared library.

void *symbol_;

Symbol that we've obtained from the shared library.

AUTHOR

Doug Schmidt

LIBRARY

ace