blob: 7d35e1882b6d6a7793a8f74618f699e5da4230c8 [file] [log] [blame]
/** -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2013, Regents of the University of California
* Alexander Afanasyev
*
* GNU 3.0 license, See the LICENSE file for more information
*
* Author: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
*/
#include "ns3/ndnSIM-module.h"
using namespace ns3;
using namespace ndn;
static inline void
__dummy_function_on_interest_callback_instantiation (Ptr<const Name>, Ptr<const Interest>)
{
}
static inline void
__dummy_function_on_data_callback_instantiation (Ptr<const Interest>, Ptr<const ContentObject>)
{
}
static inline void
__dummy_function_on_timeout_callback_instantiation (Ptr<const Interest>)
{
}
static inline void
__dummy_function_to_force_ndn_api_face_callback_instantiations ()
{
ApiFace face (0);
Ptr<Interest> interest;
Ptr<Name> prefix;
face.ExpressInterest (interest,
MakeCallback (__dummy_function_on_data_callback_instantiation),
MakeCallback (__dummy_function_on_timeout_callback_instantiation)
);
face.SetInterestFilter (prefix,
MakeCallback (__dummy_function_on_interest_callback_instantiation));
std::string tmp ("bla");
char &test = tmp[0];
}
// /// @cond include_hidden
// #ifdef PYTHON_SCAN
// struct CallbackVoidNameInterest : public Callback<void, Ptr<const Name>, Ptr<const Interest> > { };
// struct CallbackVoidInterestContentObject : public Callback<void, Ptr<const Interest>, Ptr<const ContentObject> > { };
// struct CallbackVoidInterest : public Callback<void, Ptr<const Interest> > { };
// #endif
// /// @endcond