../src/applications/model/mp-tcp-onoff-application.cc:146:6: error: ‘MpTcpOnOffApplication’ has not been declared
void MpTcpOnOffApplication::StartApplication () // Called at time specified by Start
^
In file included from ../src/applications/model/mp-tcp-onoff-application.cc:25:0:
../src/applications/model/mp-tcp-onoff-application.cc: In function ‘void ns3::StartApplication()’:
../src/applications/model/mp-tcp-onoff-application.cc:148:20: error: invalid use of ‘this’ in non-member function
NS_LOG_FUNCTION (this);
^
./ns3/log.h:355:47: note: in definition of macro ‘NS_LOG_FUNCTION’
ns3::ParameterLogger (std::clog) << parameters; \
^
../src/applications/model/mp-tcp-onoff-application.cc:149:3: error: ‘cout’ was not declared in this scope
cout<<"Hello\n";
^
../src/applications/model/mp-tcp-onoff-application.cc:149:3: note: suggested alternative:
In file included from ./ns3/log.h:25:0,
from ../src/applications/model/mp-tcp-onoff-application.cc:25:
/usr/include/c++/4.9/iostream:61:18: note: ‘std::cout’
extern ostream cout; /// Linked to standard output
^
../src/applications/model/mp-tcp-onoff-application.cc:151:8: error: ‘m_socket’ was not declared in this scope
if (!m_socket)
^
../src/applications/model/mp-tcp-onoff-application.cc:153:49: error: ‘GetNode’ was not declared in this scope
m_socket = Socket::CreateSocket (GetNode (), m_tid);
^
../src/applications/model/mp-tcp-onoff-application.cc:153:52: error: ‘m_tid’ was not declared in this scope
m_socket = Socket::CreateSocket (GetNode (), m_tid);
^
../src/applications/model/mp-tcp-onoff-application.cc:154:47: error: ‘m_peer’ was not declared in this scope
if (Inet6SocketAddress::IsMatchingType (m_peer))
^
../src/applications/model/mp-tcp-onoff-application.cc:163:26: error: ‘m_peer’ was not declared in this scope
m_socket->Connect (m_peer);
^
../src/applications/model/mp-tcp-onoff-application.cc:168:24: error: ‘MpTcpOnOffApplication’ has not been declared
MakeCallback (&MpTcpOnOffApplication::ConnectionSucceeded, this),
^
../src/applications/model/mp-tcp-onoff-application.cc:168:68: error: invalid use of ‘this’ in non-member function
MakeCallback (&MpTcpOnOffApplication::ConnectionSucceeded, this),
^
../src/applications/model/mp-tcp-onoff-application.cc:169:24: error: ‘MpTcpOnOffApplication’ has not been declared
MakeCallback (&MpTcpOnOffApplication::ConnectionFailed, this));
^
../src/applications/model/mp-tcp-onoff-application.cc:169:65: error: invalid use of ‘this’ in non-member function
MakeCallback (&MpTcpOnOffApplication::ConnectionFailed, this));
^
../src/applications/model/mp-tcp-onoff-application.cc:171:3: error: ‘m_cbrRateFailSafe’ was not declared in this scope
m_cbrRateFailSafe = m_cbrRate;
^
../src/applications/model/mp-tcp-onoff-application.cc:171:23: error: ‘m_cbrRate’ was not declared in this scope
m_cbrRateFailSafe = m_cbrRate;
^
../src/applications/model/mp-tcp-onoff-application.cc:174:17: error: ‘CancelEvents’ was not declared in this scope
CancelEvents ();
^
../src/applications/model/mp-tcp-onoff-application.cc:178:23: error: ‘ScheduleStartEvent’ was not declared in this scope
ScheduleStartEvent ();