OpenWalnut  1.5.0dev
Public Member Functions | Public Attributes | List of all members
WModuleLoader::PostponedLoad Struct Reference

Helper to store information on a lib which gets initialized later. More...

+ Collaboration diagram for WModuleLoader::PostponedLoad:

Public Member Functions

 PostponedLoad (std::shared_ptr< WSharedLib > lib, boost::filesystem::path path)
 Initialize the class and keep track of the lib (and its reference). More...
 

Public Attributes

std::shared_ptr< WSharedLibm_lib
 The library. More...
 
boost::filesystem::path m_path
 The path of the resources. More...
 

Detailed Description

Helper to store information on a lib which gets initialized later.

This basically is used for the arbitrary registration feature.

Definition at line 106 of file WModuleLoader.h.

Constructor & Destructor Documentation

◆ PostponedLoad()

WModuleLoader::PostponedLoad::PostponedLoad ( std::shared_ptr< WSharedLib lib,
boost::filesystem::path  path 
)
inline

Initialize the class and keep track of the lib (and its reference).

Parameters
libthe lib to keep
paththe lib path

Definition at line 114 of file WModuleLoader.h.

Member Data Documentation

◆ m_lib

std::shared_ptr< WSharedLib > WModuleLoader::PostponedLoad::m_lib

The library.

Need to keep this to avoid freeing the lib beforehand.

Definition at line 123 of file WModuleLoader.h.

◆ m_path

boost::filesystem::path WModuleLoader::PostponedLoad::m_path

The path of the resources.

Definition at line 128 of file WModuleLoader.h.


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