Tokenised but unresolved command: a keyword plus a list of raw string arguments awaiting type binding. More...
#include <raw_command.h>
Signals | |
| void | executed (QList< QString > p_qListParameters) |
Public Member Functions | |
| RawCommand (QObject *parent=0) | |
| RawCommand (const QString &p_sCommand, bool p_bIsJson=true, QObject *parent=0) | |
| RawCommand (const RawCommand &p_rawCommand) | |
| QString | command () const |
| quint32 | count () const |
| virtual void | execute () |
| bool | isJson () const |
| QList< QString > & | pValues () |
| RawCommand & | operator= (const RawCommand &rhs) |
| Public Member Functions inherited from UTILSLIB::ICommand | |
| virtual | ~ICommand () |
Additional Inherited Members | |
| Public Types inherited from UTILSLIB::ICommand | |
| typedef QSharedPointer< ICommand > | SPtr |
| typedef QSharedPointer< const ICommand > | ConstSPtr |
Tokenised but unresolved command: a keyword plus a list of raw string arguments awaiting type binding.
Emitted by CommandParser before any CommandManager has claimed the request. Observers turn the QList<QString> arguments into typed Command parameters once the matching schema is located. Retains the JSON-vs-CLI dialect flag so replies travel back in the same encoding the caller used.
Definition at line 70 of file raw_command.h.

|
explicit |
Default constructor.
| [in] | parent | Parent QObject (optional). |
Definition at line 36 of file raw_command.cpp.
|
explicit |
Constructor which parses a command stored in a json object
| [in] | p_sCommand | Command. |
| [in] | p_bIsJson | If is received/should be send as JSON (optional, default true). |
| [in] | parent | Parent QObject (optional). |
Definition at line 44 of file raw_command.cpp.
|
explicit |
Copy constructor.
| [in] | p_rawCommand | RawCommand which should be copied. |
Definition at line 53 of file raw_command.cpp.
|
inline |
|
inline |
Returns the number of parameters.
Definition at line 171 of file raw_command.h.
|
virtual |
Executes the ICommand.
Implements UTILSLIB::ICommand.
Definition at line 63 of file raw_command.cpp.
|
signal |
Signal which is emitted when command patterns execute method is processed.
| [in] | p_qListParameters | Parameter List. |
|
inline |
Returns whether the received command was in Json format.
Definition at line 178 of file raw_command.h.
| RawCommand & RawCommand::operator= | ( | const RawCommand & | rhs | ) |
Assignment Operator
| [in] | rhs | RawCommand which should be assigned. |
Definition at line 70 of file raw_command.cpp.
|
inline |