summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/RtecDefaultEventData.idl
blob: 0a10fdef976c7ea0c01ddb682dfb517d997ff2da (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
31
//
// $Id$
//

#ifndef TAO_RTEC_DEFAULTEVENTPAYLOAD_IDL
#define TAO_RTEC_DEFAULTEVENTPAYLOAD_IDL

#pragma prefix ""

typedef sequence<octet> EventPayload;
struct RtecEventData
{
#if !defined (TAO_LACKS_EVENT_CHANNEL_OCTET_SEQUENCE)
  double pad0;
  long pad1;
  // This two objects ensure that the encapsulated stream below is
  // properly aligned; this makes the decoding of the payload more
  // efficient because we can use the usual demarshalling code
  // (without making extra copies).

  EventPayload payload;
#endif /* TAO_LACKS_EVENT_CHANNEL_OCTET_SEQUENCE */

#if !defined (TAO_LACKS_EVENT_CHANNEL_ANY)
  any any_value;
#endif /* TAO_LACKS_EVENT_CHANNEL_ANY */
};

#pragma prefix ""

#endif /* TAO_RTEC_DEFAULTEVENTPAYLOAD_IDL */