~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/instance/shared.h

  • Committer: Lee Bieber
  • Date: 2011-03-18 04:10:25 UTC
  • mfrom: (2241.1.2 build)
  • Revision ID: kalebral@gmail.com-20110318041025-1xoj1azy6zobhnbm
Merge Stewart - refactoring of default values
Merge Olaf - more refactoring

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 */
20
20
 
21
21
 
22
 
#ifndef DRIZZLED_TABLE_INSTANCE_SHARED_H
23
 
#define DRIZZLED_TABLE_INSTANCE_SHARED_H
 
22
#pragma once
24
23
 
25
24
#include <drizzled/table/instance/base.h>
26
25
 
56
55
         const identifier::Table &identifier,
57
56
         char *path_arg= NULL, uint32_t path_length_arg= 0); // Shares for cache
58
57
 
 
58
  Shared(const identifier::Table &identifier, message::schema::shared_ptr schema_message);
 
59
 
59
60
  Shared(const identifier::Table &identifier); // Used by placeholder
60
61
 
61
62
  ~Shared();
87
88
    event_observers= observers;
88
89
  }
89
90
 
 
91
  virtual bool is_replicated() const;
 
92
 
90
93
private:
91
94
  boost::mutex mutex;                /* For locking the share  */
 
95
  drizzled::message::schema::shared_ptr _schema;
92
96
 
93
97
  /* 
94
98
    event_observers is a class containing all the event plugins that have 
102
106
} /* namespace table */
103
107
} /* namespace drizzled */
104
108
 
105
 
#endif /* DRIZZLED_TABLE_INSTANCE_SHARED_H */