|
lintel 0.2.0
|
#include <HistoryEntry.h>
Public Member Functions | |
| HistoryEntry (std::string processName, std::string serviceName, std::string label, std::string text, const std::chrono::sys_time< std::chrono::microseconds > &createdTimestamp) | |
| HistoryEntry (const AbstractServiceInterface &service, std::string label, std::string text) | |
| const std::string & | getProcessName () const |
| const std::string & | getServiceName () const |
| const std::string & | getLabel () const |
| const std::string & | getText () const |
| const std::string & | getUuid () const |
| const std::chrono::sys_time< std::chrono::microseconds > & | getCreatedTimestamp () const |
| bool | operator== (const HistoryEntry &rhs) const |
| bool | operator!= (const HistoryEntry &rhs) const |
Represents a single history entry with process/service context, a label, text, and timestamp.
| lintel::HistoryEntry::HistoryEntry | ( | std::string | processName, |
| std::string | serviceName, | ||
| std::string | label, | ||
| std::string | text, | ||
| const std::chrono::sys_time< std::chrono::microseconds > & | createdTimestamp | ||
| ) |
Constructor.
| processName | name of the process |
| serviceName | name of the service |
| label | entry label |
| text | entry text |
| createdTimestamp | creation timestamp |
| lintel::HistoryEntry::HistoryEntry | ( | const AbstractServiceInterface & | service, |
| std::string | label, | ||
| std::string | text | ||
| ) |
Constructor inferring process and service name from an AbstractServiceInterface.
| service | the service interface |
| label | entry label |
| text | entry text |
| const std::chrono::sys_time< std::chrono::microseconds > & lintel::HistoryEntry::getCreatedTimestamp | ( | ) | const |
| const std::string & lintel::HistoryEntry::getLabel | ( | ) | const |
| const std::string & lintel::HistoryEntry::getProcessName | ( | ) | const |
| const std::string & lintel::HistoryEntry::getServiceName | ( | ) | const |
| const std::string & lintel::HistoryEntry::getText | ( | ) | const |
| bool lintel::HistoryEntry::operator!= | ( | const HistoryEntry & | rhs | ) | const |
| bool lintel::HistoryEntry::operator== | ( | const HistoryEntry & | rhs | ) | const |