fsfw/datapoollocal/HasLocalDpIFManagerAttorney.h

27 lines
725 B
C
Raw Normal View History

2021-01-12 19:41:47 +01:00
#ifndef FSFW_DATAPOOLLOCAL_HASLOCALDPIFMANAGERATTORNEY_H_
#define FSFW_DATAPOOLLOCAL_HASLOCALDPIFMANAGERATTORNEY_H_
2021-01-12 14:08:51 +01:00
2021-01-12 19:41:47 +01:00
#include "HasLocalDataPoolIF.h"
2021-01-12 14:08:51 +01:00
2021-01-12 19:41:47 +01:00
class LocalPoolDataSetBase;
2021-01-12 14:08:51 +01:00
class HasLocalDpIFManagerAttorney {
static LocalPoolDataSetBase* getDataSetHandle(HasLocalDataPoolIF* interface, sid_t sid) {
return interface->getDataSetHandle(sid);
}
static LocalPoolObjectBase* getPoolObjectHandle(HasLocalDataPoolIF* interface,
lp_id_t localPoolId) {
return interface->getPoolObjectHandle(localPoolId);
}
static object_id_t getObjectId(HasLocalDataPoolIF* interface) {
return interface->getObjectId();
}
friend class LocalDataPoolManager;
};
2021-01-12 19:41:47 +01:00
#endif /* FSFW_DATAPOOLLOCAL_HASLOCALDPIFMANAGERATTORNEY_H_ */