research application on sending data to headend
Dependencies: DataStore JobScheduler NetworkServices W5500Interface nanopb protocol
See "main.cpp" documentation on "API Documentation" tab for details about application.
Diff: source/jobTestPrint.h
- Revision:
- 27:60c12f3f3430
- Parent:
- 1:eebe442fc126
diff -r 1798e352679a -r 60c12f3f3430 source/jobTestPrint.h --- a/source/jobTestPrint.h Fri Aug 04 21:40:24 2017 +0000 +++ b/source/jobTestPrint.h Fri Aug 04 22:03:54 2017 +0000 @@ -1,8 +1,17 @@ #pragma once +/** JobTestPrint is a job that simply prints a message to STDOUT. + +The class has no constructor, because it has no service dependenices. +This job is a great candidate for a simple C-function job example. + +*/ class JobTestPrint { public: + /** RunAdapter is scheduler callback function. + @param thisPointer provides job context, which is this class's instance. + */ static void RunAdapter(void *thisPointer) { JobTestPrint *self = static_cast<JobTestPrint*>(thisPointer); self->Run();