![]() |
Jazz 1.25.+
|
Model: A Space of Concepts. More...
#include <model.h>
Public Member Functions | |
| Model (pLogger a_logger, pConfigFile a_config) | |
| Bop: Start the Model. | |
| StatusCode | start () |
| StatusCode | shut_down () |
Public Member Functions inherited from jazz_elements::Container | |
| Container (pLogger a_logger, pConfigFile a_config) | |
| void | enter_read (pTransaction p_txn) |
| void | enter_write (pTransaction p_txn) |
| void | leave_read (pTransaction p_txn) |
| void | leave_write (pTransaction p_txn) |
| StatusCode | new_block (pTransaction &p_txn, int cell_type, int *dim, int fill_tensor=FILL_NEW_DONT_FILL, int stringbuff_size=0, const char *p_text=nullptr, char eol='\n', AttributeMap *att=nullptr) |
| StatusCode | new_block (pTransaction &p_txn, int num_items, StaticBlockHeader p_hea[], Name p_names[], pBlock p_block[], AttributeMap *dims=nullptr, AttributeMap *att=nullptr) |
| StatusCode | new_block (pTransaction &p_txn, pBlock p_from, pBlock p_row_filter, AttributeMap *att=nullptr) |
| StatusCode | new_block (pTransaction &p_txn, pTuple p_from, pChar name, AttributeMap *att=nullptr) |
| StatusCode | new_block (pTransaction &p_txn, pBlock p_from_text, int cell_type, pKind p_as_kind=nullptr, AttributeMap *att=nullptr) |
| StatusCode | new_block (pTransaction &p_txn, pBlock p_from_raw, pChar p_fmt=nullptr, bool ret_as_string=false, AttributeMap *att=nullptr) |
| StatusCode | new_block (pTransaction &p_txn, int cell_type) |
| StatusCode | new_block (pTransaction &p_txn, Index &index) |
| virtual StatusCode | new_transaction (pTransaction &p_txn) |
| virtual void | destroy_transaction (pTransaction &p_txn) |
| virtual StatusCode | get (pTransaction &p_txn, pChar p_what) |
| virtual StatusCode | get (pTransaction &p_txn, pChar p_what, pBlock p_row_filter) |
| virtual StatusCode | get (pTransaction &p_txn, pChar p_what, pChar name) |
| virtual StatusCode | locate (Locator &location, pChar p_what) |
| virtual StatusCode | header (StaticBlockHeader &hea, pChar p_what) |
| virtual StatusCode | header (pTransaction &p_txn, pChar p_what) |
| virtual StatusCode | put (pChar p_where, pBlock p_block, int mode=WRITE_AS_BASE_DEFAULT) |
| virtual StatusCode | new_entity (pChar p_where) |
| virtual StatusCode | remove (pChar p_where) |
| virtual StatusCode | copy (pChar p_where, pChar p_what) |
| virtual StatusCode | exec (pTransaction &p_txn, Locator &function, pTuple p_args) |
| virtual StatusCode | modify (Locator &function, pTuple p_args) |
| virtual StatusCode | as_locator (Locator &result, pChar p_what) |
| virtual StatusCode | get (pTransaction &p_txn, Locator &what) |
| virtual StatusCode | get (pTransaction &p_txn, Locator &what, pBlock p_row_filter) |
| virtual StatusCode | get (pTransaction &p_txn, Locator &what, pChar name) |
| virtual StatusCode | locate (Locator &location, Locator &what) |
| virtual StatusCode | header (StaticBlockHeader &hea, Locator &what) |
| virtual StatusCode | header (pTransaction &p_txn, Locator &what) |
| virtual StatusCode | put (Locator &where, pBlock p_block, int mode=WRITE_AS_BASE_DEFAULT) |
| virtual StatusCode | new_entity (Locator &where) |
| virtual StatusCode | remove (Locator &where) |
| virtual StatusCode | copy (Locator &where, Locator &what) |
| StatusCode | unwrap_received (pTransaction &p_txn) |
| StatusCode | unwrap_received (pTransaction &p_txn, pBlock p_maybe_block, int rec_size) |
| void | base_names (BaseNames &base_names) |
Public Member Functions inherited from jazz_elements::Service | |
| Service (pLogger a_logger, pConfigFile a_config) | |
| virtual pChar const | id () |
| void | log (int loglevel, const char *message) |
| void | log_printf (int loglevel, const char *fmt,...) |
| bool | get_conf_key (const char *key, int &value) |
| bool | get_conf_key (const char *key, double &value) |
| bool | get_conf_key (const char *key, std::string &value) |
Additional Inherited Members | |
Data Fields inherited from jazz_elements::Service | |
| pLogger | p_log |
| The logger. | |
| pConfigFile | p_conf |
| The configuration file. | |
Protected Member Functions inherited from jazz_elements::Container | |
| void * | malloc (size_t size) |
| pBlock | block_malloc (size_t size) |
| void | lock_container () |
| void | unlock_container () |
| StatusCode | destroy_container () |
| int | from_hex (char c) |
Protected Attributes inherited from jazz_elements::Container | |
| int | max_transactions |
| The configured ONE_SHOT_MAX_TRANSACTIONS. | |
| uint64_t | warn_alloc_bytes |
| Taken from ONE_SHOT_WARN_BLOCK_KBYTES. | |
| uint64_t | fail_alloc_bytes |
| Taken from ONE_SHOT_ERROR_BLOCK_KBYTES. | |
| uint64_t | alloc_bytes |
| The current allocation in bytes. | |
| pTransaction | p_buffer |
| The buffer for the transactions. | |
| pTransaction | p_free |
| The free list of transactions. | |
| bool | alloc_warning_issued |
| True if a warning was issued for over-allocation. | |
| Lock32 | _lock_ |
| A lock for the deque of transactions. | |
Model: A Space of Concepts.
| jazz_models::Model::Model | ( | pLogger | a_logger, |
| pConfigFile | a_config | ||
| ) |
Bop: Start the Model.
| a_logger | A pointer to the logger. |
| a_config | A pointer to the configuration. |
|
virtual |
Starts the Model service
Reimplemented from jazz_elements::Container.
|
virtual |
Shuts down the Model Service
Reimplemented from jazz_elements::Container.