INET Framework for OMNeT++/OMNEST
SerializerBase.h File Reference

Classes

class  inet::serializer::Context
 class for data transfer from any serializers to subserializers e.g. More...
 
class  inet::serializer::SerializerBase
 Converts between cPacket and binary (network byte order) packet. More...
 
class  inet::serializer::DefaultSerializer
 
class  inet::serializer::ByteArraySerializer
 
class  inet::serializer::SerializerRegistrationList
 

Namespaces

 inet
 Copyright (c) 2005 Jan Ringo�, www.ringos.cz.
 
 inet::serializer
 

Macros

#define Register_Serializer(SERIALIZABLECLASSNAME, PROTOCOLGROUP, PROTOCOLID, SERIALIZERCLASSNAME)
 

Enumerations

enum  inet::serializer::ProtocolGroup {
  inet::serializer::UNKNOWN = -1, inet::serializer::GLOBAL = 1, inet::serializer::IP_PROT, inet::serializer::ETHERTYPE,
  inet::serializer::LINKTYPE, inet::serializer::PHYTYPE
}
 
enum  { inet::serializer::LINKTYPE_ETHERNET = 1, inet::serializer::LINKTYPE_IEEE802_11 = 105 }
 
enum  { inet::serializer::PHYTYPE_ETHERNET = 1 }
 

Macro Definition Documentation

#define Register_Serializer (   SERIALIZABLECLASSNAME,
  PROTOCOLGROUP,
  PROTOCOLID,
  SERIALIZERCLASSNAME 
)
Value:
EXECUTE_ON_STARTUP(inet::serializer::serializers.add(opp_typename(typeid(SERIALIZABLECLASSNAME)), \
PROTOCOLGROUP, PROTOCOLID, new SERIALIZERCLASSNAME(#SERIALIZABLECLASSNAME)););
SerializerRegistrationList serializers("default")
List of packet serializers (SerializerBase)
Definition: SerializerBase.h:146
EXECUTE_ON_STARTUP(cEnum *e=cEnum::find("inet::ChooseDestAddrMode");if(!e) enums.getInstance() ->add(e=new cEnum("inet::ChooseDestAddrMode"));e->insert(UDPBasicBurst::ONCE,"once");e->insert(UDPBasicBurst::PER_BURST,"perBurst");e->insert(UDPBasicBurst::PER_SEND,"perSend");)