OLD | NEW |
(Empty) | |
| 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
| 2 /* |
| 3 * Copyright (c) 2012,2015 University of Zagreb |
| 4 * |
| 5 * This program is free software; you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 2 as |
| 7 * published by the Free Software Foundation; |
| 8 * |
| 9 * This program is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 * GNU General Public License for more details. |
| 13 * |
| 14 * You should have received a copy of the GNU General Public License |
| 15 * along with this program; if not, write to the Free Software |
| 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 17 * |
| 18 * Author: Vedran Miletić <rivanvx@gmail.com> |
| 19 */ |
| 20 |
| 21 #ifndef STOPPABLE_AND_RESUMABLE_OBJECT_H |
| 22 #define STOPPABLE_AND_RESUMABLE_OBJECT_H |
| 23 |
| 24 #include "object.h" |
| 25 #include "stop-restart-functionality.h" |
| 26 #include "sleep-wake-functionality.h" |
| 27 |
| 28 namespace ns3 { |
| 29 |
| 30 class StoppableAndResumableObject : public Object, public StopRestartFunctionali
ty, public SleepWakeFunctionality |
| 31 { |
| 32 public: |
| 33 static TypeId GetTypeId (void); |
| 34 |
| 35 StoppableAndResumableObject (); |
| 36 virtual ~StoppableAndResumableObject (); |
| 37 }; |
| 38 |
| 39 } // namespace ns3 |
| 40 |
| 41 #endif /* STOPPABLE_AND_RESUMABLE_OBJECT_H */ |
OLD | NEW |