Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::LinuxLibraryPeer Class Reference

#include <LinuxLibraryPeer.h>

Inheritance diagram for VCF::LinuxLibraryPeer:

VCF::LibraryPeer List of all members.

Public Member Functions

 LinuxLibraryPeer ()
virtual ~LinuxLibraryPeer ()
virtual void load (const String &libraryFilename)
 loads a dynamic library
virtual void * getFunction (const String &functionName)
 returns a pointer to the function named functionName.
virtual void unload ()
virtual OSHandleID getHandleID ()
 Returns an OS handle to the loaded library.

Protected Attributes

void * libHandle_

Constructor & Destructor Documentation

VCF::LinuxLibraryPeer::LinuxLibraryPeer  ) 
 

virtual VCF::LinuxLibraryPeer::~LinuxLibraryPeer  )  [virtual]
 


Member Function Documentation

virtual void* VCF::LinuxLibraryPeer::getFunction const String functionName  )  [virtual]
 

returns a pointer to the function named functionName.

Parameters:
String the name of the function to get a pointer to
Returns:
void* a pointer to the function. Must be typcasted into a valid function pointer on the caller's side. Throws RuntimeException if a failure to load the library occurs

Implements VCF::LibraryPeer.

virtual OSHandleID VCF::LinuxLibraryPeer::getHandleID  )  [virtual]
 

Returns an OS handle to the loaded library.

Implements VCF::LibraryPeer.

virtual void VCF::LinuxLibraryPeer::load const String libraryFilename  )  [virtual]
 

loads a dynamic library

Implements VCF::LibraryPeer.

virtual void VCF::LinuxLibraryPeer::unload  )  [virtual]
 

Implements VCF::LibraryPeer.


Member Data Documentation

void* VCF::LinuxLibraryPeer::libHandle_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information