rusEFI
The most advanced open source ECU
|
#include <local_version_holder.h>
Public Member Functions | |
bool | isOld (int globalVersion) |
int | getVersion () const |
Private Attributes | |
int | localVersion = -1 |
this
Definition at line 15 of file local_version_holder.h.
int LocalVersionHolder::getVersion | ( | ) | const |
Definition at line 10 of file local_version_holder.cpp.
bool LocalVersionHolder::isOld | ( | int | globalVersion | ) |
Calling this method changes the internal state of the class - each consumer interested in tracking changes should have it's own instance of this class
Definition at line 14 of file local_version_holder.cpp.
Referenced by TriggerCentral::checkIfTriggerConfigChanged().
|
private |
we want local version to be 'old' on instantiation
Definition at line 30 of file local_version_holder.h.
Referenced by getVersion(), and isOld().