1 /* 2 * cOrgSeqMessage.h 3 * Avida 4 * 5 * Created by David on 3/28/06. 6 * Copyright 1999-2011 Michigan State University. All rights reserved. 7 * 8 * 9 * This file is part of Avida. 10 * 11 * Avida is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License 12 * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 13 * 14 * Avida is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public License along with Avida. 18 * If not, see <http://www.gnu.org/licenses/>. 19 * 20 */ 21 22 #ifndef cOrgSeqMessage_h 23 #define cOrgSeqMessage_h 24 25 class cOrgSeqMessage 26 { 27 private: 28 int m_value; 29 bool m_recvd; 30 31 public: cOrgSeqMessage()32 cOrgSeqMessage() : m_value(0), m_recvd(false) { ; } 33 SetValue(int value)34 void SetValue(int value) { m_value = value; } GetValue()35 int GetValue() { return m_value; } 36 SetReceived()37 void SetReceived() { m_recvd = true; } GetReceived()38 bool GetReceived() { return m_recvd; } 39 }; 40 41 #endif 42