23 #ifndef DABC_Hierarchy
27 #ifndef DABC_CommandsQueue
86 virtual const char*
ClassName()
const {
return "Player"; }
Represents command with its arguments.
Represents objects hierarchy of remote (or local) DABC process.
Object * GetObject() const
Return pointer on the object.
Reference on dabc::Worker
Active object, which is working inside dabc::Thread.
DABC_REFERENCE(MonitorRef, dabc::WorkerRef, Monitor)
void ProcessActionsInRootContext(THttpServer *serv, TRootSniffer *sniff)
virtual void OnThreadAssigned()
Monitor(const std::string &name, dabc::Command cmd=nullptr)
virtual double ProcessTimeout(double last_diff)
dabc::TimeStamp fLastUpdate
dabc::CommandsQueue fRootCmds
list of commands, which must be executed in the ROOT context
void RescanHierarchy(TRootSniffer *sniff, dabc::Hierarchy &main, const char *path=0)
Method scans normal objects, registered in ROOT and DABC.
dabc::Hierarchy fRoot
Last hierarchy, build in ROOT main thread.
virtual int ProcessGetBinary(THttpServer *serv, TRootSniffer *sniff, dabc::Command cmd)
virtual void InitializeHierarchy()
virtual bool ProcessHCommand(const std::string &cmdname, dabc::Command cmd)
Execute extra command in ROOT context, used in Go4 plugin.
virtual const char * ClassName() const
Returns class name of the object instance.
void ProcessActionsInRootContext(THttpServer *serv, TRootSniffer *sniff)
dabc::Hierarchy fHierarchy
hierarchy, used for version control
std::string fPrefix
name prefix for hierarchy like ROOT or Go4
virtual int ExecuteCommand(dabc::Command cmd)
Main method where commands are executed.
int main(int numc, char *args[])
Class for acquiring and holding timestamps.