Class ostk::physics::Manager¶
- class Manager¶
OSTk manager base class (thread-safe)
The base manager defines methods for tracking and checking the manifest file.
Subclassed by ostk::physics::coordinate::frame::provider::iers::Manager, ostk::physics::data::Manager, ostk::physics::environment::atmospheric::earth::Manager, ostk::physics::environment::ephemeris::spice::Manager, ostk::physics::environment::gravitational::earth::Manager, ostk::physics::environment::magnetic::earth::Manager
Public Types
Public Functions
- virtual ~Manager() = default¶
Destructor.
- Directory getLocalRepository() const¶
Get local repository.
- Returns:
Local repository
- Duration getLocalRepositoryLockTimeout() const¶
Get local repository timeout, the maximum time to lock the local repository.
- Returns:
Local repository timeout
- void setMode(const Manager::Mode &aMode)¶
Set manager mode.
- Parameters:
aMode -- [in] A manager mode
- void setLocalRepository(const Directory &aDirectory)¶
Set local repository.
- Parameters:
aDirectory -- [in] A repository directory
- virtual void reset()¶
Reset the manager to it's default state.
- void clearLocalRepository()¶
Clear local repository, removing all files.
- virtual ~Manager() = default¶