#include "dabc/Record.h"
#include "dabc/timing.h"
#include <list>
Go to the source code of this file.
|
| dabc |
| Event manipulation API.
|
|
◆ DABC_COMMAND
#define DABC_COMMAND |
( |
|
cmd_class, |
|
|
|
cmd_name |
|
) |
| |
Value: public: \
static const char* CmdName() { return cmd_name; } \
cmd_class() :
dabc::Command(CmdName()) {} \
if (!cmd.
IsName(CmdName())) throw
dabc::Exception(
dabc::
ex_Command, "Wrong command name in assignment operator", cmd.GetName()); \
dabc::Command::operator=(cmd); return *this; \
}
Represents command with its arguments.
const char * GetName() const
Return name of referenced object, if object not assigned, returns "---".
bool IsName(const char *name) const
Returns true if object name is the same as specified one.
Reference & operator=(const Reference &src)
Assignment operator - copy reference.
Definition at line 282 of file Command.h.