Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / CSD_Collocation / Diamond_i.cpp
blob2f0b46d5406b067234ef50dbcd9c1d5198727766
1 #include "Diamond_i.h"
3 Top_i::Top_i ()
7 Top_i::~Top_i ()
11 char *
12 Top_i::shape ()
14 return CORBA::string_dup ("a point.");
17 Left_i::Left_i ()
19 // No-op.
22 Left_i::~Left_i ()
24 // No-op.
27 char *
28 Left_i::shape ()
30 return CORBA::string_dup ("the left line");
33 char *
34 Left_i::color ()
36 return CORBA::string_dup ("black");
39 Right_i::Right_i ()
43 Right_i::~Right_i ()
47 char *
48 Right_i::shape ()
50 return CORBA::string_dup ("the right line");
53 char *
54 Right_i::color ()
56 return CORBA::string_dup ("red");
60 CORBA::Long
61 Right_i::width ()
63 return 0;
66 Buttom_i::Buttom_i ()
70 Buttom_i::~Buttom_i ()
74 char *
75 Buttom_i::shape ()
77 ACE_DEBUG ((LM_DEBUG, "(%P|%t) In servant\n"));
78 return CORBA::string_dup ("a diamond");
81 char *
82 Buttom_i::color ()
84 return CORBA::string_dup ("translucent");
87 CORBA::Long
88 Buttom_i::width ()
90 return 100;
93 char *
94 Buttom_i::name ()
96 return CORBA::string_dup ("Jubilee");