MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / ChannelStream

Method ChannelStream

SRC/handler/ChannelStream.cpp:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34#include <ChannelStream.h>
35
36ChannelStream::ChannelStream(Channel *theC)
37 :OPS_Stream(OPS_STREAM_TAGS_ChannelStream), sendSize(0), data(1), theChannel(theC)
38{
39 if (theChannel->setUpConnection() < 0) {
40 opserr << "ChannelStream - Failed to set up connection\n";
41 delete theChannel;
42 theChannel = 0;
43 }
44}
45
46ChannelStream::~ChannelStream()
47{

Callers

nothing calls this directly

Calls 1

setUpConnectionMethod · 0.45

Tested by

no test coverage detected