//OpenSCADA file: tspecials.h /*************************************************************************** * Copyright (C) 2003-2022 by Roman Savochenko, * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; version 2 of the License. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ #ifndef TSPECIALS_H #define TSPECIALS_H #define SSPC_VER 21 //SpecialS type modules version #define SSPC_ID "Special" #include #include "tsubsys.h" using std::string; namespace OSCADA { //************************************************* //* TSpecial * //************************************************* class TSpecial : public TModule { public: TSpecial( const string &id ); protected: //Methods void cntrCmdProc( XMLNode *opt ); //Control interface command process //Attributes bool runSt; }; //************************************************* //* TSpecialS * //************************************************* class TSpecialS : public TSubSYS { public: TSpecialS( ); string subName( ) const { return _("Specials"); } int subVer( ) const { return SSPC_VER; } protected: void load_( ); private: string optDescr( ); void cntrCmdProc( XMLNode *opt ); //Control interface command process }; } #endif // TSPECIALS_H