#include <DotNameLib.hpp>
◆ DotNameLib() [1/3]
Construct a new object.
- Parameters
-
◆ ~DotNameLib()
| dotnamecpp::v1::DotNameLib::~DotNameLib |
( |
| ) |
|
Destroy the object.
Automatically ensures graceful shutdown
◆ DotNameLib() [2/3]
| dotnamecpp::v1::DotNameLib::DotNameLib |
( |
const DotNameLib & | other | ) |
|
|
delete |
Copy and move operations are deleted.
This class manages unique resources and should not be copied or moved.
◆ DotNameLib() [3/3]
| dotnamecpp::v1::DotNameLib::DotNameLib |
( |
DotNameLib && | other | ) |
|
|
delete |
◆ getAssetManager()
Get the Asset Manager object.
- Returns
- const std::shared_ptr<dotnamecpp::assets::IAssetManager>&
◆ isInitialized()
| bool dotnamecpp::v1::DotNameLib::isInitialized |
( |
| ) |
const |
|
nodiscardnoexcept |
Check if the library is initialized.
- Returns
- true
-
false
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ run()
| bool dotnamecpp::v1::DotNameLib::run |
( |
int | durationSeconds = 0 | ) |
|
Run your business logic.
This is the main entry point for your library's functionality. Runs synchronously in the calling thread.
- Parameters
-
| durationSeconds | Duration to run in seconds (0 = run indefinitely) |
- Returns
- true if successful
-
false if an error occurred or not initialized
◆ stop()
| void dotnamecpp::v1::DotNameLib::stop |
( |
| ) |
|
Stop all running processes.
Signals to stop running processes. Safe to call from another thread.
The documentation for this class was generated from the following files: