HAL
channel_item.cpp
Go to the documentation of this file.
1
#include "
gui/channel_manager/channel_item.h
"
2
3
#define MAX_CHANNEL_ENTIRES 1000
4
5
namespace
hal
6
{
7
ChannelItem::ChannelItem
(
QString
name
)
8
: mName(
name
)
9
{
10
}
11
12
const
QString
ChannelItem::name
()
const
13
{
14
return
mName;
15
}
16
17
const
QList<ChannelEntry*>
*
ChannelItem::getEntries
()
const
18
{
19
return
&mLogEntries;
20
}
21
22
QReadWriteLock
*
ChannelItem::getLock
()
23
{
24
return
&mLock;
25
}
26
27
void
ChannelItem::appendEntry
(
ChannelEntry
* entry)
28
{
29
if
(mLogEntries.size() ==
MAX_CHANNEL_ENTIRES
)
30
mLogEntries.removeFirst();
31
32
mLogEntries.append(entry);
33
}
34
}
MAX_CHANNEL_ENTIRES
#define MAX_CHANNEL_ENTIRES
Definition:
channel_item.cpp:3
channel_item.h
hal::ChannelItem::appendEntry
void appendEntry(ChannelEntry *entry)
Definition:
channel_item.cpp:27
hal::ChannelItem::name
const QString name() const
Definition:
channel_item.cpp:12
hal::ChannelItem::getEntries
const QList< ChannelEntry * > * getEntries() const
Definition:
channel_item.cpp:17
hal::ChannelItem::getLock
QReadWriteLock * getLock()
Definition:
channel_item.cpp:22
hal::ChannelItem::ChannelItem
ChannelItem(QString name)
Definition:
channel_item.cpp:7
hal
Definition:
parser_liberty.cpp:10
name
std::string name
Definition:
netlist_serializer.cpp:58
QList
QReadWriteLock
QString
hal::ChannelEntry
The ChannelEntry struct is used by the ChannelItem class to store a single entry.
Definition:
channel_item.h:44
plugins
gui
src
channel_manager
channel_item.cpp
Generated on Fri Feb 14 2025 14:22:42 for HAL by
1.9.1