Mako 8.2.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
ircobject.h
Go to the documentation of this file.
1/*
2* Copyright (C) 2007-2025 Global Graphics Software Ltd. All rights reserved.
3*/
4
20
21#ifndef __IRCOBJECT_H__
22#define __IRCOBJECT_H__
23
24#include "smartptr.h"
25#include "edltypes.h"
26
28
35{
36public:
41 virtual void addRef() const = 0;
42
48 virtual bool decRef() const = 0;
49
54 virtual int32 getRefCount() const = 0;
55
56protected:
60 virtual ~IRCObject()
61 {
62 }
63};
64
66
68
69#endif /* __IRCOBJECT_H__ */
Base class Interface for all Reference Counted objects.
Definition ircobject.h:35
virtual ~IRCObject()
Virtual destructor.
Definition ircobject.h:60
virtual void addRef() const =0
Increases the reference count of the actual object pointed to. This would take place during an assign...
virtual bool decRef() const =0
Decreases the reference count of the actual object pointed to. When the reference count falls to Zero...
virtual int32 getRefCount() const =0
Retrieve the current reference count of the actual object pointed to.
#define _BEGIN_EDL_NAMESPACE
Definition edlnamespaces.h:75
#define _END_EDL_NAMESPACE
Definition edlnamespaces.h:76
EDL "standard" types including known bit-length signed and unsigned integer type[def]s and definition...
signed int int32
Definition edltypes.h:29
EDL smart pointers which, in conjunction with the IRCOject class, provide reference-counted and autom...
#define DECL_SMART_PTR(cls)
Definition smartptr.h:211