frame: added bool function returning whether the frame is allocated or not

This commit is contained in:
itsmattkc
2020-02-20 16:37:43 +11:00
parent 2145efa2a0
commit 1cce8abd85
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -109,6 +109,11 @@ public:
*/
void allocate();
/**
* @brief Return whether the frame is allocated or not
*/
bool is_allocated() const;
/**
* @brief Destroy a memory buffer allocated with allocate()
*/