Logo ROOT  
Reference Guide
ROOT::Experimental::RCanvasPainter::WebCommand Struct Reference

Definition at line 71 of file RCanvasPainter.cxx.

Public Types

enum  { sInit , sRunning , sReady }

Public Member Functions

 WebCommand ()=default
 WebCommand (const std::string &id, const std::string &name, const std::string &arg, CanvasCallback_t callback, unsigned connid)
void CallBack (bool res)

Public Attributes

std::string fArg
 ! command arguments More...
CanvasCallback_t fCallback {nullptr}
 ! callback function associated with command More...
unsigned fConnId {0}
 ! connection id for the command, when 0 specified command will be submitted to any available connection More...
std::string fId
 ! command identifier More...
std::string fName
 ! command name More...
bool fResult {false}
 ! result of command execution More...
enum ROOT::Experimental::RCanvasPainter::WebCommand:: { ... }  sInit
 ! true when command submitted More...

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 75 of file RCanvasPainter.cxx.

Constructor & Destructor Documentation

◆ WebCommand() [1/2]

ROOT::Experimental::RCanvasPainter::WebCommand::WebCommand ( )

◆ WebCommand() [2/2]

ROOT::Experimental::RCanvasPainter::WebCommand::WebCommand ( const std::string &  id,
const std::string &  name,
const std::string &  arg,
CanvasCallback_t  callback,
unsigned  connid 

Definition at line 80 of file RCanvasPainter.cxx.

Member Function Documentation

◆ CallBack()

void ROOT::Experimental::RCanvasPainter::WebCommand::CallBack ( bool  res)

Definition at line 85 of file RCanvasPainter.cxx.

Member Data Documentation

◆ fArg

std::string ROOT::Experimental::RCanvasPainter::WebCommand::fArg

! command arguments

Definition at line 74 of file RCanvasPainter.cxx.

◆ fCallback

CanvasCallback_t ROOT::Experimental::RCanvasPainter::WebCommand::fCallback {nullptr}

! callback function associated with command

Definition at line 77 of file RCanvasPainter.cxx.

◆ fConnId

unsigned ROOT::Experimental::RCanvasPainter::WebCommand::fConnId {0}

! connection id for the command, when 0 specified command will be submitted to any available connection

Definition at line 78 of file RCanvasPainter.cxx.

◆ fId

std::string ROOT::Experimental::RCanvasPainter::WebCommand::fId

! command identifier

Definition at line 72 of file RCanvasPainter.cxx.

◆ fName

std::string ROOT::Experimental::RCanvasPainter::WebCommand::fName

! command name

Definition at line 73 of file RCanvasPainter.cxx.

◆ fResult

bool ROOT::Experimental::RCanvasPainter::WebCommand::fResult {false}

! result of command execution

Definition at line 76 of file RCanvasPainter.cxx.


enum { ... } ROOT::Experimental::RCanvasPainter::WebCommand::sInit

! true when command submitted

Collaboration diagram for ROOT::Experimental::RCanvasPainter::WebCommand:

The documentation for this struct was generated from the following file: