struct
VirtualContextManager
Base classes
-
template<typename T>struct vt::runtime::component::Component<VirtualContextManager>
Component
class for a generic VT runtime module, CRTP'ed over the component's actual type
Public types
- using VirtualPtrType = std::unique_ptr<VirtualContext>
- using PendingRequestType = PendingRequest
- using VirtualInfoType = VirtualInfo
- using VirtualInfoPtrType = std::unique_ptr<VirtualInfoType>
- using ContainerType = std::unordered_map<VirtualIDType, VirtualInfoPtrType>
- using ContainerRemoteType = std::unordered_map<VirtualIDType, VirtualInfoPtrType>
- using PendingContainerType = std::unordered_map<VirtualRequestIDType, PendingRequest>
Constructors, destructors, conversion operators
Public functions
- auto name() -> std::string override
- Get the name of the component.
-
template<typename VrtContextT, typename... Args>auto makeVirtual(Args && ... args) -> VirtualProxyType
-
template<typename VrtContextT, typename... Args>auto makeVirtualNode(NodeType const& node, Args && ... args) -> VirtualProxyType
-
template<typename VrtContextT, mapping::auto makeVirtualMap(Args ... args) -> VirtualProxyType
ActiveSeedMapFnType fn, typename... Args> - auto getVirtualByProxy(VirtualProxyType const& proxy) -> VirtualContext*
- auto getVirtualInfoByProxy(VirtualProxyType const& proxy) -> VirtualInfoType*
- void destroyVirtualByProxy(VirtualProxyType const& proxy)
-
template<typename VcT, typename MsgT, ActiveVrtTypedFnType<MsgT, VcT>* f>auto sendMsg(VirtualProxyType const& toProxy, MsgT*const msg) -> messaging::
PendingSend -
template<typename VcT, typename MsgT, ActiveVrtTypedFnType<MsgT, VcT>* f>auto sendSerialMsg(VirtualProxyType const& toProxy, MsgT*const msg) -> messaging::
PendingSend -
template<typename SerializerT>void serialize(SerializerT& s)
-
template<typename VrtContextT, mapping::auto makeVirtualMap(Args... args) -> VirtualProxyType
ActiveSeedMapFnType fn, typename... Args>
Function documentation
template<typename VrtContextT, mapping:: ActiveSeedMapFnType fn, typename... Args>
VirtualProxyType vt:: vrt:: VirtualContextManager:: makeVirtualMap(Args... args)