12 #ifndef ROOT_THttpEngine 13 #define ROOT_THttpEngine 58 void CheckModifiedFlag();
63 virtual UInt_t GetId()
const = 0;
65 virtual void ClearHandle() = 0;
67 virtual void Send(
const void *buf,
int len) = 0;
69 virtual void SendCharStar(
const char *str);
77 virtual void AssignCanvas(
TCanvas *canv);
79 virtual void CanvasModified();
virtual void Process()
Method regularly called in main ROOT context.
Bool_t fReady
! indicate if websocket get ready flag to send bigger amount of data
void SetServer(THttpServer *serv)
virtual ~THttpEngine()
destructor
THttpServer * GetServer() const
Returns pointer to THttpServer associated with engine.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
virtual Bool_t PreviewData(THttpCallArg *)
THttpEngine(const char *name, const char *title)
normal constructor
Bool_t fGetMenu
! true when menu was requested
THttpServer * fServer
! object server
virtual Bool_t Create(const char *)
Method to create all components of engine.
TCanvas * fCanv
! canvas associated with websocket
Bool_t fModified
! true when canvas was modified