Loom 4 v4.5
Arduino library for Internet of Things Rapid Prototyping in environmental sensing
Loading...
Searching...
No Matches
Loom_BatchSD.h
1#pragma once
2
3#include <vector>
4#include "../Loom_Hypnos/Loom_Hypnos.h"
5
10 public:
11
17 Loom_BatchSD(Loom_Hypnos& hypnos, int batchSize);
18
22 bool shouldPublish();
23
27 File& getBatch();
28
32 int getBatchSize() { return batchSize; };
33
37 int getCurrentBatch() { return sdMan->getCurrentBatch(); };
38
39 private:
40 SDManager* sdMan = nullptr; // Pointer to the SD manager
41 int batchSize; // Batch size to log to
42};
Definition: Loom_BatchSD.h:9
File & getBatch()
Definition: Loom_BatchSD.cpp:18
int getBatchSize()
Definition: Loom_BatchSD.h:32
int getCurrentBatch()
Definition: Loom_BatchSD.h:37
bool shouldPublish()
Definition: Loom_BatchSD.cpp:12
Definition: Loom_Hypnos.h:70
Definition: SDManager.h:15
int getCurrentBatch()
Definition: SDManager.h:102