Flutter Engine
fml::MessageSerializable Class Referenceabstract

#include <message.h>

Public Member Functions

virtual ~MessageSerializable ()=default
 
virtual bool Serialize (Message &message) const =0
 
virtual bool Deserialize (Message &message)=0
 
virtual size_t GetSerializableTag () const
 

Detailed Description

Definition at line 42 of file message.h.

Constructor & Destructor Documentation

◆ ~MessageSerializable()

virtual fml::MessageSerializable::~MessageSerializable ( )
virtualdefault

Member Function Documentation

◆ Deserialize()

virtual bool fml::MessageSerializable::Deserialize ( Message message)
pure virtual

Referenced by fml::Message::Decode().

◆ GetSerializableTag()

size_t fml::MessageSerializable::GetSerializableTag ( ) const
virtual

Definition at line 11 of file message.cc.

References fml::Message::Message(), and fml::Message::~Message().

11  {
12  return 0;
13 };

◆ Serialize()

virtual bool fml::MessageSerializable::Serialize ( Message message) const
pure virtual

Referenced by fml::Message::Encode().


The documentation for this class was generated from the following files: