Page MenuHomePhorge

ChannelSlotOfTestbench.cpp
No OneTemporary

Authored By
Unknown
Size
679 B
Referenced Files
None
Subscribers
None

ChannelSlotOfTestbench.cpp

#include "ChannelSlotOfTestbench.h"
#include <stdio.h>
void ChannelSlotOfTestbench :: init_channelSlotOfTestbench() {
channel = NULL;
}
ChannelSlotOfTestbench :: ChannelSlotOfTestbench() {
init_channelSlotOfTestbench();
}
bool ChannelSlotOfTestbench :: set_channel(Channel* channel) {
if(channel != NULL) {
this->channel = channel;
return true;
}
return false;
}
bool ChannelSlotOfTestbench :: del_channel() {
if(channel != NULL) {
channel = NULL;
return true;
}
return false;
}
Channel* ChannelSlotOfTestbench :: get_channel() {
return channel;
}
ChannelSlotOfTestbench :: ~ChannelSlotOfTestbench() {
del_channel();
}

File Metadata

Mime Type
text/x-c
Expires
Fri, Nov 20, 11:28 PM (7 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
420449
Default Alt Text
ChannelSlotOfTestbench.cpp (679 B)

Event Timeline