Pyro higlevel API
Public Member Functions | List of all members
os::Flattenable Class Referenceabstract
Inheritance diagram for os::Flattenable:
os::DateTime os::Font os::ShortcutKey

Public Member Functions

virtual int GetType (void) const =0
 
virtual bool TypeIsCompatible (int nType) const
 
virtual size_t GetFlattenedSize (void) const =0
 
virtual status_t Flatten (uint8 *pBuffer, size_t nSize) const =0
 
virtual status_t Unflatten (const uint8 *pBuffer)=0
 

Detailed Description

Description:
The os::Flattenable class defines an interface for "flattening" objects. Flattening means that all the data in the object is stored in a flat buffer.
See Also
os::Message
Author
Henrik Isaksson (henri.nosp@m.k@is.nosp@m.aksso.nosp@m.n.tk)

Member Function Documentation

virtual status_t os::Flattenable::Flatten ( uint8 *  pBuffer,
size_t  nSize 
) const
pure virtual

Implemented in os::Font, os::DateTime, and os::ShortcutKey.

Referenced by os::Message::AddObject().

virtual size_t os::Flattenable::GetFlattenedSize ( void  ) const
pure virtual

Implemented in os::Font, os::DateTime, and os::ShortcutKey.

Referenced by os::Message::AddObject().

virtual int os::Flattenable::GetType ( void  ) const
pure virtual
virtual bool os::Flattenable::TypeIsCompatible ( int  nType) const
inlinevirtual
virtual status_t os::Flattenable::Unflatten ( const uint8 *  pBuffer)
pure virtual

Implemented in os::Font, os::DateTime, and os::ShortcutKey.

Referenced by os::Message::FindObject().