/*
 *  TnVectorProtoBufData.h
 *
 *  Created by Thant on November 1, 2013.
 *  Copyright 2013 TeleNav. All rights reserved.
 *
 *  Replaces the big tile stuff.
 */

#ifndef TN_VECTOR_PROTOBUF_DATA_H
#define TN_VECTOR_PROTOBUF_DATA_H

#include <deque>
#include <foundation/Mutex.h>
#include <RenderEngine/TnMapResourceData.h>
#include <GenericProxy/ITnVDProtoBufData.h>


class TnVectorProtoBufData : public TnMapResourceData
{
public:
    typedef ITnVDProtoBufData::ProtoBuf ProtoBuf;
    typedef ITnVDProtoBufData::ProtoBufPtr ProtoBufPtr;

    TnVectorProtoBufData(std::string const & url,
                         ITnVDProtoBufData::ptr const & data);

    virtual ~TnVectorProtoBufData();

    virtual void SetRequestResult(eTnMapRequestResult result);

private:

    ITnVDProtoBufData::ptr m_data;
};

#endif


