PionNetworkLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pion::plugin::data_type Struct Reference

#include <plugin.hpp>

Collaboration diagram for pion::plugin::data_type:

Public Member Functions

 data_type (void)
 default constructors for convenience More...
 
 data_type (const std::string &plugin_name)
 
 data_type (const data_type &p)
 

Public Attributes

void * m_lib_handle
 symbol library loaded from a shared object file More...
 
void * m_create_func
 function used to create instances of the plug-in object More...
 
void * m_destroy_func
 function used to destroy instances of the plug-in object More...
 
std::string m_plugin_name
 the name of the plugin (must be unique per process) More...
 
unsigned long m_references
 number of references to this class More...
 

Detailed Description

data_type: object to hold shared library symbols

Constructor & Destructor Documentation

pion::plugin::data_type::data_type ( void  )
inline

default constructors for convenience

pion::plugin::data_type::data_type ( const std::string &  plugin_name)
inline
pion::plugin::data_type::data_type ( const data_type p)
inline

Member Data Documentation

void* pion::plugin::data_type::m_create_func

function used to create instances of the plug-in object

Referenced by pion::plugin::add_static_entry_point().

void* pion::plugin::data_type::m_destroy_func

function used to destroy instances of the plug-in object

Referenced by pion::plugin::add_static_entry_point().

void* pion::plugin::data_type::m_lib_handle

symbol library loaded from a shared object file

Referenced by pion::plugin::add_static_entry_point(), pion::plugin::get_all_plugin_names(), and pion::plugin::release_data().

std::string pion::plugin::data_type::m_plugin_name

the name of the plugin (must be unique per process)

Referenced by pion::plugin::get_all_plugin_names(), pion::plugin::open_file(), and pion::plugin::release_data().

unsigned long pion::plugin::data_type::m_references

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