|
| | g1 (const std::shared_ptr< GOptions > &gopt) |
| |
| void | doSomething (int a=0) |
| |
| | ~g1 ()=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 27 of file test_gbase.cc.
◆ g1()
| g1::g1 |
( |
const std::shared_ptr< GOptions > & | gopt | ) |
|
|
inlineexplicit |
◆ ~g1()
◆ doSomething()
| void g1::doSomething |
( |
int | a = 0 | ) |
|
|
inline |
◆ object1
The documentation for this class was generated from the following file: