Remote Call Framework 3.4
InitDeinit.hpp File Reference
#include <RCF/Export.hpp>
#include <RCF/Config.hpp>

Go to the source code of this file.

Classes

class  RCF::RcfInit
 RCF initialization sentry class. Internally reference counted. Constructor calls RCF::init(). Destructor calls RCF::deinit(). More...
 

Functions

RCF_EXPORT std::size_t RCF::getInitRefCount ()
 Returns the number of outstanding RCF::init() calls. More...
 
RCF_EXPORT bool RCF::init (RcfConfigT *=nullptr)
 Reference-counted initialization of RCF library. May be called multiple times (see deinit()). More...
 
RCF_EXPORT bool RCF::deinit ()
 Reference-counted deinitialization of RCF library. For actual deinitialization to take place, deinit() must be called as many times as init() has been called. More...
 

Function Documentation

◆ getInitRefCount()

RCF_EXPORT std::size_t RCF::getInitRefCount ( )

Returns the number of outstanding RCF::init() calls.

◆ init()

RCF_EXPORT bool RCF::init ( RcfConfigT *  = nullptr)

Reference-counted initialization of RCF library. May be called multiple times (see deinit()).

◆ deinit()

RCF_EXPORT bool RCF::deinit ( )

Reference-counted deinitialization of RCF library. For actual deinitialization to take place, deinit() must be called as many times as init() has been called.