VICI  0.11.815
Visual Chart Interpreter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
VICI::cfi::DiscoveryMgr Class Reference

Manager for discoverable objects. More...

#include <vici/discover.h>

Public Member Functions

void save (const char *prettyName, DiscoverSharedPointer p)
 Save a discoverable object. More...
 
void fetch (csr name, std::vector< void * > &results)
 Get a list of objects with a class name. More...
 

Static Public Member Functions

static DiscoveryMgrinstance ()
 Return a reference to the DiscoveryMgr.
 

Detailed Description

Manager for discoverable objects.

The manager keeps a list of discoverable objects and is responsible for supplying a list of objects given a class name.

Member Function Documentation

void DiscoveryMgr::fetch ( csr  name,
std::vector< void * > &  results 
)

Get a list of objects with a class name.

Parameters
nameThe class name to search for.
resultsA vector which is filled in with pointers to the objects.
void DiscoveryMgr::save ( const char *  prettyName,
DiscoverSharedPointer  p 
)

Save a discoverable object.

Parameters
prettyNameThe name of the constructor as provided by PRETTY_FUNCTION
pA shared pointer to the discoverable object.

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