static const char *rcsId="@(#) $Id: ACMM:Drama2/examples/dramahello.cpp,v 1.45+ 22-Feb-2016 14:09:53+11 tjf $";
static void *use_rcsId = (0 ? (void *)(&use_rcsId) : (void *) &rcsId);
public:
HelloAction() {}
~HelloAction() {}
private:
if (Arg)
{
std::string MyArgument;
Arg.
Get(
"Argument1", &MyArgument);
}
}
};
private:
HelloAction HelloActionObj;
public:
DramaHello() :
drama::Task(
"DRAMAHELLO") {
}
~DramaHello() {
}
};
int main()
{
try
{
DramaHello task;
task.RunDrama();
}
{
fprintf(stderr,"DRAMA Exception thrown and caught in main\n");
fprintf(stderr,
"%s\n", e.
toString().c_str());
fprintf(stderr,"DRAMA Status = 0X%lx, %s\n",
}
return 0;
}