logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ost::DSO - The DSO dynamic loader class is used to load object files.

Author

       Generated automatically by Doxygen for GNU CommonC++ from the source code.

GNU CommonC++                                    Sun Dec 27 2020                                     ost::DSO(3)

Constructor & Destructor Documentation

ost::DSO::DSO(constchar*filename)[inline]
       Construct and load a DSO object file.

       Parametersfilename pathname of object file to load.

   ost::DSO::DSO(constchar*filename,boolresolve)[inline]virtualost::DSO::~DSO()[virtual]
       Detach a DSO object from running memory.

Detailed Description

       The DSO dynamic loader class is used to load object files.

       On elf based systems this is typically done with dlopen. A dummy stub class is generated for non-dl
       capable systems.

       Author
           David Sugar dyfet@ostel.com

       Dynamic class file loader.

Member Function Documentation

staticvoidost::DSO::dynunload(void)[static]constchar*ost::DSO::getError(void)[inline]
       Retrieve error indicator associated with DSO failure. This is often used in catch handlers.

   staticDSO*ost::DSO::getObject(constchar*name)[static]
       Find a specific DSO object by filename.

       Parametersname of DSO object file (partial).

   boolost::DSO::isValid(void)
       See if DSO object is valid.

       Returns
           true if valid.

   void*ost::DSO::operator[](constchar*sym)
       Lookup a symbol in the loaded file.

   staticvoidost::DSO::setDebug(void)[static]
       Install debug handler...

Name

       ost::DSO - The DSO dynamic loader class is used to load object files.

Synopsis

       #include <file.h>

   PublicMemberFunctionsDSO (const char *filename)
           Construct and load a DSO object file.
       DSO (const char *filename, bool resolve)
       const char * getError (void)
           Retrieve error indicator associated with DSO failure.
       virtual ~DSO ()
           Detach a DSO object from running memory.
       void * operator[] (const char *sym)
           Lookup a symbol in the loaded file.
       bool isValid (void)
           See if DSO object is valid.

   StaticPublicMemberFunctions
       static void dynunload (void)
       static DSO * getObject (const char *name)
           Find a specific DSO object by filename.
       static void setDebug (void)
           Install debug handler...

See Also