Improve consistency of naming in 'invoke/access' pipeline.
This commit is contained in:
@@ -147,13 +147,13 @@ public:
|
||||
//
|
||||
virtual void event_init(std::string_view srcpk, int argc, char *argv[]) = 0;
|
||||
|
||||
// The call-function callback. This is invoked whenever drv_call_function
|
||||
// The call-function callback. This is invoked whenever drv_access
|
||||
// is called. This is the main entry point for "general" access into the
|
||||
// DrivenEngine. The datapk parameter can contain any arbitrary data needed
|
||||
// by the call. If the call wants to return anything, it can write the
|
||||
// return data into the retpk datapack.
|
||||
//
|
||||
virtual void event_call_function(InvocationKind kind, int64_t place, std::string_view datapk, StreamBuffer *retpk) {};
|
||||
virtual void event_access(AccessKind kind, int64_t place, std::string_view datapk, StreamBuffer *retpk) {};
|
||||
|
||||
// The update callback. You may override this in a subclass.
|
||||
// This will be called whenever anything changes.
|
||||
@@ -296,7 +296,7 @@ public:
|
||||
void drv_notify_close(uint32_t chid, uint32_t len, const char *data);
|
||||
uint32_t drv_notify_accept(uint32_t port);
|
||||
void drv_update(double clock);
|
||||
void drv_call_function(InvocationKind kind, int64_t place, uint32_t datapklen, const char *datapk, uint32_t *retpklen, const char **retpk);
|
||||
void drv_access(AccessKind kind, int64_t place, uint32_t datapklen, const char *datapk, uint32_t *retpklen, const char **retpk);
|
||||
|
||||
private:
|
||||
// Find a currently-unused channel ID. Channel IDs
|
||||
|
||||
Reference in New Issue
Block a user