clang warning elimination2
[deliverable/titan.core.git] / core / Port.hh
index e763192d97aa19550764d998996f570baf6c5900..9727e1c10981fc94a6f238b77ecc94e029a91513 100644 (file)
@@ -1,10 +1,22 @@
-///////////////////////////////////////////////////////////////////////////////
-// Copyright (c) 2000-2014 Ericsson Telecom AB
-// All rights reserved. This program and the accompanying materials
-// are made available under the terms of the Eclipse Public License v1.0
-// which accompanies this distribution, and is available at
-// http://www.eclipse.org/legal/epl-v10.html
-///////////////////////////////////////////////////////////////////////////////
+/******************************************************************************
+ * Copyright (c) 2000-2016 Ericsson Telecom AB
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *   Baji, Laszlo
+ *   Balasko, Jeno
+ *   Baranyi, Botond
+ *   Feher, Csaba
+ *   Raduly, Csaba
+ *   Szabados, Kristof
+ *   Szabo, Bence Janos
+ *   Szabo, Janos Zoltan – initial implementation
+ *   Tatarka, Gabor
+ *
+ ******************************************************************************/
 #ifndef PORT_HH
 #define PORT_HH
 
 #include "Types.h"
 #include "Event_Handler.hh"
 #include <stddef.h> // only for NULL
+#include <sys/select.h>
 
 class COMPONENT;
 class COMPONENT_template;
 class Text_Buf;
 class OCTETSTRING;
+class CHARSTRING;
 
 extern const COMPONENT_template& any_compref;
 
@@ -114,6 +128,10 @@ public:
   static void all_stop();
   void halt();
   static void all_halt();
+  
+  bool check_port_state(const CHARSTRING& type) const;
+  static bool any_check_port_state(const CHARSTRING& type);
+  static bool all_check_port_state(const CHARSTRING& type);
 
   virtual alt_status receive(const COMPONENT_template& sender_template =
     any_compref, COMPONENT *sender_ptr = NULL);
This page took 0.025818 seconds and 5 git commands to generate.