/usr/include/omniORB4/pollable_defs.hh is in libomniorb4-dev 4.2.2-0.8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 | // This file is generated by omniidl (C++ backend)- omniORB_4_2. Do not edit.
#ifndef __pollable_defs_hh__
#define __pollable_defs_hh__
#ifndef __CORBA_mPollableSet__
#define __CORBA_mPollableSet__
class PollableSet;
typedef PollableSet* PollableSet_ptr;
typedef PollableSet_ptr PollableSetRef;
class PollableSet_Helper {
public:
typedef PollableSet_ptr _ptr_type;
static _ptr_type _nil();
static _CORBA_Boolean is_nil(_ptr_type);
static void release(_ptr_type);
static void duplicate(_ptr_type);
static void marshalObjRef(_ptr_type, cdrStream&);
static _ptr_type unmarshalObjRef(cdrStream&);
};
typedef _CORBA_ObjRef_Var<PollableSet, PollableSet_Helper> PollableSet_var;
typedef _CORBA_ObjRef_OUT_arg<PollableSet,PollableSet_Helper > PollableSet_out;
#endif
#ifndef __CORBA_mPollable__
#define __CORBA_mPollable__
class Pollable;
class Pollable_Helper {
public:
static void add_ref(Pollable*);
static void remove_ref(Pollable*);
static void marshal(Pollable*, cdrStream&);
static Pollable* unmarshal(cdrStream&);
};
typedef _CORBA_Value_Var <Pollable,Pollable_Helper> Pollable_var;
typedef _CORBA_Value_Member <Pollable,Pollable_Helper> Pollable_member;
typedef _CORBA_Value_OUT_arg<Pollable,Pollable_Helper> Pollable_out;
#endif // __CORBA_mPollable__
class Pollable :
public virtual ::CORBA::ValueBase
{
public:
// Standard mapping
typedef Pollable* _ptr_type;
typedef Pollable_var _var_type;
static _ptr_type _downcast(::CORBA::ValueBase*);
#ifdef OMNI_HAVE_COVARIANT_RETURNS
virtual Pollable* _copy_value();
#else
virtual ::CORBA::ValueBase* _copy_value();
#endif
// Definitions in this scope
// Operations and attributes
virtual ::CORBA::Boolean is_ready(::CORBA::ULong timeout) = 0;
virtual PollableSet_ptr create_pollable_set() = 0;
// Accessors for public members
protected:
// Accessors for private members
public:
// omniORB internal
virtual const char* _NP_repositoryId() const;
virtual const char* _NP_repositoryId(::CORBA::ULong& _hashval) const;
virtual const _omni_ValueIds* _NP_truncatableIds() const;
virtual ::CORBA::Boolean _NP_custom() const;
virtual void* _ptrToValue(const char* id);
static void _NP_marshal(Pollable*, cdrStream&);
static Pollable* _NP_unmarshal(cdrStream&);
virtual void _PR_marshal_state(cdrStream&) const;
virtual void _PR_unmarshal_state(cdrStream&);
virtual void _PR_copy_state(Pollable*);
static _core_attr const char* _PD_repoId;
protected:
Pollable();
virtual ~Pollable();
private:
// Not implemented
Pollable(const Pollable&);
Pollable& operator=(const Pollable&);
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Pollable;
#ifndef __CORBA_mDIIPollable__
#define __CORBA_mDIIPollable__
class DIIPollable;
class DIIPollable_Helper {
public:
static void add_ref(DIIPollable*);
static void remove_ref(DIIPollable*);
static void marshal(DIIPollable*, cdrStream&);
static DIIPollable* unmarshal(cdrStream&);
};
typedef _CORBA_Value_Var <DIIPollable,DIIPollable_Helper> DIIPollable_var;
typedef _CORBA_Value_Member <DIIPollable,DIIPollable_Helper> DIIPollable_member;
typedef _CORBA_Value_OUT_arg<DIIPollable,DIIPollable_Helper> DIIPollable_out;
#endif // __CORBA_mDIIPollable__
class DIIPollable :
public virtual Pollable
{
public:
// Standard mapping
typedef DIIPollable* _ptr_type;
typedef DIIPollable_var _var_type;
static _ptr_type _downcast(::CORBA::ValueBase*);
#ifdef OMNI_HAVE_COVARIANT_RETURNS
virtual DIIPollable* _copy_value();
#else
virtual ::CORBA::ValueBase* _copy_value();
#endif
// Definitions in this scope
// Operations and attributes
// Accessors for public members
protected:
// Accessors for private members
public:
// omniORB internal
virtual const char* _NP_repositoryId() const;
virtual const char* _NP_repositoryId(::CORBA::ULong& _hashval) const;
virtual const _omni_ValueIds* _NP_truncatableIds() const;
virtual ::CORBA::Boolean _NP_custom() const;
virtual void* _ptrToValue(const char* id);
static void _NP_marshal(DIIPollable*, cdrStream&);
static DIIPollable* _NP_unmarshal(cdrStream&);
virtual void _PR_marshal_state(cdrStream&) const;
virtual void _PR_unmarshal_state(cdrStream&);
virtual void _PR_copy_state(DIIPollable*);
static _core_attr const char* _PD_repoId;
protected:
DIIPollable();
virtual ~DIIPollable();
private:
// Not implemented
DIIPollable(const DIIPollable&);
DIIPollable& operator=(const DIIPollable&);
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_DIIPollable;
#ifndef __CORBA_mPollableSet__
#define __CORBA_mPollableSet__
class PollableSet;
typedef PollableSet* PollableSet_ptr;
typedef PollableSet_ptr PollableSetRef;
class PollableSet_Helper {
public:
typedef PollableSet_ptr _ptr_type;
static _ptr_type _nil();
static _CORBA_Boolean is_nil(_ptr_type);
static void release(_ptr_type);
static void duplicate(_ptr_type);
static void marshalObjRef(_ptr_type, cdrStream&);
static _ptr_type unmarshalObjRef(cdrStream&);
};
typedef _CORBA_ObjRef_Var<PollableSet, PollableSet_Helper> PollableSet_var;
typedef _CORBA_ObjRef_OUT_arg<PollableSet,PollableSet_Helper > PollableSet_out;
#endif
// local interface PollableSet
class PollableSet :
public virtual ::CORBA::LocalObject
{
public:
// Declarations for this interface type.
typedef PollableSet_ptr _ptr_type;
typedef PollableSet_var _var_type;
static _ptr_type _duplicate(_ptr_type);
static _ptr_type _narrow(::CORBA::Object_ptr);
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
static _ptr_type _nil();
static inline void _marshalObjRef(_ptr_type, cdrStream& s);
static inline _ptr_type _unmarshalObjRef(cdrStream& s);
static _core_attr const char* _PD_repoId;
// Other IDL defined within this scope.
class NoPossiblePollable : public ::CORBA::UserException {
public:
inline NoPossiblePollable() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
NoPossiblePollable(const NoPossiblePollable&);
NoPossiblePollable& operator=(const NoPossiblePollable&);
virtual ~NoPossiblePollable();
virtual void _raise() const;
static NoPossiblePollable* _downcast(::CORBA::Exception*);
static const NoPossiblePollable* _downcast(const ::CORBA::Exception*);
static inline NoPossiblePollable* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
inline void operator>>=(cdrStream&) const { }
inline void operator<<=(cdrStream&) { }
static _core_attr insertExceptionToAny insertToAnyFn;
static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;
virtual ::CORBA::Exception* _NP_duplicate() const;
static _core_attr const char* _PD_repoId;
static _core_attr const char* _PD_typeId;
private:
virtual const char* _NP_typeId() const;
virtual const char* _NP_repoId(int*) const;
virtual void _NP_marshal(cdrStream&) const;
};
static _dyn_attr const ::CORBA::TypeCode_ptr _tc_NoPossiblePollable;
class UnknownPollable : public ::CORBA::UserException {
public:
inline UnknownPollable() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
UnknownPollable(const UnknownPollable&);
UnknownPollable& operator=(const UnknownPollable&);
virtual ~UnknownPollable();
virtual void _raise() const;
static UnknownPollable* _downcast(::CORBA::Exception*);
static const UnknownPollable* _downcast(const ::CORBA::Exception*);
static inline UnknownPollable* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
inline void operator>>=(cdrStream&) const { }
inline void operator<<=(cdrStream&) { }
static _core_attr insertExceptionToAny insertToAnyFn;
static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;
virtual ::CORBA::Exception* _NP_duplicate() const;
static _core_attr const char* _PD_repoId;
static _core_attr const char* _PD_typeId;
private:
virtual const char* _NP_typeId() const;
virtual const char* _NP_repoId(int*) const;
virtual void _NP_marshal(cdrStream&) const;
};
static _dyn_attr const ::CORBA::TypeCode_ptr _tc_UnknownPollable;
// Operations declared in this local interface
virtual DIIPollable* create_dii_pollable() = 0;
virtual void add_pollable(::CORBA::Pollable* potential) = 0;
virtual Pollable* get_ready_pollable(::CORBA::ULong timeout) = 0;
virtual void remove(::CORBA::Pollable* potential) = 0;
virtual ::CORBA::UShort number_left() = 0;
private:
virtual void* _ptrToObjRef(const char*);
protected:
PollableSet();
virtual ~PollableSet();
};
class _nil_PollableSet :
public virtual PollableSet
{
public:
virtual DIIPollable* create_dii_pollable();
virtual void add_pollable(::CORBA::Pollable* potential);
virtual Pollable* get_ready_pollable(::CORBA::ULong timeout);
virtual void remove(::CORBA::Pollable* potential);
virtual ::CORBA::UShort number_left();
inline _nil_PollableSet() { _PR_setobj(0); }
protected:
virtual ~_nil_PollableSet();
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_PollableSet;
#endif
|