I am using TRI DDS - here is the prototype for the function I am trying to call:
template
dds::sub::cond::ReadCondition::Re
You could use std::bind
(see http://en.cppreference.com/w/cpp/utility/functional/bind)
dds::sub::cond::ReadCondition rc(*mp_reader,
dds::sub::status::DataState::any(),
std::bind(&MyClass::do_stuff, this));
See also How to directly bind a member function to an std::function in Visual Studio 11?
You can use a lambda function with a capture.
dds::sub::cond::ReadCondition rc(*mp_reader,
dds::sub::status::DataState::any(),
[this](){ this->do_stuff(); });