ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
System::Leaf< Class > Class Template Reference

Abstract class that represents a component of the system. More...

#include <Leaf.hpp>

+ Inheritance diagram for System::Leaf< Class >:
+ Collaboration diagram for System::Leaf< Class >:

Public Member Functions

void bind_system (std::shared_ptr< System > const &system)
 
void detach_system (std::shared_ptr< System > const &system)
 

Protected Member Functions

auto & get_system ()
 
auto & get_system () const
 

Protected Attributes

std::weak_ptr< Systemm_system
 

Detailed Description

template<typename Class>
class System::Leaf< Class >

Abstract class that represents a component of the system.

See System class design for more details.

Definition at line 34 of file core/system/Leaf.hpp.

Member Function Documentation

◆ bind_system()

template<typename Class >
void System::Leaf< Class >::bind_system ( std::shared_ptr< System > const &  system)
inline

Definition at line 51 of file core/system/Leaf.hpp.

References System::Leaf< Class >::m_system.

◆ detach_system()

template<typename Class >
void System::Leaf< Class >::detach_system ( std::shared_ptr< System > const &  system)
inline

Definition at line 57 of file core/system/Leaf.hpp.

References System::Leaf< Class >::m_system.

◆ get_system() [1/2]

◆ get_system() [2/2]

template<typename Class >
auto & System::Leaf< Class >::get_system ( ) const
inlineprotected

Definition at line 44 of file core/system/Leaf.hpp.

References System::Leaf< Class >::m_system.

Member Data Documentation

◆ m_system


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