Apache Mesos
Public Member Functions | List of all members
DynamicLibrary Class Reference

DynamicLibrary is a very simple wrapper around the programming interface to the dynamic linking loader. More...

#include <dynamiclibrary.hpp>

Public Member Functions

 DynamicLibrary ()
 
virtual ~DynamicLibrary ()=default
 
Try< Nothingopen (const std::string &path)
 
Try< Nothingclose ()
 
Try< void * > loadSymbol (const std::string &name)
 
 DynamicLibrary ()
 
 DynamicLibrary (const DynamicLibrary &)=delete
 
 DynamicLibrary (DynamicLibrary &&)=delete
 
virtual ~DynamicLibrary ()
 
Try< Nothingopen (const std::string &path)
 
Try< Nothingclose ()
 
Try< void * > loadSymbol (const std::string &name)
 

Detailed Description

DynamicLibrary is a very simple wrapper around the programming interface to the dynamic linking loader.

Constructor & Destructor Documentation

DynamicLibrary::DynamicLibrary ( )
inline
virtual DynamicLibrary::~DynamicLibrary ( )
virtualdefault
DynamicLibrary::DynamicLibrary ( )
inline
DynamicLibrary::DynamicLibrary ( const DynamicLibrary )
delete
DynamicLibrary::DynamicLibrary ( DynamicLibrary &&  )
delete
virtual DynamicLibrary::~DynamicLibrary ( )
inlinevirtual

Member Function Documentation

Try<Nothing> DynamicLibrary::close ( )
inline
Try<Nothing> DynamicLibrary::close ( )
inline
Try<void*> DynamicLibrary::loadSymbol ( const std::string &  name)
inline
Try<void*> DynamicLibrary::loadSymbol ( const std::string &  name)
inline
Try<Nothing> DynamicLibrary::open ( const std::string &  path)
inline
Try<Nothing> DynamicLibrary::open ( const std::string &  path)
inline

The documentation for this class was generated from the following file: