summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-06-14 12:29:51 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-06-14 12:29:51 +0000
commit210c4341f351e8fe62abdef98ca219807699be5e (patch)
treebba65739f67acd2f3386b474d43e7a8018efa393
parent5156332a98564b9ad5b943fae268a079b02fab77 (diff)
downloadATCD-210c4341f351e8fe62abdef98ca219807699be5e.tar.gz
ChangeLogTag: Tue Jun 14 12:04:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--ace/IO_Cntl_Msg.cpp12
-rw-r--r--ace/IO_Cntl_Msg.h22
-rw-r--r--ace/IO_Cntl_Msg.inl57
-rw-r--r--ace/Makefile.am2
-rw-r--r--ace/ace.mpc1
5 files changed, 84 insertions, 10 deletions
diff --git a/ace/IO_Cntl_Msg.cpp b/ace/IO_Cntl_Msg.cpp
index 66903626b63..3fac7c4abe6 100644
--- a/ace/IO_Cntl_Msg.cpp
+++ b/ace/IO_Cntl_Msg.cpp
@@ -1,10 +1,20 @@
// IO_Cntl_Msg.cpp
// $Id$
+#include "ace/IO_Cntl_Msg.h"
+
+#if !defined (__ACE_INLINE__)
+#include "ace/IO_Cntl_Msg.inl"
+#endif /* __ACE_INLINE__ */
+
+ACE_RCSID(ace, IO_Cntl_Msg, "$Id$")
+
#if 0
// This is not meant to be used, it's just a place holder...
-ACE_RCSID(ace, IO_Cntl_Msg, "$Id$")
+#if !defined (__ACE_INLINE__)
+#include "ace/Intrusive_List.inl"
+#endif /* __ACE_INLINE__ */
// Forward decl
template <class SYNCH> class ACE_Module;
diff --git a/ace/IO_Cntl_Msg.h b/ace/IO_Cntl_Msg.h
index 6ea4701bed8..95277235643 100644
--- a/ace/IO_Cntl_Msg.h
+++ b/ace/IO_Cntl_Msg.h
@@ -51,33 +51,33 @@ public:
// = Initialization method.
/// Initialize the control message.
- ACE_IO_Cntl_Msg (ACE_IO_Cntl_Cmds c) { this->cmd_ = c; }
+ ACE_IO_Cntl_Msg (ACE_IO_Cntl_Cmds c);
// = Get/set methods
/// Get command.
- ACE_IO_Cntl_Cmds cmd (void) { return this->cmd_; }
+ ACE_IO_Cntl_Cmds cmd (void);
/// Set command.
- void cmd (ACE_IO_Cntl_Cmds c) { this->cmd_ = c; }
+ void cmd (ACE_IO_Cntl_Cmds c);
/// Get count.
- size_t count (void) { return this->count_; }
+ size_t count (void);
/// Set count.
- void count (size_t c) { this->count_ = c; }
+ void count (size_t c);
/// Get error.
- int error (void) { return this->error_; }
+ int error (void);
/// Set error.
- void error (int e) { this->error_ = e; }
+ void error (int e);
/// Get return value.
- int rval (void) { return this->rval_; }
+ int rval (void);
/// Set return value.
- void rval (int r) { this->rval_ = r; }
+ void rval (int r);
/// Dump the state of an object.
void dump (void) const;
@@ -99,6 +99,10 @@ private:
int rval_;
};
+#if defined (__ACE_INLINE__)
+#include "ace/IO_Cntl_Msg.inl"
+#endif /* __ACE_INLINE__ */
+
#include /**/ "ace/post.h"
#endif /* ACE_IO_CNTL_MSG_H */
diff --git a/ace/IO_Cntl_Msg.inl b/ace/IO_Cntl_Msg.inl
new file mode 100644
index 00000000000..215ea8caf8c
--- /dev/null
+++ b/ace/IO_Cntl_Msg.inl
@@ -0,0 +1,57 @@
+// -*- C++ -*-
+// $Id$
+
+ACE_INLINE
+ACE_IO_Cntl_Msg::ACE_IO_Cntl_Msg (ACE_IO_Cntl_Cmds c)
+{
+ this->cmd_ = c;
+}
+
+ACE_INLINE ACE_IO_Cntl_Msg::ACE_IO_Cntl_Cmds
+ACE_IO_Cntl_Msg::cmd (void)
+{
+ return this->cmd_;
+}
+
+ACE_INLINE void
+ACE_IO_Cntl_Msg::cmd (ACE_IO_Cntl_Cmds c)
+{
+ this->cmd_ = c;
+}
+
+ACE_INLINE size_t
+ACE_IO_Cntl_Msg::count (void)
+{
+ return this->count_;
+}
+
+ACE_INLINE void
+ACE_IO_Cntl_Msg::count (size_t c)
+{
+ this->count_ = c;
+}
+
+ACE_INLINE int
+ACE_IO_Cntl_Msg::error (void)
+{
+ return this->error_;
+}
+
+ACE_INLINE void
+ACE_IO_Cntl_Msg::error (int e)
+{
+ this->error_ = e;
+}
+
+ACE_INLINE int
+ACE_IO_Cntl_Msg::rval (void)
+{
+ return this->rval_;
+}
+
+ACE_INLINE void
+ACE_IO_Cntl_Msg::rval (int r)
+{
+ this->rval_ = r;
+}
+
diff --git a/ace/Makefile.am b/ace/Makefile.am
index 8722da6b65c..925427b6c3e 100644
--- a/ace/Makefile.am
+++ b/ace/Makefile.am
@@ -110,6 +110,7 @@ libACE_la_SOURCES = \
ICMP_Socket.cpp \
INET_Addr.cpp \
IOStream.cpp \
+ IO_Cntl_Msg.cpp \
IO_SAP.cpp \
IPC_SAP.cpp \
Init_ACE.cpp \
@@ -556,6 +557,7 @@ nobase_include_HEADERS = \
IOStream_T.h \
IOStream_T.inl \
IO_Cntl_Msg.h \
+ IO_Cntl_Msg.inl \
IO_SAP.h \
IO_SAP.inl \
IPC_SAP.h \
diff --git a/ace/ace.mpc b/ace/ace.mpc
index 6f8563eb4cf..2f3bc86944f 100644
--- a/ace/ace.mpc
+++ b/ace/ace.mpc
@@ -95,6 +95,7 @@ project(ACE) : acedefaults, core, other, codecs, token, svcconf, uuid, filecache
INET_Addr.cpp
Init_ACE.cpp
IO_SAP.cpp
+ IO_Cntl_Msg.cpp
IOStream.cpp
IPC_SAP.cpp
Lib_Find.cpp