NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Classes | Functions
Envelope.h File Reference

Container for message data passed between cores. More...

#include <vector>
#include <boost/any.hpp>
#include <boost/utility/value_init.hpp>
#include <boost/lexical_cast.hpp>
#include <d3dx9math.h>
#include <boost/property_tree/ptree_fwd.hpp>
#include "EventLogger.h"
#include "Envelope_fwd.h"
#include "Entity_fwd.h"
Include dependency graph for Envelope.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Envelope
struct  Envelope::EnvelopeItem

Functions

void SaveToDisk (const EnvelopeSPTR &, const std::string &)
 Saves the EnvelopeSPTR, including all its data, into the named file.
bool LoadFromDisk (const EnvelopeSPTR &, const std::string &)
 Loads the EnvelopeSPTR, including all its data, from the named file. Note that this will only work if GetCount returns 0 - ie: there's nothing stored in the envelope.

Detailed Description

Container for message data passed between cores.

Author:
Adam Martin
Date:
2011-07-21

Definition in file Envelope.h.


Function Documentation

bool LoadFromDisk ( const EnvelopeSPTR &  ,
const std::string &   
)

Loads the EnvelopeSPTR, including all its data, from the named file. Note that this will only work if GetCount returns 0 - ie: there's nothing stored in the envelope.

Definition at line 46 of file Envelope.cpp.

void SaveToDisk ( const EnvelopeSPTR &  ,
const std::string &   
)

Saves the EnvelopeSPTR, including all its data, into the named file.

Definition at line 32 of file Envelope.cpp.