UniSet 2.32.1
TestGen.h
1// -----------------------------------------------------------------------------
2#ifndef TestGen_H_
3#define TestGen_H_
4// -----------------------------------------------------------------------------
5#include "TestGen_SK.h"
6// -----------------------------------------------------------------------------
7class TestGen:
8 public TestGen_SK
9{
10 public:
11 TestGen( uniset::ObjectId id, xmlNode* confnode = uniset::uniset_conf()->getNode("TestGen") );
12 virtual ~TestGen();
13
14 protected:
15 TestGen();
16
17 virtual void step() override;
18 virtual void sensorInfo( const uniset::SensorMessage* sm ) override;
19 virtual void timerInfo( const uniset::TimerMessage* tm ) override;
20 virtual void sysCommand( const uniset::SystemMessage* sm ) override;
21#ifndef DISABLE_REST_API
22 virtual void httpGetUserData( Poco::JSON::Object::Ptr& jdata ) override;
23#endif
24 private:
25 bool bool_var = { false };
26 int int_var = {0};
27 uniset::timeout_t t_val = { 0 };
28};
29// -----------------------------------------------------------------------------
30#endif // TestGen_H_
31// -----------------------------------------------------------------------------
Definition TestGen.h:9
Definition MessageType.h:127
Definition MessageType.h:171
Definition MessageType.h:214
std::shared_ptr< Configuration > uniset_conf() noexcept
Definition Configuration.cc:90
long ObjectId
Definition UniSetTypes_i.idl:30