2025-07-28 07:20:44 -04:00
|
|
|
#include <iostream>
|
|
|
|
|
#include <deviceManager/deviceManager.h>
|
|
|
|
|
#include <senseApis/senseApiManager.h>
|
2025-09-10 18:12:08 -04:00
|
|
|
#include <asynchronousContinuation.h>
|
|
|
|
|
#include <salmanoff.h>
|
|
|
|
|
|
2025-07-28 07:20:44 -04:00
|
|
|
|
|
|
|
|
namespace smo {
|
|
|
|
|
|
2025-09-12 16:09:26 -04:00
|
|
|
void initializeSalmanoff(void)
|
2025-07-28 07:20:44 -04:00
|
|
|
{
|
|
|
|
|
std::cout << __func__ << ": Entered." << std::endl;
|
|
|
|
|
|
2025-09-12 16:09:26 -04:00
|
|
|
sense_api::SenseApiManager::getInstance().initialize();
|
|
|
|
|
device::DeviceManager::getInstance().initialize();
|
2025-08-29 16:12:30 -04:00
|
|
|
device::DeviceManager::getInstance().collateAllDapSpecs();
|
|
|
|
|
device::DeviceManager::getInstance().parseAllDapSpecs();
|
2025-07-28 07:20:44 -04:00
|
|
|
std::cout << device::DeviceManager::stringifyDeviceSpecs() << std::endl;
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-12 16:09:26 -04:00
|
|
|
void shutdownSalmanoff(void)
|
2025-07-30 10:07:52 -04:00
|
|
|
{
|
|
|
|
|
std::cout << __func__ << ": Entered." << std::endl;
|
2025-09-12 16:09:26 -04:00
|
|
|
device::DeviceManager::getInstance().finalize();
|
|
|
|
|
sense_api::SenseApiManager::getInstance().finalize();
|
2025-07-30 10:07:52 -04:00
|
|
|
}
|
|
|
|
|
|
2025-07-28 07:20:44 -04:00
|
|
|
} // namespace smo
|