This file contains the Simple Test Interaction application, which sends and receives Simple Test Interactions.
#include <iostream>
void testCb( TestSimpleInteraction* inter, void* )
{
std::cout << "Received Test Interaction!" << std::endl;
inter->print();
std::cout << std::endl;
}
int main( int argc, char* argv[] )
{
TestSimpleInteraction::addCallback(&conn, testCb, NULL);
while (1)
{
TestSimpleInteraction inter;
inter.setNumber(10);
inter.setVector(
DtVector(1.0, 2.0, 3.0));
}
return 0;
}