|
| Storage (IEntryNotifier ¬ifier, IRpcServer &rpcserver, wpi::Logger &logger) |
|
| Storage (const Storage &)=delete |
|
Storage & | operator= (const Storage &)=delete |
|
void | SetDispatcher (IDispatcher *dispatcher, bool server) override |
|
void | ClearDispatcher () override |
|
NT_Type | GetMessageEntryType (unsigned int id) const override |
|
void | ProcessIncoming (std::shared_ptr< Message > msg, INetworkConnection *conn, std::weak_ptr< INetworkConnection > conn_weak) override |
|
void | GetInitialAssignments (INetworkConnection &conn, std::vector< std::shared_ptr< Message >> *msgs) override |
|
void | ApplyInitialAssignments (INetworkConnection &conn, wpi::ArrayRef< std::shared_ptr< Message >> msgs, bool new_server, std::vector< std::shared_ptr< Message >> *out_msgs) override |
|
std::shared_ptr< Value > | GetEntryValue (StringRef name) const |
|
std::shared_ptr< Value > | GetEntryValue (unsigned int local_id) const |
|
bool | SetDefaultEntryValue (StringRef name, std::shared_ptr< Value > value) |
|
bool | SetDefaultEntryValue (unsigned int local_id, std::shared_ptr< Value > value) |
|
bool | SetEntryValue (StringRef name, std::shared_ptr< Value > value) |
|
bool | SetEntryValue (unsigned int local_id, std::shared_ptr< Value > value) |
|
void | SetEntryTypeValue (StringRef name, std::shared_ptr< Value > value) |
|
void | SetEntryTypeValue (unsigned int local_id, std::shared_ptr< Value > value) |
|
void | SetEntryFlags (StringRef name, unsigned int flags) |
|
void | SetEntryFlags (unsigned int local_id, unsigned int flags) |
|
unsigned int | GetEntryFlags (StringRef name) const |
|
unsigned int | GetEntryFlags (unsigned int local_id) const |
|
void | DeleteEntry (StringRef name) |
|
void | DeleteEntry (unsigned int local_id) |
|
void | DeleteAllEntries () |
|
std::vector< EntryInfo > | GetEntryInfo (int inst, const Twine &prefix, unsigned int types) |
|
unsigned int | AddListener (const Twine &prefix, std::function< void(const EntryNotification &event)> callback, unsigned int flags) const |
|
unsigned int | AddListener (unsigned int local_id, std::function< void(const EntryNotification &event)> callback, unsigned int flags) const |
|
unsigned int | AddPolledListener (unsigned int poller_uid, const Twine &prefix, unsigned int flags) const |
|
unsigned int | AddPolledListener (unsigned int poller_uid, unsigned int local_id, unsigned int flags) const |
|
unsigned int | GetEntry (const Twine &name) |
|
std::vector< unsigned int > | GetEntries (const Twine &prefix, unsigned int types) |
|
EntryInfo | GetEntryInfo (int inst, unsigned int local_id) const |
|
std::string | GetEntryName (unsigned int local_id) const |
|
NT_Type | GetEntryType (unsigned int local_id) const |
|
uint64_t | GetEntryLastChange (unsigned int local_id) const |
|
const char * | SavePersistent (const Twine &filename, bool periodic) const override |
|
const char * | LoadPersistent (const Twine &filename, std::function< void(size_t line, const char *msg)> warn) override |
|
const char * | SaveEntries (const Twine &filename, const Twine &prefix) const |
|
const char * | LoadEntries (const Twine &filename, const Twine &prefix, std::function< void(size_t line, const char *msg)> warn) |
|
void | SavePersistent (wpi::raw_ostream &os, bool periodic) const |
|
bool | LoadEntries (wpi::raw_istream &is, const Twine &prefix, bool persistent, std::function< void(size_t line, const char *msg)> warn) |
|
void | SaveEntries (wpi::raw_ostream &os, const Twine &prefix) const |
|
void | CreateRpc (unsigned int local_id, StringRef def, unsigned int rpc_uid) |
|
unsigned int | CallRpc (unsigned int local_id, StringRef params) |
|
bool | GetRpcResult (unsigned int local_id, unsigned int call_uid, std::string *result) |
|
bool | GetRpcResult (unsigned int local_id, unsigned int call_uid, std::string *result, double timeout, bool *timed_out) |
|
void | CancelRpcResult (unsigned int local_id, unsigned int call_uid) |
|
| IStorage (const IStorage &)=delete |
|
IStorage & | operator= (const IStorage &)=delete |
|