Updated FSFW to upstream development #5
@ -9,8 +9,8 @@
|
|||||||
* and unlock a data pool and read/commit semantics.
|
* and unlock a data pool and read/commit semantics.
|
||||||
*/
|
*/
|
||||||
class PoolDataSetIF:
|
class PoolDataSetIF:
|
||||||
public DataSetIF,
|
virtual public DataSetIF,
|
||||||
public ReadCommitIF {
|
virtual public ReadCommitIF {
|
||||||
public:
|
public:
|
||||||
virtual~ PoolDataSetIF() {};
|
virtual~ PoolDataSetIF() {};
|
||||||
|
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
|
|
||||||
#include "PoolDataSetIF.h"
|
#include "PoolDataSetIF.h"
|
||||||
|
|
||||||
class SharedDataSetIF:
|
class SharedDataSetIF {
|
||||||
public PoolDataSetIF {
|
|
||||||
public:
|
public:
|
||||||
virtual ~SharedDataSetIF() {};
|
virtual ~SharedDataSetIF() {};
|
||||||
|
|
||||||
|
@ -254,12 +254,12 @@ TEST_CASE("DataSetTest" , "[DataSetTest]") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SECTION("SharedDataSet") {
|
SECTION("SharedDataSet") {
|
||||||
// object_id_t sharedSetId = objects::SHARED_SET_ID;
|
object_id_t sharedSetId = objects::SHARED_SET_ID;
|
||||||
// SharedLocalDataSet sharedSet(sharedSetId, poolOwner, 2, 5);
|
SharedLocalDataSet sharedSet(sharedSetId, poolOwner, 2, 5);
|
||||||
// CHECK(sharedSet.initialize() == retval::CATCH_OK);
|
CHECK(sharedSet.initialize() == retval::CATCH_OK);
|
||||||
// CHECK(sharedSet.lockDataset() == retval::CATCH_OK);
|
CHECK(sharedSet.lockDataset() == retval::CATCH_OK);
|
||||||
//
|
|
||||||
// CHECK(sharedSet.unlockDataset() == retval::CATCH_OK);
|
CHECK(sharedSet.unlockDataset() == retval::CATCH_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* we need to reset the subscription list because the pool owner
|
/* we need to reset the subscription list because the pool owner
|
||||||
|
@ -36,7 +36,8 @@ static const gp_id_t uint64Vec2Id = gp_id_t(objects::TEST_LOCAL_POOL_OWNER_BASE,
|
|||||||
class LocalPoolStaticTestDataSet: public StaticLocalDataSet<3> {
|
class LocalPoolStaticTestDataSet: public StaticLocalDataSet<3> {
|
||||||
public:
|
public:
|
||||||
LocalPoolStaticTestDataSet():
|
LocalPoolStaticTestDataSet():
|
||||||
StaticLocalDataSet(lpool::testSid) {
|
StaticLocalDataSet(lpool::testSid) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
LocalPoolStaticTestDataSet(HasLocalDataPoolIF* owner, uint32_t setId):
|
LocalPoolStaticTestDataSet(HasLocalDataPoolIF* owner, uint32_t setId):
|
||||||
@ -53,7 +54,12 @@ private:
|
|||||||
class LocalPoolTestDataSet: public LocalDataSet {
|
class LocalPoolTestDataSet: public LocalDataSet {
|
||||||
public:
|
public:
|
||||||
LocalPoolTestDataSet():
|
LocalPoolTestDataSet():
|
||||||
LocalDataSet(lpool::testSid, lpool::dataSetMaxVariables) {
|
LocalDataSet(lpool::testSid, lpool::dataSetMaxVariables),
|
||||||
|
localPoolVarUint8(lpool::uint8VarGpid, this),
|
||||||
|
localPoolVarFloat(lpool::floatVarGpid, this),
|
||||||
|
localPoolUint16Vec(lpool::uint16Vec3Gpid, this)
|
||||||
|
|
||||||
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
LocalPoolTestDataSet(HasLocalDataPoolIF* owner, uint32_t setId):
|
LocalPoolTestDataSet(HasLocalDataPoolIF* owner, uint32_t setId):
|
||||||
|
Loading…
Reference in New Issue
Block a user