UniSet  2.2.1
TestGen.h
00001 // -----------------------------------------------------------------------------
00002 #ifndef TestGen_H_
00003 #define TestGen_H_
00004 // -----------------------------------------------------------------------------
00005 #include "TestGen_SK.h"
00006 // -----------------------------------------------------------------------------
00007 class TestGen:
00008     public TestGen_SK
00009 {
00010     public:
00011         TestGen( UniSetTypes::ObjectId id, xmlNode* confnode = UniSetTypes::uniset_conf()->getNode("TestGen") );
00012         virtual ~TestGen();
00013 
00014     protected:
00015         TestGen();
00016 
00017         virtual void step() override;
00018         virtual void sensorInfo( const UniSetTypes::SensorMessage* sm ) override;
00019         virtual void timerInfo( const UniSetTypes::TimerMessage* tm ) override;
00020         virtual void sysCommand( const UniSetTypes::SystemMessage* sm ) override;
00021         virtual void sigterm( int signo ) override;
00022 
00023     private:
00024         bool bool_var = { false };
00025         int int_var = {0};
00026 };
00027 // -----------------------------------------------------------------------------
00028 #endif // TestGen_H_
00029 // -----------------------------------------------------------------------------