X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=octopi%2Flibrary%2Foctopus%2Ftentacle.h;h=d04af24bac26a88269eff81ed80449539233c256;hb=fa6306c79832872ba86308b74e9e7d123045ffbb;hp=abbc759ad4900c6c87c4d4bd149bb87eb83d74fe;hpb=2952ccf47b80174880141a7ecfa122089f349b8d;p=feisty_meow.git diff --git a/octopi/library/octopus/tentacle.h b/octopi/library/octopus/tentacle.h index abbc759a..d04af24b 100644 --- a/octopi/library/octopus/tentacle.h +++ b/octopi/library/octopus/tentacle.h @@ -142,7 +142,7 @@ public: /*!< this function locates the next request for the tentacle when it is in its consume() method. the returned infoton was previously passed to the enqueue() method and needs to be processed. if there are no - requests ready, NIL is returned. */ + requests ready, NULL_POINTER is returned. */ bool store_product(infoton *product, const octopus_request_id &original_id); //!< used by tentacles to store the objects they produce from infotons. @@ -164,6 +164,8 @@ public: when detach is called. */ void detach_storage(); //!< unhooks the storage bin from this tentacle. + entity_data_bin *get_storage(); + //!< returns the current pointer, which might be nil. void propel_arm(); //!< invoked by our thread to cause requests to be processed.