NEURON
BBSDirect Class Reference

#include <bbsdirect.h>

Inheritance diagram for BBSDirect:
BBSImpl

Public Member Functions

 BBSDirect ()
 
 ~BBSDirect () override
 
bool look (const char *) override
 
void take (const char *) override
 
bool look_take (const char *) override
 
int upkint () override
 
double upkdouble () override
 
void upkvec (int, double *) override
 
char * upkstr () override
 
std::vector< char > upkpickle () override
 
void pkbegin () override
 
void pkint (int) override
 
void pkdouble (double) override
 
void pkvec (int, double *) override
 
void pkstr (const char *) override
 
void pkpickle (const std::vector< char > &) override
 
void post (const char *) override
 
void post_todo (int parentid) override
 
void post_result (int id) override
 
int look_take_result (int pid) override
 
int master_take_result (int pid) override
 
int look_take_todo () override
 
int take_todo () override
 
void save_args (int) override
 
void return_args (int) override
 
void context () override
 
void start () override
 
void done () override
 
void perror (const char *) override
 
- Public Member Functions inherited from BBSImpl
 BBSImpl ()
 
virtual ~BBSImpl ()=default
 
virtual void execute (int id)
 
virtual int submit (int userid)
 
virtual bool working (int &id, double &x, int &userid)
 
virtual void worker ()
 
virtual bool is_master ()
 
virtual double time ()
 

Private Attributes

KeepArgskeepargs_
 

Additional Inherited Members

- Public Attributes inherited from BBSImpl
int runworker_called_
 
int working_id_
 
int n_
 
double wait_time_
 
double integ_time_
 
double send_time_
 
std::vector< char > pickle_ret_
 
- Static Public Attributes inherited from BBSImpl
static bool is_master_ = false
 
static bool started_ = false
 
static bool done_ = false
 
static int mytid_
 
static int debug_ = 0
 
static bool master_works_ = true
 
- Protected Member Functions inherited from BBSImpl
std::vector< char > execute_helper (int id, bool exec=true)
 
void subworld_worker_execute ()
 

Detailed Description

Definition at line 17 of file bbsdirect.h.

Constructor & Destructor Documentation

◆ BBSDirect()

BBSDirect::BBSDirect ( )

◆ ~BBSDirect()

BBSDirect::~BBSDirect ( )
override

Member Function Documentation

◆ context()

void BBSDirect::context ( )
overridevirtual

Reimplemented from BBSImpl.

◆ done()

void BBSDirect::done ( )
overridevirtual

Reimplemented from BBSImpl.

◆ look()

bool BBSDirect::look ( const char *  )
overridevirtual

Implements BBSImpl.

◆ look_take()

bool BBSDirect::look_take ( const char *  )
overridevirtual

Implements BBSImpl.

◆ look_take_result()

int BBSDirect::look_take_result ( int  pid)
overridevirtual

Implements BBSImpl.

◆ look_take_todo()

int BBSDirect::look_take_todo ( )
overridevirtual

Implements BBSImpl.

◆ master_take_result()

int BBSDirect::master_take_result ( int  pid)
overridevirtual

Reimplemented from BBSImpl.

◆ perror()

void BBSDirect::perror ( const char *  )
overridevirtual

Reimplemented from BBSImpl.

◆ pkbegin()

void BBSDirect::pkbegin ( )
overridevirtual

Implements BBSImpl.

◆ pkdouble()

void BBSDirect::pkdouble ( double  )
overridevirtual

Implements BBSImpl.

◆ pkint()

void BBSDirect::pkint ( int  )
overridevirtual

Implements BBSImpl.

◆ pkpickle()

void BBSDirect::pkpickle ( const std::vector< char > &  )
overridevirtual

Implements BBSImpl.

◆ pkstr()

void BBSDirect::pkstr ( const char *  )
overridevirtual

Implements BBSImpl.

◆ pkvec()

void BBSDirect::pkvec ( int  ,
double *   
)
overridevirtual

Implements BBSImpl.

◆ post()

void BBSDirect::post ( const char *  )
overridevirtual

Implements BBSImpl.

◆ post_result()

void BBSDirect::post_result ( int  id)
overridevirtual

Implements BBSImpl.

◆ post_todo()

void BBSDirect::post_todo ( int  parentid)
overridevirtual

Implements BBSImpl.

◆ return_args()

void BBSDirect::return_args ( int  )
overridevirtual

Reimplemented from BBSImpl.

◆ save_args()

void BBSDirect::save_args ( int  )
overridevirtual

Implements BBSImpl.

◆ start()

void BBSDirect::start ( )
overridevirtual

Reimplemented from BBSImpl.

◆ take()

void BBSDirect::take ( const char *  )
overridevirtual

Implements BBSImpl.

◆ take_todo()

int BBSDirect::take_todo ( )
overridevirtual

Implements BBSImpl.

◆ upkdouble()

double BBSDirect::upkdouble ( )
overridevirtual

Implements BBSImpl.

◆ upkint()

int BBSDirect::upkint ( )
overridevirtual

Implements BBSImpl.

◆ upkpickle()

std::vector<char> BBSDirect::upkpickle ( )
overridevirtual

Implements BBSImpl.

◆ upkstr()

char* BBSDirect::upkstr ( )
overridevirtual

Implements BBSImpl.

◆ upkvec()

void BBSDirect::upkvec ( int  ,
double *   
)
overridevirtual

Implements BBSImpl.

Member Data Documentation

◆ keepargs_

KeepArgs* BBSDirect::keepargs_
private

Definition at line 59 of file bbsdirect.h.


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