RAII: Potential default construction records on this registry instead of PotRegistry::get(). More...
#include <Potential.h>
Public Member Functions | |
| PotentialConstructionScope (IPotRegistry ®istry) | |
| ~PotentialConstructionScope () | |
| PotentialConstructionScope (const PotentialConstructionScope &)=delete | |
| PotentialConstructionScope & | operator= (const PotentialConstructionScope &)=delete |
Private Attributes | |
| IPotRegistry * | prev_ |
RAII: Potential default construction records on this registry instead of PotRegistry::get().
Job/makePotential(Runtime&) uses this so the production path does not touch the process singleton.
Definition at line 30 of file Potential.h.
|
explicit |
Definition at line 20 of file PotentialParams.cpp.
| eonc::PotentialConstructionScope::~PotentialConstructionScope | ( | ) |
Definition at line 25 of file PotentialParams.cpp.
|
delete |
|
delete |
|
private |
Definition at line 39 of file Potential.h.