class async_model - 5cript/attender GitHub Wiki
class async_model
Summary
| Members | Descriptions |
|---|---|
public virtual ~async_model() = default |
Every model has to be tore down on destruction. |
public async_model() = default |
|
public async_model(async_model const &) = delete |
|
public async_model & operator=(async_model const &) = delete |
|
public void setup() |
|
public void teardown() |
|
protected void setup_impl() |
Setups the async_model. |
protected void teardown_impl() |
Tears down the internals. |
Members
public virtual ~async_model() = default
Every model has to be tore down on destruction.
public async_model() = default
public async_model(async_model const &) = delete
public async_model & operator=(async_model const &) = delete
public void setup()
public void teardown()
protected void setup_impl()
Setups the async_model.
Must be overridden by the deriving class. The subclass can decide to call this by default on construction. There may be instances however, where setup on construction is undesirable, or impossible.
protected void teardown_impl()
Tears down the internals.