|
Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
|
CommandLog serves as the entry point to all command log objects. More...
Public Member Functions | |
| void | clear () |
| Clears the command log. More... | |
| void | setEnabled (bool) |
| Enables or disables the command log. More... | |
| bool | isEnabled () |
| Returns true if the command log is enabled, otherwise false. More... | |
| int | getEntryCount () |
| Returns the command log entry count. More... | |
| CommandLogEntry | getEntryAt (int) |
| Returns the CommandLogEntry object at the specified index. More... | |
| void | entryAdded (int) |
| This event is emitted when an entry is added to the command log. More... | |
CommandLog serves as the entry point to all command log objects.
| void CommandLog::clear | ( | ) |
Clears the command log.
| void CommandLog::entryAdded | ( | int | ) |
This event is emitted when an entry is added to the command log.
IPC event.
| CommandLogEntry CommandLog::getEntryAt | ( | int | ) |
Returns the CommandLogEntry object at the specified index.
| index,the | index of the CommandLogEntry object of interest. |
| int CommandLog::getEntryCount | ( | ) |
Returns the command log entry count.
| bool CommandLog::isEnabled | ( | ) |
Returns true if the command log is enabled, otherwise false.
| void CommandLog::setEnabled | ( | bool | ) |
Enables or disables the command log.
| enabled,true | to enable the command log, false to disable it. |