Scine::Core  3.0.0
Module management and core interface definitions
 All Classes Files Functions Variables Typedefs Pages
SampleModule.h File Reference
#include <Core/Module.h>
#include <boost/dll/alias.hpp>
#include <memory>
Include dependency graph for SampleModule.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sample_namespace::SampleModule
 Your module class definition. More...
 

Functions

std::vector< std::shared_ptr
< Scine::Core::Module > > 
sample_namespace::moduleFactory ()
 
 BOOST_DLL_ALIAS (sample_namespace::moduleFactory, moduleFactory)
 

Detailed Description

Steps to make this your own module header:

  • Replace the preprocessor variable after #ifndef, #define and #endif
  • Adjust all instances of the placeholder namespace name (sample_namespace)
  • Adjust all instances of the SampleModule class name and rename this file and its matching .cpp accordingly
  • Delete this documentation