File: StorableImpl.hh

package info (click to toggle)
synopsis 0.12-8
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 38,112 kB
  • ctags: 18,122
  • sloc: ansic: 41,842; cpp: 39,920; xml: 17,704; python: 13,545; sh: 10,045; yacc: 1,271; makefile: 1,242; lex: 684; asm: 361
file content (30 lines) | stat: -rw-r--r-- 833 bytes parent folder | download | duplicates (7)
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
#ifndef _StorableImpl_hh
#define _StorableImpl_hh

#include <Storage.hh>

//. Storable implementation. This is an implementation of the IDL interface
//. Storage::Storable
class StorableImpl : public virtual POA_Storage::Storable
{
public:
  //. Constructor. You know what a constructor is
  StorableImpl();
protected:
  //. Destructor. Note its virtuality
  virtual ~StorableImpl();
public:
  //. Store the given object state. The _ptr of the type means that this is a
  //. CORBA object reference, since this may be called via a remote interface
  virtual void store(Storage::ObjectState_ptr);
  //. Loads the given object state.
  virtual void load(Storage::ObjectState_ptr);

private:
  //. Private data structure
  struct Private;
  //. Private data. The 'Private' type is only defined in the .cc file.
  Private _m;
};

#endif