|
| 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, llvm::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, StringRef prefix, unsigned int types) |
|
unsigned int | AddListener (StringRef 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, StringRef prefix, unsigned int flags) const |
|
unsigned int | AddPolledListener (unsigned int poller_uid, unsigned int local_id, unsigned int flags) const |
|
unsigned int | GetEntry (StringRef name) |
|
std::vector< unsigned int > | GetEntries (StringRef 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 |
|
unsigned long long | GetEntryLastChange (unsigned int local_id) const |
|
const char * | SavePersistent (StringRef filename, bool periodic) const override |
|
const char * | LoadPersistent (StringRef filename, std::function< void(std::size_t line, const char *msg)> warn) override |
|
const char * | SaveEntries (StringRef filename, StringRef prefix) const |
|
const char * | LoadEntries (StringRef filename, StringRef prefix, std::function< void(std::size_t line, const char *msg)> warn) |
|
void | SavePersistent (llvm::raw_ostream &os, bool periodic) const |
|
bool | LoadEntries (wpi::raw_istream &is, StringRef prefix, bool persistent, std::function< void(std::size_t line, const char *msg)> warn) |
|
void | SaveEntries (llvm::raw_ostream &os, StringRef 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 |
|