|
| | g2 (const std::shared_ptr< GLogger > &log) |
| |
| void | doSomething (int a=0) |
| |
| | ~g2 ()=default |
| |
| | GBase (const std::shared_ptr< GOptions > &gopt, std::string logger_name="") |
| | Construct a base that creates (and owns) a logger for the derived instance.
|
| |
| | GBase (const std::shared_ptr< GLogger > &logger) |
| | Construct a base that reuses an existing logger.
|
| |
| | GBase (const GBase &)=default |
| | Copy constructor (shallow copy of the logger pointer).
|
| |
| | GBase (GBase &&) noexcept=default |
| | Move constructor.
|
| |
| virtual | ~GBase () |
| | Destructor that logs object destruction when a logger is available.
|
| |
| GBase & | operator= (const GBase &)=default |
| | Copy assignment (shallow copy of the logger pointer).
|
| |
| GBase & | operator= (GBase &&) noexcept=default |
| | Move assignment operator.
|
| |
|
| std::shared_ptr< GLogger > | log |
| | Shared logger used by the derived class for emitting messages.
|
| |
Definition at line 46 of file test_gbase.cc.
◆ g2()
| g2::g2 |
( |
const std::shared_ptr< GLogger > & | log | ) |
|
|
inlineexplicit |
◆ ~g2()
◆ doSomething()
| void g2::doSomething |
( |
int | a = 0 | ) |
|
|
inline |
◆ object1
The documentation for this class was generated from the following file: