bugCERTI - Bugs: bug #32496, realizations of base handle...

 
 

bug #32496: realizations of base handle classes are not completed

Submitted by:  Eugene Chemeritskiy <tyz>
Submitted on:  Tue 15 Feb 2011 07:41:47 PM UTC  
 
Category: CERTISeverity: 3 - Normal
Item Group: Software errorStatus: Ready For Test
Privacy: PublicAssigned to: Eric NOULARD <erk>
Open/Closed: ClosedRelease: 3.4.0
Reproducibility: Every TimeFixed Release: 3.4.1

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 17 Feb 2011 02:59:30 PM UTC, comment #3:

Hi,
Thanks for the file.
Just checked in CVS HEAD.

And yes I hope you won't be forced to provide patch
too often, nevertheless I tend to fix
things which comes with patch faster than without :-]

1516 support is relatively new in CERTI and
it has been used by less people so some holes
may be expected.

Thanks for your contribution.

Eric NOULARD <erk>
Project AdministratorIn charge of this item.
Wed 16 Feb 2011 02:52:17 PM UTC, comment #2:

>> May be you can provide us with a patch file?

Henceforth, I will attach the patches to bug reports immediately.
But I still hope that I will not have to do it too often =).

(file #22703)

Eugene Chemeritskiy <tyz>
Project Member
Wed 16 Feb 2011 11:57:55 AM UTC, comment #1:

Hi Eugene,

I'll be working on this.
May be you can provide us with a patch file?

Eric NOULARD <erk>
Project AdministratorIn charge of this item.
Tue 15 Feb 2011 07:41:47 PM UTC, original submission:

Macro defined in RTI1516Handle.cpp:87 results in errors. Current version just returns initial values of the certain type and should be refined to something like this:

/* Generate an encoded value that can be used to send */ \
/* handles to other federates in updates or interactions. */ \
VariableLengthData HandleKind::encode() const \
{ \
return _impl->encode(); \
/*VariableLengthData c; \
return c;*/ \
} \
\
/* Alternate encode for directly filling a buffer */ \
unsigned long HandleKind::encodedLength() const \
{ \
return _impl->encodedLength(); \
/return 0;/ \
} \
unsigned long HandleKind::encode( \
void* buffer, unsigned long bufferSize) const \
throw (CouldNotEncode) \
{ \
return _impl->encode( buffer, bufferSize ); \
/return 0L;/ \
} \

Eugene Chemeritskiy <tyz>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #22703:  RTI1516Handle.cpp added by tyz (8KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by erk (Posted a comment)
  • -unavailable- added by tyz (Submitted the item)
  • -unavailable- added by tyz
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 Oct 2011 08:39:50 PM UTCerkOpen/ClosedOpen=>Closed
      Fixed ReleaseCVS=>3.4.1
    Fri 18 Feb 2011 12:24:37 PM UTCerkFixed ReleaseNextRelease=>CVS
    Thu 17 Feb 2011 02:59:30 PM UTCerkStatusIn Progress=>Ready For Test
      Fixed ReleaseUnknown=>NextRelease
    Wed 16 Feb 2011 02:52:17 PM UTCtyzAttached File-=>Added RTI1516Handle.cpp, #22703
    Wed 16 Feb 2011 11:57:55 AM UTCerkStatusNone=>In Progress
      Assigned toNone=>erk
    Tue 15 Feb 2011 07:41:47 PM UTCtyzCarbon-Copy-=>Added tyz

    Back to the top


    Powered by Savane 3.1-cleanup1