SObjectizer  5.7
Public Member Functions | Private Attributes | List of all members
so_5::partially_constructed_agent_ptr_t Class Reference

Wrapper around a pointer to partially constructed agent. More...

#include <agent_tuning_options.hpp>

Public Member Functions

 partially_constructed_agent_ptr_t (agent_t *ptr)
 
agent_tptr () const noexcept
 

Private Attributes

agent_tm_ptr
 

Detailed Description

Wrapper around a pointer to partially constructed agent.

This type is used as indicator that a pointer to agent can be transferred or stored somewhere, but shouldn't be used because the agent isn't fully constructed yet.

Since
v.5.7.4
Examples:
so_5/custom_direct_mbox/main.cpp.

Constructor & Destructor Documentation

◆ partially_constructed_agent_ptr_t()

so_5::partially_constructed_agent_ptr_t::partially_constructed_agent_ptr_t ( agent_t ptr)
inlineexplicit

Member Function Documentation

◆ ptr()

agent_t* so_5::partially_constructed_agent_ptr_t::ptr ( ) const
inlinenoexcept

Member Data Documentation

◆ m_ptr

agent_t* so_5::partially_constructed_agent_ptr_t::m_ptr
private

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