All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.threerings.presents.tools.cpp.marshaller_h.mustache Maven / Gradle / Ivy

The newest version!
#pragma once

#include "presents/Streamable.h"
#include "presents/ObjectInputStream.h"
#include "presents/ObjectOutputStream.h"
#include "presents/data/InvocationMarshaller.h"
#include "presents/streamers/StreamableStreamer.h"
#include 
{{#includes}}
#include "{{this}}"
{{/includes}}

{{#namespaces}}namespace {{this}} { {{/namespaces}}

class {{name}} : public presents::data::InvocationMarshaller, public boost::enable_shared_from_this<{{name}}> {
public:
    DECLARE_STREAMABLE();

    virtual ~{{name}} () {}

{{#methods}}
    void {{methodName}} ({{clientArguments}});
{{/methods}}
protected:
    Shared<{{name}}> getSharedThis();
};

{{#namespaces}}}{{/namespaces}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy