26 GO4TRACE((15,
"TGo4ExampleController::TGo4ExampleController()",__LINE__, __FILE__));
27 fxCanvas =
new TCanvas(
"Example Display",
"Go4 controller canvas",3);
32 GO4TRACE((15,
"TGo4ExampleController::~TGo4ExampleController()",__LINE__, __FILE__));
39 GO4TRACE((12,
"TGo4ExampleController::DisplayData(TObject *)",__LINE__, __FILE__));
43 std::cout <<
"ExampleController received data object:" << std::endl;
44 std::cout <<
"Classname:" << data->ClassName() <<
", Name:"
45 << data->GetName() << std::endl;
51 std::cout <<
"ExampleController has NULL data object" << std::endl;
57 GO4TRACE((12,
"TGo4ExampleController::DisplayLog(TGo4Status *)",__LINE__, __FILE__));
59 std::cout <<
"ExampleController received status object:" << std::endl;
60 if (status->InheritsFrom(
"TGo4ExampleClientStatus")) {
63 std::cout << status->GetName() << std::endl;
67 std::cout <<
"ExampleController has NULL status object" << std::endl;
73 GO4TRACE((12,
"TGo4ExampleController::GetCommand()",__LINE__, __FILE__));
example command calling action routine 1 of example application
This is the Go4 Abstract Command Class; part of the Base command pattern.
TGo4Command * GetCommand()
void DisplayData(TObject *)
virtual ~TGo4ExampleController()
void DisplayLog(TGo4Status *)
void Print(Option_t *opt="") const override