OWL
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
owl::MissProg Struct Reference

#include <MissProg.h>

Inheritance diagram for owl::MissProg:
owl::SBTObject< MissProgType > owl::SBTObjectBase owl::RegisteredObject owl::ContextObject owl::Object

Public Types

typedef std::shared_ptr< MissProgSP
 
- Public Types inherited from owl::SBTObject< MissProgType >
typedef std::shared_ptr< SBTObjectSP
 
- Public Types inherited from owl::ContextObject
typedef std::shared_ptr< ContextObjectSP
 
- Public Types inherited from owl::Object
typedef std::shared_ptr< ObjectSP
 

Public Member Functions

 MissProg (Context *const context, MissProgType::SP type)
 
void writeSBTRecord (uint8_t *const sbtRecord, const DeviceContext::SP &device)
 
std::string toString () const override
 
- Public Member Functions inherited from owl::SBTObject< MissProgType >
 SBTObject (Context *const context, ObjectRegistry &registry, std::shared_ptr< MissProgType > type)
 
virtual std::string toString () const
 
- Public Member Functions inherited from owl::SBTObjectBase
 SBTObjectBase (Context *const context, ObjectRegistry &registry, std::shared_ptr< SBTObjectType > type)
 
bool hasVariable (const std::string &name)
 
Variable::SP getVariable (const std::string &name)
 
void writeVariables (uint8_t *sbtEntry, const DeviceContext::SP &device) const
 
- Public Member Functions inherited from owl::RegisteredObject
 RegisteredObject (Context *const context, ObjectRegistry &registry)
 
- Public Member Functions inherited from owl::ContextObject
 ContextObject (Context *const context)
 
std::string toString () const override
 
- Public Member Functions inherited from owl::Object
 Object ()
 
virtual std::string toString () const
 
virtual DeviceData::SP createOn (const std::shared_ptr< DeviceContext > &device)
 
void createDeviceData (const std::vector< std::shared_ptr< DeviceContext > > &devices)
 
template<typename T >
std::shared_ptr< T > as ()
 

Additional Inherited Members

- Public Attributes inherited from owl::SBTObject< MissProgType >
std::shared_ptr< MissProgType > const type
 
- Public Attributes inherited from owl::SBTObjectBase
std::shared_ptr< SBTObjectType > const type
 
const std::vector< Variable::SP > variables
 
- Public Attributes inherited from owl::RegisteredObject
int ID
 
ObjectRegistryregistry
 
- Public Attributes inherited from owl::ContextObject
Context *const context
 
- Public Attributes inherited from owl::Object
const size_t uniqueID
 
std::vector< DeviceData::SP > deviceData
 
- Static Public Attributes inherited from owl::Object
static std::atomic< uint64_t > nextAvailableID
 

Detailed Description

an actual instance of a miss program - defined by its type and variable values

Constructor & Destructor Documentation

◆ MissProg()

owl::MissProg::MissProg ( Context *const  context,
MissProgType::SP  type 
)

constructor

Member Function Documentation

◆ toString()

std::string owl::MissProg::toString ( ) const
overridevirtual

pretty-printer, for printf-debugging

Reimplemented from owl::SBTObject< MissProgType >.

◆ writeSBTRecord()

void owl::MissProg::writeSBTRecord ( uint8_t *const  sbtRecord,
const DeviceContext::SP &  device 
)

write the given SBT record, using the given device's corresponding device-side data represenataion


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