SenseApiDesc: Rename SalmanoffCallbacks=> SmoCallbacks

This commit is contained in:
2025-09-04 17:45:11 -04:00
parent e5a3c41c20
commit 26be261cff
3 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -21,7 +21,7 @@ namespace sense_api {
struct SmoThreadingModelDesc
{
/**
* @brief Shared pointer to ComponentThread for device-independent state management.
* @brief sh_ptr to ComponentThread for device-independent state mgt.
*
* This ComponentThread should be used by senseApis for state management
* that's independent of any particular device or attachment spec.
@@ -47,7 +47,7 @@ typedef int (sal_mlo_detachDeviceReqFn)(
* This structure contains function pointers that senseApi libraries can use
* to interact with Salmanoff's functionality, such as searching for commonLibs.
*/
struct SalmanoffCallbacks
struct SmoCallbacks
{
/**
* @brief Search for a library in Salmanoff's search paths
@@ -155,13 +155,13 @@ public:
* The SenseApiDesc struct also gives Smo pointers to API functions
* to invoke for communication between Smo and the library.
*
* The SalmanoffCallbacks parameter provides the library with access to
* The SmoCallbacks parameter provides the library with access to
* Salmanoff's hooks.
* The SmoThreadingModelDesc parameter provides the library with access to
* the io_service for network operations and event handling.
*/
typedef const SenseApiDesc &(SMO_GET_SENSE_API_DESC_FN_TYPEDEF)(
const SalmanoffCallbacks& callbacks,
const SmoCallbacks& callbacks,
const SmoThreadingModelDesc& threadingModel);
} // namespace sense_api