--- a/C_runtime/PLCObject.hpp Sat Aug 17 18:44:12 2024 +0200
+++ b/C_runtime/PLCObject.hpp Tue Aug 20 01:51:08 2024 +0200
@@ -72,6 +72,10 @@
uint32_t StartPLC(void);
uint32_t StopPLC(bool * success);
+ // Public interface used by runtime
+ uint32_t AutoLoad();
+ uint32_t LogMessage(uint8_t level, std::string message);
+
private:
// A map of all the blobs
std::map<std::vector<uint8_t>, Blob*> m_mapBlobIDToBlob;
@@ -108,14 +112,12 @@
// Trace double buffer
std::vector<trace_sample> m_traces;
- uint32_t AutoLoad();
uint32_t BlobAsFile(const binary_t * BlobID, std::filesystem::path filename);
uint32_t LoadPLC(void);
uint32_t UnLoadPLC(void);
- uint32_t LogMessage(uint8_t level, std::string message);
uint32_t PurgePLC(void);
void PurgeTraceBuffer(void);
void TraceThreadProc(void);
};
-#endif
\ No newline at end of file
+#endif