|
From: Frank V. C. <fr...@us...> - 2000-11-24 13:45:10
|
Update of /cvsroot/corelinux/clfll/clfll In directory slayer.i.sourceforge.net:/tmp/cvs-serv30620/clfll Modified Files: FunctionLibraryInstance.hpp FunctionLoader.hpp Log Message: 112702 Function Library Loader Index: FunctionLibraryInstance.hpp =================================================================== RCS file: /cvsroot/corelinux/clfll/clfll/FunctionLibraryInstance.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** FunctionLibraryInstance.hpp 2000/11/21 16:26:03 1.2 --- FunctionLibraryInstance.hpp 2000/11/24 13:45:07 1.3 *************** *** 131,135 **** --- 131,174 ---- private: + // + // Function loader access methods + // + friend class FunctionLoader; + + // + // Accessors + // + /** + Retrieves the Handle from the instance + @return Handle pointer to handle for function library + */ + + Handle getLibraryHandle( void ) const; + + /// Get the count of users from this instance + + Count getReferenceCount( void ) const; + + // + // Mutators + // + /// Increment and get value + + Count increaseReferenceCount( void ); + + /// Decrement and get value + + Count decreaseReferenceCount( void ); + + + private: + + /// The library handle from dlopen + Handle theLibraryHandle; + + /// The users of this library instance + + Count theReferenceCount; }; Index: FunctionLoader.hpp =================================================================== RCS file: /cvsroot/corelinux/clfll/clfll/FunctionLoader.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** FunctionLoader.hpp 2000/11/20 05:26:35 1.2 --- FunctionLoader.hpp 2000/11/24 13:45:07 1.3 *************** *** 104,107 **** --- 104,108 ---- virtual LibraryInstancePtr load( CharPtr ) throw ( LoadException ); + virtual void unLoad( LibraryInstancePtr ) throw ( LoadException ); protected: |