vt::runtime::component::BaseComponent struct

The abstract BaseComponent for VT runtime component pack.

Base classes

struct Diagnostic
The abstract Diagnostic trait for outputting debugging state information generically across VT components.
struct Bufferable
The abstract Bufferable trait for delaying operations generically across VT components.
struct Progressable
The abstract Progressable trait for pollable components to make progress from the scheduler.

Derived classes

template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type
template<typename T>
struct Component
Component class for a generic VT runtime module, CRTP'ed over the component's actual type

Public types

template<typename... Deps>
struct RuntimeDepsPack
Set of component types that given component is dependent on to run, automatically includes the StartupDepsPck.
template<typename... Deps>
struct StartupDepsPack
Set of component types that given component is dependent on to start up (be constructed)

Constructors, destructors, conversion operators

~BaseComponent() virtual

Public functions

void initialize() pure virtual
Initialize the component. Invoked after the constructor fires during the startup sequence.
void finalize() pure virtual
Finalize the component. Invoked before the destructor fires during the shutdown sequence.
auto pollable() -> bool pure virtual
Returns whether the component should be polled by the scheduler.
void startup() pure virtual
Invoked after all components are constructed and the runtime is live.
void fatalError() virtual
Invoked if an fatal error occurs.
template<typename Serializer>
void serialize(] Serializer& s)

Function documentation

bool vt::runtime::component::BaseComponent::pollable() pure virtual

Returns whether the component should be polled by the scheduler.

Returns whether the component is pollable