Nebula
Loading...
Searching...
No Matches
meshpagehandler.h
Go to the documentation of this file.
1#pragma once
2#ifndef DEBUG_MESHPAGEHANDLER_H
3#define DEBUG_MESHPAGEHANDLER_H
4//------------------------------------------------------------------------------
20
21//------------------------------------------------------------------------------
22namespace Debug
23{
25{
27public:
31 virtual void HandleRequest(const Ptr<Http::HttpRequest>& request);
32
33private:
35 Http::HttpStatus::Code HandleMeshInfoRequest(const Util::String& resId, const Ptr<IO::Stream>& responseContentStream);
37 Http::HttpStatus::Code HandleVertexDumpRequest(const Util::String& resId, IndexT minIndex, IndexT maxIndex, const Ptr<IO::Stream>& responseContentStream);
38};
39
40} // namespace Debug
41//------------------------------------------------------------------------------
42#endif
43
44
Provide an HTML debug page with information about shared mesh resources.
Definition meshpagehandler.h:25
Http::HttpStatus::Code HandleVertexDumpRequest(const Util::String &resId, IndexT minIndex, IndexT maxIndex, const Ptr< IO::Stream > &responseContentStream)
dump mesh vertices
Definition meshpagehandler.cc:285
virtual void HandleRequest(const Ptr< Http::HttpRequest > &request)
handle a http request, the handler is expected to fill the content stream with response data
Definition meshpagehandler.cc:40
__DeclareClass(MeshPageHandler)
Http::HttpStatus::Code HandleMeshInfoRequest(const Util::String &resId, const Ptr< IO::Stream > &responseContentStream)
display information about specific mesh
Definition meshpagehandler.cc:122
MeshPageHandler()
constructor
Definition meshpagehandler.cc:29
HttpRequestHandlers are attached to the HttpServer and process incoming HTTP requests.
Definition httprequesthandler.h:31
Code
status codes
Definition httpstatus.h:24
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Definition corepagehandler.cc:13
Nebula's universal string class.
Definition string.h:50
int IndexT
Definition types.h:48