certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi/libRTI RTI1516Handle.cpp


From: certi-cvs
Subject: [certi-cvs] certi/libRTI RTI1516Handle.cpp
Date: Thu, 17 Feb 2011 14:53:26 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      11/02/17 14:53:26

Modified files:
        libRTI         : RTI1516Handle.cpp 

Log message:
        Merge patch from Eugene which should fix
        bug #32496 : realizations of base handle classes are not completed

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libRTI/RTI1516Handle.cpp?cvsroot=certi&r1=1.2&r2=1.3

Patches:
Index: RTI1516Handle.cpp
===================================================================
RCS file: /sources/certi/certi/libRTI/RTI1516Handle.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- RTI1516Handle.cpp   31 May 2010 09:33:25 -0000      1.2
+++ RTI1516Handle.cpp   17 Feb 2011 14:53:26 -0000      1.3
@@ -88,20 +88,19 @@
        /* handles to other federates in updates or interactions. */ \
        VariableLengthData HandleKind::encode() const                \
        {                                                            \
-               VariableLengthData c;                                    \
-               return c;                                                \
+               return _impl->encode();                                  \
        }                                                            \
                                                                     \
        /* Alternate encode for directly filling a buffer         */ \
        unsigned long HandleKind::encodedLength() const              \
        {                                                            \
-           return 0;                                                \
+               return _impl->encodedLength();                           \
        }                                                            \
        unsigned long HandleKind::encode(                            \
        void* buffer, unsigned long bufferSize) const                \
        throw (CouldNotEncode)                                       \
        {                                                            \
-               return 0L;                                               \
+               return _impl->encode( buffer, bufferSize );              \
        }                                                            \
                                                                     \
        std::wstring HandleKind::toString() const                    \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]