Pyrogenesis  trunk
Public Member Functions | Public Attributes | Private Member Functions | List of all members
ScriptInterface::StructuredClone Class Reference

Structured clones are a way to serialize 'simple' JS values into a buffer that can safely be passed between contexts and runtimes and threads. More...

#include <ScriptInterface.h>

Public Member Functions

 StructuredClone ()
 
 ~StructuredClone ()
 

Public Attributes

u64m_Data
 
size_t m_Size
 

Private Member Functions

 NONCOPYABLE (StructuredClone)
 

Detailed Description

Structured clones are a way to serialize 'simple' JS values into a buffer that can safely be passed between contexts and runtimes and threads.

A StructuredClone can be stored and read multiple times if desired. We wrap them in shared_ptr so memory management is automatic and thread-safe.

Constructor & Destructor Documentation

ScriptInterface::StructuredClone::StructuredClone ( )
ScriptInterface::StructuredClone::~StructuredClone ( )

Member Function Documentation

ScriptInterface::StructuredClone::NONCOPYABLE ( StructuredClone  )
private

Member Data Documentation

u64* ScriptInterface::StructuredClone::m_Data
size_t ScriptInterface::StructuredClone::m_Size

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