#include <ace/Typed_SV_Message.h> template<class T> class ACE_Typed_SV_Message {
public:
ACE_Typed_SV_Message ( long type = 0, int length = sizeof (T), int max_size = sizeof (T) );
ACE_Typed_SV_Message ( const T &data, long type = 0, int length = sizeof (T), int max_size = sizeof (T) );
~ACE_Typed_SV_Message (void);
long type (void) const;
void type (long type);
int length (void) const;
void length (int l);
int max_size (void) const;
void max_size (int m);
T &data (void);
void data (const T &data);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
private:
long type_;
int length_;
int max_;
T data_;
};
ACE_Typed_SV_Message (
long type = 0,
int length = sizeof (T),
int max_size = sizeof (T)
);
ACE_Typed_SV_Message (
const T &data,
long type = 0,
int length = sizeof (T),
int max_size = sizeof (T)
);
~ACE_Typed_SV_Message (void);
long type (void) const;
void type (long type);
int length (void) const;
void length (int l);
int max_size (void) const;
void max_size (int m);
T &data (void);
void data (const T &data);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;