Choreonoid  1.8
Public Member Functions | List of all members
cnoid::ArchiveSession Class Reference

#include <ArchiveSession.h>

Public Member Functions

 ArchiveSession ()
 
virtual ~ArchiveSession ()
 
void initialize ()
 
bool addReference (const Uuid &uuid, Referenced *object, bool doUnreferenceImmediately=false)
 
template<class ObjectType >
void resolveReference (const Uuid &uuid, std::function< bool(ObjectType *object, bool isImmediate)> onResolved, std::function< bool()> onNotResolved=nullptr)
 
template<class ObjectType >
void resolveReferenceLater (const Uuid &uuid, std::function< bool(ObjectType *object)> onResolved, std::function< bool()> onNotResolved=nullptr)
 
virtual void putWarning (const std::string &message)
 
virtual void putError (const std::string &message)
 
void resolvePendingReferences ()
 
bool finalize ()
 
SignalProxy< void()> sigSessionFinalized ()
 

Detailed Description

Deprecated:

Constructor & Destructor Documentation

◆ ArchiveSession()

ArchiveSession::ArchiveSession ( )

◆ ~ArchiveSession()

ArchiveSession::~ArchiveSession ( )
virtual

Member Function Documentation

◆ addReference()

bool ArchiveSession::addReference ( const Uuid uuid,
Referenced object,
bool  doUnreferenceImmediately = false 
)

◆ finalize()

bool ArchiveSession::finalize ( )

◆ initialize()

void ArchiveSession::initialize ( )

◆ putError()

void ArchiveSession::putError ( const std::string &  message)
virtual

◆ putWarning()

void ArchiveSession::putWarning ( const std::string &  message)
virtual

◆ resolvePendingReferences()

void ArchiveSession::resolvePendingReferences ( )

◆ resolveReference()

template<class ObjectType >
void cnoid::ArchiveSession::resolveReference ( const Uuid uuid,
std::function< bool(ObjectType *object, bool isImmediate)>  onResolved,
std::function< bool()>  onNotResolved = nullptr 
)
inline

◆ resolveReferenceLater()

template<class ObjectType >
void cnoid::ArchiveSession::resolveReferenceLater ( const Uuid uuid,
std::function< bool(ObjectType *object)>  onResolved,
std::function< bool()>  onNotResolved = nullptr 
)
inline

◆ sigSessionFinalized()

SignalProxy< void()> ArchiveSession::sigSessionFinalized ( )

The documentation for this class was generated from the following files: