00001
00002
00003
00004
00005
00006
00007 #ifndef DCFMPACKET_RTMRA_FLOAT_SCALAR_H
00008 #define DCFMPACKET_RTMRA_FLOAT_SCALAR_H
00009
00010 template <>
00011 class DCFmpacket< Rtmra<float,scalar> > : public DCFmpacketBase
00012 {
00013 public:
00014 DCFmpacket(
00015 const int, const int, const int,
00016 DCFencode< Rtmra<float,scalar> >&
00017 );
00018
00019 void setencode(
00020 const int sizebmax, const int bplen_sizeb, const int bplen_n
00021 )
00022 {
00023 DCFmpacketBase::setencode( sizebmax, bplen_sizeb, bplen_n );
00024 }
00025
00026 void setencode(
00027 const int, const int, const int,
00028 DCFencode< Rtmra<float,scalar> >&
00029 );
00030
00031 DCFmpacket< Rtmra<float,scalar> >& operator () (
00032 Rtmra<float,scalar>&,
00033 const char
00034 );
00035
00036 void encode(
00037 Rtmra<float,scalar>&,
00038 const char
00039 );
00040
00041 void replace( Rtmra<float,scalar>& );
00042
00043 protected:
00044 DCFencode< Rtmra<float,scalar> > _enc;
00045 };
00046
00047 #endif