41 using namespace scripting;
44 CommandIllegal::CommandIllegal(
const std::string& cmd )
45 : illCmd( cmd ), description(
"" )
48 CommandIllegal::CommandIllegal(
const std::string& cmd,
const std::string& descr )
49 : illCmd( cmd ), description( descr )
54 cout <<
"Tried to execute an illegal command: " <<
endl;
62 cout <<
"Tried to create an illegal command: " <<
endl;
basic_ostreams & endl(basic_ostreams &s)
Flush and newline.
virtual bool execute()
Execute the functionality of this action.
printstream cout
Console Output.
virtual void warn()
Preferably, this function is executed right after a CommandIllegal has been created.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.