summaryrefslogtreecommitdiff
path: root/TAO/tests/RTScheduling/VoidData/test_client.cpp
blob: c222feaef8cd1d611fe76b34a54f52fab1c1b896 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//$Id$
#include "tao/RTScheduling/RTScheduler.h"
#include "testC.h"
#include "test.h"

int
main (int argc, char* argv [])
{
  CORBA::ORB_var orb;
  try
    {
      orb = CORBA::ORB_init (argc,
                             argv,
                             "");

      test_impl foo_i;
      int something = 28;
      foo_i.bar ((CORBA::VoidData) &something);
    }
  catch (const CORBA::Exception& ex)
    {
      ex._tao_print_exception ("Caught exception:");

      orb->shutdown ();
      orb->destroy ();
      return 0;
    }

  return 0;
}